9

This message occur when I open an org file.

I've put this in my init file :

  (require 'package)
   (add-to-list 'package-archives
                '("melpa" . "https://melpa.org/packages/") t)
  (add-to-list 'package-archives
               '("elpa" .  "https://elpa.gnu.org/packages/" ) t)
  (add-to-list ' package-archives '("org" . "https://orgmode.org/elpa/") t)

Can anyone tell me specifically what I need to do to avoid this message?

2
  • Remove the last line.
    – mmmmmm
    Jan 10, 2022 at 10:17
  • That does not make any change. I made the message disappear removing a buggy package org-plus-??? which name I don't exactly remember.
    – gigiair
    Jan 10, 2022 at 11:23

2 Answers 2

5

you need to remove all "org-plus-contrib" references in your init file and replace them by "org-contrib".

4
  • org-contrib is unknown on my installation. I don't miss it.
    – gigiair
    Jan 11, 2022 at 9:49
  • 1
    Did you install it with package-list-packages function ?
    – Vincent
    Jan 11, 2022 at 22:22
  • It doesn't change anything. Jan 31, 2022 at 10:27
  • You also need to remove the old package (M-x package-delete RET org-plus-contrib). If you use use-package you can then restart emacs and it will install the new version (if you updated your emacs.el). Alternatively you can manually install the replacement org-contrib package.
    – Digicrat
    Jul 6 at 23:01
14

In my experience there are 4 step you may need to take to avoid this annoying message:

  1. Remove the org package source in your emacs config.

    Just remove the line (add-to-list ' package-archives '("org" . "https://orgmode.org/elpa/") t)

  2. Delete all org-* packages which status is installed in your M-x list-package.

    You can use / s installed to filter all the installed packages in list-package page. Careful, don't delete the org package which status is builtin, or you need to reinstall it later.

  3. Delete the package cache in elpa cache directory, the default location is ~/.emacs.d/elpa/. Delete all files started with org-*.

  4. If you are using native lisp compilation, delete the compiled caches, the default location is ~/.emacs.d/eln-cache/<your-emacs-version>/.

After the 4 step, restart your emacs, the message should disappeared.

Additionally, if your install you package using use-package you may want to pin the org package to your GNU source like follow, then use-package would try to download org package only from the GNU source.

(use-package org
  :pin gnu)
3
  • ~/.emacs.d/epla/ should be ~/.emacs.d/elpa/. Jan 31, 2022 at 19:44
  • You're a life saver, thank you!!! Feb 24, 2022 at 4:14
  • Step 2 - there are lots of org-* files. Should I delete all of them?
    – Vinn
    Mar 15 at 19:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.