Subject: bug#59652: 29.0.50; Error trying to delete `P': (error "Package `P' is used by `Q' as dependency, not deleting")

From: Michael Heerdegen <[email-masked]>
Date: Sat, 04 Feb 2023 21:40:54 +0100

Michael Heerdegen <[email-masked]> writes:

> | Error trying to delete `magit-section-20220929.1014': (error
> | "Package `magit-section-20220929.1014' is used by `magit' as
> | dependency, not deleting")
> | Error trying to delete `with-editor-20220810.1159': (error "Package
> | `with-editor-20220810.1159' is used by `git-commit' as dependency,
> | not deleting")

It seems that when this happens, after upgrading a package Emacs not
only removes the old version but also the new updated one, so that in
effect the package is removed.

Michael.