From: Boruch Baum <boruch_baum@gmx.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 44306@debbugs.gnu.org
Subject: bug#44306: package-delete exiting on encountering system/dependency packages
Date: Sat, 31 Oct 2020 22:35:00 -0400 [thread overview]
Message-ID: <20201101023500.q4cwjpggk3ttngfg@E15-2016.optimum.net> (raw)
In-Reply-To: <87sg9vhn7w.fsf@gnus.org>
On 2020-10-30 14:12, Lars Ingebrigtsen wrote:
> Boruch Baum <boruch_baum@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.
Exactly the point.
> I'm assuming that the package wasn't literally "foo" -- what package was
> it that it wanted to remove?
'session', the first item on the remaining list that I included. In my
case, each of those 12 packages is described as a 'system' package.
As a follow-up, I'm now noticing an additional related bug, which is
kind-of a resiliency issue. Let's say several versions of a package
accumulate, then what has happened in my case is that package-autoremove
only deletes the single most recent obsolete version. For example, in
examining my *Messages* buffer, I see that one run of the function
reported
Package ‘popup-20200610.317’ deleted.
A next run of the function reported
Package ‘popup-20200531.742’ deleted.
Finally, the most recent run of the function reported:
Package ‘popup-0.5.8’ is a system package, not deleting
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0
next prev parent reply other threads:[~2020-11-01 2:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2020-11-01 2:50 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201101023500.q4cwjpggk3ttngfg@E15-2016.optimum.net \
--to=boruch_baum@gmx.com \
--cc=44306@debbugs.gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.