[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#20863: closed (25.0.50; (package-install 'foo) cra

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#20863: closed (25.0.50; (package-install 'foo) crashes if foo is already installed)
Date: Mon, 12 Oct 2015 22:00:05 +0000

Your message dated Mon, 12 Oct 2015 22:59:33 +0100
with message-id <address@hidden>
and subject line Re: bug#20863: 25.0.50; (package-install 'foo) crashes if foo 
is already installed
has caused the debbugs.gnu.org bug report #20863,
regarding 25.0.50; (package-install 'foo) crashes if foo is already installed
to be marked as done.

(If you believe you have received this mail in error, please contact

20863: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20863
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 25.0.50; (package-install 'foo) crashes if foo is already installed Date: Sun, 21 Jun 2015 16:45:17 +0300
I'm trying to have these in my init file:

  (package-install 'markdown-mode)  ; and more calls like this.

Unfortunately, running package-install a second time with a package that
is already installed errors with
`Wrong type argument: arrayp, markdown-mode'.

This can be reproduced with `emacs -Q' by doing:

  M-x package-initialize
  M-: (package-install 'markdown-mode)
  M-: (package-install 'markdown-mode)

This is caused by the
  (message "`%s' is already installed" (package-desc-full-name pkg))
at the end of package-install, where `pkg' is a symbol, not a
package-desc struct.

(How come this didn't bother many people before?  Rerhaps because it's
hard to run package-install interactively with an already installed
package, it doesn't complete those.)

I can send a patch but I suppose it's faster for you to fix
than the copyright assignment dance...


In GNU Emacs (x86_64-pc-linux-gnu, GTK+ Version 3.14.13)
 of 2015-06-18 on lgw01-14
Windowing system distributor `The X.Org Foundation', version 11.0.11701000
System Description: Ubuntu 15.04

Configured using:
 `configure --build=x86_64-linux-gnu --prefix=/usr
 '--includedir=${prefix}/include' '--mandir=${prefix}/share/man'
 '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var
 '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode
 --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib
 --program-suffix=-snapshot --with-x=yes --with-x-toolkit=gtk3
 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat
 -Werror=format-security' CPPFLAGS=-D_FORTIFY_SOURCE=2
 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro''

Configured features:

Important settings:
  value of $LC_MONETARY: en_SG.UTF-8
  value of $LC_NUMERIC: en_SG.UTF-8
  value of $LC_TIME: en_SG.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Wrote /home/beni/.emacs.d/elpa/markchars-0.2.0/markchars.elc
Checking /home/beni/.emacs.d/elpa/markchars-0.2.0...
Done (Total of 1 file compiled, 2 skipped)
Quit [2 times]
Making completion list... [2 times]
Setting `package-selected-packages' temporarily since "emacs -q" would
overwrite customizations
Package `markchars-0.2.0' deleted.
Making completion list...
Package `markdown-mode+-20120829.510' deleted.
Making completion list...

Load-path shadows:
hides /usr/share/emacs/site-lisp/emacs-goodies-el/markdown-mode
/usr/share/emacs/site-lisp/dictionaries-common/flyspell hides
/usr/share/emacs/site-lisp/rst hides /usr/share/emacs/25.0.50/lisp/textmodes/rst
/usr/share/emacs/site-lisp/dictionaries-common/ispell hides
/usr/share/emacs/site-lisp/latex-cjk-thai/thai-word hides

(shadow sort mail-extr emacsbug sendmail warnings compile comint
ansi-color ring easy-mmode autoload lisp-mnt epg mm-archive message
dired format-spec rfc822 mml mml-sec mailabbrev gmm-utils mailheader
mm-decode mm-bodies mm-encode mail-utils network-stream nsm starttls
url-http tls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw
url-cache url-auth url url-proxy url-privacy url-expand url-methods
url-history url-cookie url-domsuf url-util mailcap url-handlers
url-parse auth-source cl-macs cl-seq eieio byte-opt gv bytecomp
byte-compile cl-extra seq cconv eieio-core gnus-util mm-util help-fns
mail-prsvr password-cache url-vars finder-inf help-mode debug cus-edit
easymenu cus-start cus-load wid-edit cl-loaddefs pcase cl-lib package
epg-config time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
slovak czech european ethiopic indian cyrillic chinese charscript
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote dbusbind gfilenotify
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 146371 12241)
 (symbols 48 24252 0)
 (miscs 40 556 187)
 (strings 32 33783 5060)
 (string-bytes 1 893538)
 (vectors 16 17116)
 (vector-slots 8 474836 9168)
 (floats 8 213 135)
 (intervals 56 334 0)
 (buffers 976 15)
 (heap 1024 41006 1167))

--- End Message ---
--- Begin Message --- Subject: Re: bug#20863: 25.0.50; (package-install 'foo) crashes if foo is already installed Date: Mon, 12 Oct 2015 22:59:33 +0100

Fixed by the same patch that fixed #21625.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]