I recently reinstalled emacs after some technical difficulties. I managed to keep some of my personal configuration files, which I believe may have caused an issue. As I went to install packages, I discovered that each non-installed package had a duplicate. I figure this is due to remnant from when I transferred my data over, but I am unsure as to exactly what.
1 Answers
each non-installed package had a duplicate
It's because you have multiple package repositories added to the package-archives
list. It is OK for a package to be present in multiple repositories, say GNU Elpa and Melpa.
The Archive column in the Package Menu buffer indicates the archive name like gnu (GNU Elpa), melpa (Melpa), marmalade (Marmalade). You, the user, can choose which version of the package to install.
Are you sure each non-installed package has a duplicate? Or is it many of them?
On another note, if you are re-installing emacs and you already have an emacs config, it might be a good idea to remove the ~/.emacs.d/elpa
directory (IF you maintain a list of all the packages you installed).
This step will get rid of all the duplicate package rows that appear with the obsolete tag (if any) that showed up in the Archive column in Package Menu buffer (M-x list-packages
).
See also:

- 25,651
- 4
- 80
- 183
elpa/
dir.. IMO deletingelpa/
and re-installing all packages should resolve the problem. – Kaushal Modi Nov 06 '15 at 03:47emacs -Q
session? Also what emacs version are you on? – Kaushal Modi Nov 06 '15 at 04:08C-h v package-archives
, do you see the same repository repeated twice by any chance. – Kaushal Modi Nov 06 '15 at 04:34package-archives
and restarting emacs should fix it. – Kaushal Modi Nov 06 '15 at 04:43