GNU bug report logs -
#44306
package-delete exiting on encountering system/dependency packages
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
When attempting to perform package-autoremove to clean up obsolete
packages, my emacs would abort with an error that `foo' is a system
package. Thus, it had become impossible to perform the operation. I
altered function package-delete to replace its two calls to function
`error' with simple `message' and can now clean up the packages.
I'm now left with function package-autoremove reporting:
12 packages will be deleted:
session, muttrc-mode, markdown-toc, htmlize, diminish, dictionary,
debian-el, csv-mode, browse-kill-ring, boxquote, bm, magit-popup,
proceed? (y or n) y
All of which are 'system' packages (at least in debian) so they won't
actually be deleted by my hack, but at least the other ~40 were finally
able to be removed.
I have reservations that this hack is a true and correct solution for
the bug because I don't know enough about the 'package package, but it
does seem to do the job...
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0
This bug report was last modified 4 years and 227 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.