Skip to main content
9 events
when toggle format what by license comment
Jul 2, 2015 at 18:46 comment added Malabarba @Cody Make sure you restart Emacs after moving the elpa directory. If that doesn't work, here are a couple more things. (1) Remove melpa from your package-archives and try again, just to check if that's really the cause. (2) If removing Melpa doesn't change anything, try removing Marmalade. (3) Issue M-x toggle-debug-on-quit, then hit C-g when emacs hangs again this will give you backtrace buffer you can post here.
Jul 2, 2015 at 18:41 comment added Cody yes the loading of the old package.el file is commented out. I will probably try moving the elpa directory and then refreshing the contents. All of my packages work I just can't refresh the contents.
Jul 2, 2015 at 18:39 comment added Malabarba @Cody Firstly, did you remove that (load ... "~/.emacs.d/elpa/package.el") from your init file? Also, since you're coming from a very old version, I recommend moving your whole elpa/ directory somewhere else and reinstall your packages from the package menu.
Jul 2, 2015 at 18:35 vote accept Cody
Jul 2, 2015 at 18:34 comment added Cody in the end I upgraded to emacs 24.5 but package-refresh-contents hangs on contacting host melpa.org:80 and I have (setq package-archives '(("gnu" . "elpa.gnu.org/packages/") ("marmalade" . "marmalade-repo.org/packages/") ("melpa" . "melpa.org/packages/"))) set in emacs. I'll accept your answer and probably post another question.
Jul 2, 2015 at 16:09 comment added Malabarba @Drew IIUC, he's using one of the initial versions of package.el (way before it was made part of emacs).
Jul 2, 2015 at 16:03 comment added Drew This code looks quite suspect: (load (concat pkg-dir ... "-pkg") nil t). OP: Is that code in your package.el version? Maybe the problem is the version of package.el? (package.el is not included with Emacs 22.)
Jul 2, 2015 at 15:58 comment added Drew +1 to the suggestion to upgrade past Emacs 22. That said, it's unfortunate that "it just stopped working once emacs 24 was ran once." That should not have happened, IMO.
Jul 2, 2015 at 13:26 history answered Malabarba CC BY-SA 3.0