reddit / emacs

org- mode elpa intall `Invalid function: org-assert-version`

Telefza · 2022-12-05 10:45
Ever since installing [org-roam](https://www.orgroam.com/) I am told to install the [elpa version of org](https://elpa.gnu.org/packages/org.html). My archives look like this: (setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/") ("melpa" . "https://melpa.org/packages/"))) And I pinned the version to `gnu` in `use-package` (use-package org :pin gnu) When I install the `org` from the package list I get the same error over and over again: Error: Invalid function: org-assert-version I have no clue what is going wrong here. thanks for reading. Edit: Emacs Version 27.1 on Debian Testing.
yantar92 · 2022-12-05 17:37
What is your Emacs version?
franburstall · 2022-12-05 17:56
This might help: https://www.reddit.com/r/emacs/comments/z7qulo/comment/iygt1xx/
franburstall · 2022-12-05 18:38
Here is what worked for me in the end: 1. Remove any org installation in in ~/.emacs.d/elpa. 2. fire emacs -Q and do an install-package org from there. 3. restart your usual emacs and everything is golden
thalesmg · 2022-12-05 23:03
This solved the issue for me as well, thanks!
Telefza · 2022-12-06 07:27
27.1
Telefza · 2022-12-06 08:00
This solved it for me. I did all the steps before but installing org package after starting `emacs -Q` instead of regular emacs did the trick.
dark-shadow · 2022-12-06 08:35
For me, package-reinstall achieved the same.
franburstall · 2022-12-06 18:27
Glad it worked! My thinking was to avoid any chance of the built-in `org` being loaded...