All I Did Was Click Bulk Download
Monday, 2 March, 2020
That Is Just Embarrassing
Tuesday, 25 February, 2020

Emacs refresh-package-contents

Posted
Updated
note #emacs #packages
Got a comment? A question? More of a comment than a question? Talk to me about this page on: mastodon

Tried adding Evil with use-package. Didn’t work.

Didn’t write the error message down, of course. Something about MELPA looking for a package version from two months ago and deciding the package was “Not Found”.

Eventually figured out I need to run package-refresh-contents, which grabs the latest package listings. Might be overkill to run that automatically in every Emacs session, so I won’t add it to my .emacs.

I will add a comment though.

;; Package not installing?
;;  Try 'M-x package-refresh-contents'

(require 'package)

Hopefully I remember to read my own comments.

Or the documentation.

Update

2020-04-29
john sj anderson wrote a post expanding on a suggestion to use advising functions.