Subject: Re: bug#20817: 25.0.50; Problems with upgrading of packages

From: Artur Malabarba <[email-masked]>
Date: Thu, 18 Jun 2015 16:07:15 +0100

Hm, that's pretty strange. There are two lines between the call to
package-install and the call to package-compute-transaction that look
like they shouldn't be there (at least, AFAICS).
Do you have an advice on any of these functions?

2015-06-18 15:21 GMT+01:00 Mark Karpov <[email-masked]>:
>
> Here's what I've got (copy-pasted «as is»):
>
> Debugger entered--Lisp error: (error "Package `([cl-struct-package-desc names (20150617 359) Namespaces for emacs-lisp. Avoid name clobbering without hiding symbols. ((emacs (24 1)) (cl-lib (0 5))) tar melpa nil ((:url . http://github.com/Bruce-Connor/names) (:keywords extensions lisp)) nil] dont-select)-' is unavailable")
>   signal(error ("Package `([cl-struct-package-desc names (20150617 359) Namespaces for emacs-lisp. Avoid name clobbering without hiding symbols. ((emacs (24 1)) (cl-lib (0 5))) tar melpa nil ((:url . http://github.com/Bruce-Connor/names) (:keywords extensions lisp)) nil] dont-select)-' is unavailable"))
>   error("Package `%s-%s' is unavailable" ([cl-struct-package-desc names (20150617 359) "Namespaces for emacs-lisp. Avoid name clobbering without hiding symbols." ((emacs (24 1)) (cl-lib (0 5))) tar "melpa" nil ((:url . "http://github.com/Bruce-Connor/names") (:keywords "extensions" "lisp")) nil] dont-select) "")
>   package-compute-transaction(nil ((([cl-struct-package-desc names (20150617 359) "Namespaces for emacs-lisp. Avoid name clobbering without hiding symbols." ((emacs (24 1)) (cl-lib (0 5))) tar "melpa" nil ((:url . "http://github.com/Bruce-Connor/names") (:keywords "extensions" "lisp")) nil] dont-select))))
>   #[513 "\302\303\304\"\210\305.!\203/. G\306Y\203/. \307H >\203/. \307H >\204).\310\311\312.D\"\210.\313H\2020. .\204@.\314.!\204@.\315.       B!\210\210\305.!\203w. G\306Y\203w. \307H >\203w.\316.!?\205}.\317.C.\307H >\204p.\310\311\312. D\"\210.\320H\"\202}.\317\321.CC\"\211\203\207.\322.!\202\215.\323\324\325.!\"\207" [cl-struct-package-desc-tags package-selected-packages add-hook post-command-hook package-menu--post-refresh vectorp 10 0 signal wrong-type-argument package-desc 1 package--user-selected-p package--save-selected-packages package-installed-p package-compute-transaction 4 nil package-download-transaction message "`%s' is already installed" package-desc-full-name] 8 ("/usr/local/share/emacs/25.0.50/lisp/emacs-lisp/package.elc" . 77294) (byte-code " \204 .\302\303!\210       \204. \304 \210\305\306\307\310\311\312\313     \"\"\311\303$!\311D\207" [package--initialized package-archive-contents package-initialize t package-refresh-contents intern completing-read "Install package: " delq nil mapcar #[257 "\300.@!?\205\f.\301.@!\207" [package-installed-p symbol-name] 3 "\n\n(fn ELT)"]] 8)](([cl-struct-package-desc names (20150617 359) "Namespaces for emacs-lisp. Avoid name clobbering without hiding symbols." ((emacs (24 1)) (cl-lib (0 5))) tar "melpa" nil ((:url . "http://github.com/Bruce-Connor/names") (:keywords "extensions" "lisp")) nil] dont-select) t)
>   apply(#[513 "\302\303\304\"\210\305.!\203/. G\306Y\203/. \307H >\203/. \307H >\204).\310\311\312.D\"\210.\313H\2020. .\204@.\314.!\204@.\315. B!\210\210\305.!\203w. G\306Y\203w. \307H >\203w.\316.!?\205}.\317.C.\307H >\204p.\310\311\312. D\"\210.\320H\"\202}.\317\321.CC\"\211\203\207.\322.!\202\215.\323\324\325.!\"\207" [cl-struct-package-desc-tags package-selected-packages add-hook post-command-hook package-menu--post-refresh vectorp 10 0 signal wrong-type-argument package-desc 1 package--user-selected-p package--save-selected-packages package-installed-p package-compute-transaction 4 nil package-download-transaction message "`%s' is already installed" package-desc-full-name] 8 ("/usr/local/share/emacs/25.0.50/lisp/emacs-lisp/package.elc" . 77294) (byte-code " \204 .\302\303!\210       \204. \304 \210\305\306\307\310\311\312\313     \"\"\311\303$!\311D\207" [package--initialized package-archive-contents package-initialize t package-refresh-contents intern completing-read "Install package: " delq nil mapcar #[257 "\300.@!?\205\f.\301.@!\207" [package-installed-p symbol-name] 3 "\n\n(fn ELT)"]] 8)] (([cl-struct-package-desc names (20150617 359) "Namespaces for emacs-lisp. Avoid name clobbering without hiding symbols." ((emacs (24 1)) (cl-lib (0 5))) tar "melpa" nil ((:url . "http://github.com/Bruce-Connor/names") (:keywords "extensions" "lisp")) nil] dont-select) t))
>   package-install([cl-struct-package-desc names (20150617 359) "Namespaces for emacs-lisp. Avoid name clobbering without hiding symbols." ((emacs (24 1)) (cl-lib (0 5))) tar "melpa" nil ((:url . "http://github.com/Bruce-Connor/names") (:keywords "extensions" "lisp")) nil] dont-select)
>   package-menu--perform-transaction(([cl-struct-package-desc names (20150617 359) "Namespaces for emacs-lisp. Avoid name clobbering without hiding symbols." ((emacs (24 1)) (cl-lib (0 5))) tar "melpa" nil ((:url . "http://github.com/Bruce-Connor/names") (:keywords "extensions" "lisp")) nil] [cl-struct-package-desc haskell-mode (20150618 309) "A Haskell editing mode" ((cl-lib (0 5))) tar "melpa" nil nil nil] [cl-struct-package-desc clojure-mode (20150614 1628) "Major mode for Clojure code" ((emacs (24 3))) single "melpa" nil ((:url . "http://github.com/clojure-emacs/clojure-mode") (:keywords "languages" "clojure" "clojurescript" "lisp")) nil] [cl-struct-package-desc cider (20150617 753) "Clojure Interactive Development Environment that Rocks" ((clojure-mode (4 0 0)) (dash (2 4 1)) (pkg-info (0 4)) (emacs (24 3)) (queue (0 1 1))) tar "melpa" nil ((:url . "http://www.github.com/clojure-emacs/cider") (:keywords "languages" "clojure" "cider")) nil] [cl-struct-package-desc avy (20150615 1048) "set-based completion" ((emacs (24 1)) (cl-lib (0 5))) single "melpa" nil ((:url . "https://github.com/abo-abo/avy") (:keywords "point" "location")) nil] [cl-struct-package-desc aggressive-indent (20150618 545) "Minor mode to aggressively keep your code always indented" ((emacs (24 1)) (names (20150125 9)) (cl-lib (0 5))) single "melpa" nil ((:url . "http://github.com/Malabarba/aggressive-indent-mode") (:keywords "indent" "lisp" "maint" "tools")) nil]) ([cl-struct-package-desc names (20150611 636) "Namespaces for emacs-lisp. Avoid name clobbering without hiding symbols." ((emacs (24 1)) (cl-lib (0 5))) nil nil "/home/mark/.emacs.d/elpa/names-20150611.636" ((:keywords "extensions" "lisp") (:url . "http://github.com/Bruce-Connor/names")) nil] [cl-struct-package-desc clojure-mode (20150611 1524) "Major mode for Clojure code" ((emacs (24 3))) nil nil "/home/mark/.emacs.d/elpa/clojure-mode-20150611.1524" ((:keywords "languages" "clojure" "clojurescript" "lisp") (:url . "http://github.com/clojure-emacs/clojure-mode")) nil] [cl-struct-package-desc haskell-mode (20150611 2343) "A Haskell editing mode" ((cl-lib (0 5))) nil nil "/home/mark/.emacs.d/elpa/haskell-mode-20150611.2343" nil nil] [cl-struct-package-desc cider (20150612 315) "Clojure Interactive Development Environment that Rocks" ((clojure-mode (4 0 0)) (dash (2 4 1)) (pkg-info (0 4)) (emacs (24 3)) (queue (0 1 1))) nil nil "/home/mark/.emacs.d/elpa/cider-20150612.315" ((:keywords "languages" "clojure" "cider") (:url . "http://www.github.com/clojure-emacs/cider")) nil] [cl-struct-package-desc avy (20150608 404) "set-based completion" ((emacs (24 1)) (cl-lib (0 5))) nil nil "/home/mark/.emacs.d/elpa/avy-20150608.404" ((:keywords "point" "location") (:url . "https://github.com/abo-abo/avy")) nil] [cl-struct-package-desc aggressive-indent (20150516 238) "Minor mode to aggressively keep your code always indented" ((emacs (24 1)) (names (20150125 9)) (cl-lib (0 5))) nil nil "/home/mark/.emacs.d/elpa/aggressive-indent-20150516.238" ((:keywords "indent" "lisp" "maint" "tools") (:url . "http://github.com/Malabarba/aggressive-indent-mode")) nil]))
>   package-menu-execute()
>   funcall-interactively(package-menu-execute)
>   #<subr call-interactively>(package-menu-execute nil nil)
>   ad-Advice-call-interactively(#<subr call-interactively> package-menu-execute nil nil)
>   apply(ad-Advice-call-interactively #<subr call-interactively> (package-menu-execute nil nil))
>   call-interactively(package-menu-execute nil nil)
>   command-execute(package-menu-execute)
>
> …and in *Messages*:
>
> Thursday, 18 June 2015
> Debug on Error enabled globally
> Importing package-keyring.gpg...done
> Package refresh done
> 6 packages can be upgraded; type `U' to mark them for upgrading.
> 6 packages marked for upgrading.
> Upgrade these 6 packages (aggressive-indent-20150516.238, avy-20150608.404, cider-20150612.315, haskell-mode-20150611.2343, clojure-mode-20150611.1524, names-20150611.636)? (y or n) y
> Package menu: Operation started [Upgrading 6]
> Entering debugger...
> previous-line: Beginning of buffer [4 times]