GNU bug report logs -
#20817
25.0.50; Problems with upgrading of packages
Previous Next
Reported by: Mark Karpov <markkarpov <at> openmailbox.org>
Date: Mon, 15 Jun 2015 11:59:02 UTC
Severity: normal
Found in version 25.0.50
Done: Artur Malabarba <bruce.connor.am <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
I have this advice, but I don't see how it can cause any problem:
(defun pkgi-filter-args (pkg &optional _dont-select)
"How to filter arguments of `package-install' command.
PKG is passed to the command, while DONT-SELECT is always T, so
one can select any packages only by manually adding them to
`package-selected-packages' variable."
(list pkg t))
(advice-add 'package-install :filter-args #'pkgi-filter-args)
Try to evaluate the code and I've posted previously plus these lines.
Note that I've tried to upgrade packages evaluating only code that I've
already posted (without the advice). It worked! Bad news are that I'm
now unable to test this behavior anymore until there are new versions of
some packages on MELPA (it's impossible to revert to older builds
AFAIK).
This bug report was last modified 9 years and 334 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.