Skip to content

Enabling evil mode throws error about goto-chg pkg missing from melpa #1418

Open
@kirk86

Description

Expected behavior

Hopping evil mode to enabled after adding require package and restarting emacs

Actual behavior

Error thrown about missing package

Debugger entered--Lisp error: (file-error "https://melpa.org/packages/goto-chg-20220107.1733...." "Not found")
  signal(file-error ("https://melpa.org/packages/goto-chg-20220107.1733...." "Not found"))
  package--with-response-buffer-1("https://melpa.org/packages/" #f(compiled-function () #<bytecode 0x15786e813c9d>) :file "goto-chg-20220107.1733.tar" :async nil :error-function #f(compiled-function () #<bytecode 0x15786d9b1b39>) :noerror nil)
  package-install-from-archive(#s(package-desc :name goto-chg :version (20220107 1733) :summary "Go to last change" :reqs ((emacs (24 1))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "278cd3e6d5107693aa2bb33189ca503f22f227d0") (:authors ("David Andersson <l.david.andersson(at)sverige.nu>")) (:maintainers ("Vasilij Schneidermann" . "mail@vasilij.de")) (:maintainer "Vasilij Schneidermann" . "mail@vasilij.de") (:keywords "convenience" "matching") (:url . "https://github.com/emacs-evil/goto-chg")) :signed nil))
  mapc(package-install-from-archive (#s(package-desc :name goto-chg :version (20220107 1733) :summary "Go to last change" :reqs ((emacs (24 1))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "278cd3e6d5107693aa2bb33189ca503f22f227d0") (:authors ("David Andersson <l.david.andersson(at)sverige.nu>")) (:maintainers ("Vasilij Schneidermann" . "mail@vasilij.de")) (:maintainer "Vasilij Schneidermann" . "mail@vasilij.de") (:keywords "convenience" "matching") (:url . "https://github.com/emacs-evil/goto-chg")) :signed nil) #s(package-desc :name evil :version (20240128 957) :summary "Extensible Vi layer for Emacs." :reqs ((emacs (24 1)) (goto-chg (1 6)) (cl-lib (0 5))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "5995f6f21f662484440ed67a28ce59e365feb9ad") (:maintainer "Tom Dalziel" . "tom.dalziel@gmail.com") (:keywords "emulations") (:url . "https://github.com/emacs-evil/evil")) :signed nil)))
  package-download-transaction((#s(package-desc :name goto-chg :version (20220107 1733) :summary "Go to last change" :reqs ((emacs (24 1))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "278cd3e6d5107693aa2bb33189ca503f22f227d0") (:authors ("David Andersson <l.david.andersson(at)sverige.nu>")) (:maintainers ("Vasilij Schneidermann" . "mail@vasilij.de")) (:maintainer "Vasilij Schneidermann" . "mail@vasilij.de") (:keywords "convenience" "matching") (:url . "https://github.com/emacs-evil/goto-chg")) :signed nil) #s(package-desc :name evil :version (20240128 957) :summary "Extensible Vi layer for Emacs." :reqs ((emacs (24 1)) (goto-chg (1 6)) (cl-lib (0 5))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "5995f6f21f662484440ed67a28ce59e365feb9ad") (:maintainer "Tom Dalziel" . "tom.dalziel@gmail.com") (:keywords "emulations") (:url . "https://github.com/emacs-evil/evil")) :signed nil)))
  package-install(evil)
  (if (package-installed-p package) nil (package-install package))
  prelude-require-package(evil)
  mapc(prelude-require-package (evil goto-chg evil-surround evil-visualstar evil-numbers))
  prelude-require-packages((evil goto-chg evil-surround evil-visualstar evil-numbers))
  eval-buffer(#<buffer  *load*-558434> nil "/idiap/home/imitro/.emacs.d/modules/prelude-evil.e..." nil t)  ; Reading at buffer position 1361
  load-with-code-conversion("/idiap/home/imitro/.emacs.d/modules/prelude-evil.e..." "/idiap/home/imitro/.emacs.d/modules/prelude-evil.e..." nil t)
  require(prelude-evil)
  eval-buffer(#<buffer  *load*-725868> nil "/idiap/home/imitro/.emacs.d/sample/prelude-modules..." nil t)  ; Reading at buffer position 2088
  load-with-code-conversion("/idiap/home/imitro/.emacs.d/sample/prelude-modules..." "/idiap/home/imitro/.emacs.d/sample/prelude-modules..." nil nil)
  load("/idiap/home/imitro/.emacs.d/sample/prelude-modules...")
  (if (file-exists-p prelude-modules-file) (load prelude-modules-file) (message "[Prelude] Missing personal modules file %s" prelude-modules-file) (message "[Prelude] Falling back to the bundled example file...") (message "[Prelude] You should copy this file to your person...") (load (expand-file-name "sample/prelude-modules.el" prelude-dir)))
  eval-buffer(#<buffer  *load*> nil "/idiap/home/imitro/.emacs.d/init.el" nil t)  ; Reading at buffer position 5695
  load-with-code-conversion("/idiap/home/imitro/.emacs.d/init.el" "/idiap/home/imitro/.emacs.d/init.el" t t)
  load("/idiap/home/imitro/.emacs.d/init" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode 0x15786da61a5d>) #f(compiled-function () #<bytecode 0x15786db351dd>) t)
  command-line()
  normal-top-level()

Steps to reproduce the problem

Edit the the file emacs.d/sample/prelude-modules.el and uncomment line 55 (require 'prelude-evil)

Environment & Version information

Emacs version

27.1

Operating system

Debian 11

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions