GNU bug report logs - #44306
package-delete exiting on encountering system/dependency packages

Previous Next

Package: emacs;

Reported by: Boruch Baum <boruch_baum <at> gmx.com>

Date: Thu, 29 Oct 2020 12:53:01 UTC

Severity: normal

Full log


Message #11 received at 44306 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>, Boruch Baum <boruch_baum <at> gmx.com>
Cc: 44306 <at> debbugs.gnu.org
Subject: Re: bug#44306: package-delete exiting on encountering
 system/dependency packages
Date: Fri, 30 Oct 2020 13:34:55 +0000
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Boruch Baum <boruch_baum <at> gmx.com> writes:
>
>> 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.
>
> It kinda sounds like there something wrong in what package-autoremove is
> trying to delete.

Indeed.  The question is why these packages are considered for removal
at all.

If we can avoid doing that, the error "Package `%s' is used by `%s' as
dependency, not deleting" seems correct to me - it will catch bugs.




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.