Emacs cannot find a package to install
I got this error while trying to install the Emacs package automatically.
Warning (initialization): An error occurred while loading `/Users/username/.emacs.d/init.el':
File error: http://melpa.org/packages/projectile-20150619.800.el, Not found
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.
+3
source to share
3 answers
You need to update the ELPA package archives with first first M-x package-refresh-contents, as yours is outdated so the package manager cannot download the package for you.
You can also install packages from the Package Menu (enter via M-x list-packages), the update will be done automatically.
+3
source to share
And here is my solution:
-
Open your browser and type: http://melpa.org/
-
Search package name: 'projectile'
-
Then download and extract the package to ~ / .emacs.d / elpa
+2
source to share
If you are using ubuntu you can also just use apt-get install elpa-projectile
as described in the documentation .
0
source to share