3

I want to install the package running:

M-x package-install RET markdown-mode RET

And I get the following error

package-install-from-archive: https://melpa.org/packages/markdown-mode-20180904.1601.el: Not found

Which is true, since doing via Firefox I get 404 error.

I have the following version of Emacs:

GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK + Version 3.22.30)
  of 2018-07-05

How can I install it?

2
  • 1
    try package-refresh-contents then package-install as I see version: 20181112.1529 in my refreshed buffer... Nov 21, 2018 at 22:46
  • 1
    Thank you. I followed your instructions and it worked correctly. I was able to install the package I needed. Nov 22, 2018 at 0:01

1 Answer 1

3

It's trying to download an older version of the package. Emacs keeps a cache the list of available package versions on every command, to save time and bandwidth. It refreshes the list when you open the package list with M-x list-packages or when you press r (package-menu-refresh) on the list. If you use M-x package-install directly, you may need to refresh the list manually with M-x package-refresh-contents before calling package-install.

0

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.