all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#44306: package-delete exiting on encountering system/dependency packages
@ 2020-10-29 12:52 Boruch Baum
  2020-10-30 13:12 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Boruch Baum @ 2020-10-29 12:52 UTC (permalink / raw
  To: 44306

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





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-11-01 14:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-29 12:52 bug#44306: package-delete exiting on encountering system/dependency packages Boruch Baum
2020-10-30 13:12 ` Lars Ingebrigtsen
2020-10-30 13:34   ` Stefan Kangas
2020-11-01  2:48     ` Boruch Baum
2020-11-01 12:44       ` Lars Ingebrigtsen
2020-11-01 14:33         ` Boruch Baum
2020-11-01  2:35   ` Boruch Baum
2020-11-01  2:50     ` Stefan Kangas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.