error "Package `flymake-mode-0.4.6' is unavailable #63

Closed
cofol1986 opened this Issue Mar 2, 2013 · 3 comments

Comments

Projects
None yet
2 participants

Hi, I got the error when using your config, can you help me to debug it?
my emacs ver: emacs 24.2, compile by myself.
system info: Ubuntu 8.04LTS
I run the command: "emacs --debug-init" and the result is as follows:

Debugger entered--Lisp error: (error "Package flymake-mode-0.4.6' is unavailable") signal(error ("Packageflymake-mode-0.4.6' is unavailable"))
error("Package `%s-%s' is unavailable" "flymake-mode" "0.4.6")
package-compute-transaction((erlang) ((flymake-mode (0 4 6))))
package-install(erlang)
(if (or (assoc package package-archive-contents) no-refresh) (package-install package) (progn (package-refresh-contents) (require-package package min-version t)))
(if (package-installed-p package min-version) t (if (or (assoc package package-archive-contents) no-refresh) (package-install package) (progn (package-refresh-contents) (require-package package min-version t))))
require-package(erlang)
eval-buffer(#<buffer load<2>> nil "/home/tim/.emacs.d/init-elpa.el" nil t) ; Reading at buffer position 5118
load-with-code-conversion("/home/tim/.emacs.d/init-elpa.el" "/home/tim/.emacs.d/init-elpa.el" nil t)
require(init-elpa)
eval-buffer(#<buffer load> nil "/home/tim/.emacs.d/init.el" nil t) ; Reading at buffer position 946
load-with-code-conversion("/home/tim/.emacs.d/init.el" "/home/tim/.emacs.d/init.el" t t)
load("/home/tim/.emacs.d/init" t t)

Owner

purcell commented Mar 2, 2013

Hi! - this is a known problem (see milkypostman/melpa#560).

I'll see if I can commit a workaround, but in the meantime, you can do the following to get going:

  1. In init-elpa.el, comment out the line (require-package 'erlang)
  2. In init.el, comment out the line (require 'init-erlang)

-Steve

Owner

purcell commented Mar 2, 2013

Also, I've filed a patch upstream with the erlang guys, where the problem originated. :-)

-Steve

Thanks Steve, the workaround works.

@cofol1986 cofol1986 closed this Mar 3, 2013

qioixiy pushed a commit to qioixiy/emacs.d that referenced this issue Aug 5, 2017

Add macrostep compat
* lispy.el (lispy-compat): Amend.
(macrostep-keymap): Declare.
(lispy--edebug-commandp): New defvar.
(lispy--insert-or-call): Update.

Note that `lispy-compat' has to be set to e.g. '(edebug macrostep)
before lispy is loaded. This is doable either through customize or
manually.

Fixes #63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment