GNU bug report logs -
#18790
24.4; package-install no longer allows interactive updating
Previous Next
Reported by: Nic Ferrier <nferrier <at> ferrier.me.uk>
Date: Wed, 22 Oct 2014 09:40:01 UTC
Severity: minor
Tags: confirmed
Merged with 44830
Found in version 24.4
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
M-x package-install [RET] existing-package [TAB]
used to allow you to upgrade a package without using the slightly
cumbersome package list.
The interactive form now filters the package list for installed
packages:
(interactive
(progn
;; Initialize the package system to get the list of package
;; symbols for completion.
(unless package--initialized
(package-initialize t))
(unless package-archive-contents
(package-refresh-contents))
(list (intern (completing-read
"Install package: "
(delq nil
(mapcar (lambda (elt)
(unless (package-installed-p (car elt))
(symbol-name (car elt))))
package-archive-contents))
nil t)))))
There isn't a simple equivalent of doing the same thing, say:
M-x package-upgrade-existing-package
I don't know if this was deliberate or a mistake, it's always useful
being able to do something quickly with a command line when you know
what you're doing.
This bug report was last modified 3 years and 15 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.