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

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Mon, 28 Nov 2022 10:18:01 UTC

Severity: normal

Found in version 29.0.50

Done: Michael Heerdegen <michael_heerdegen <at> web.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59652 in the body.
You can then email your comments to 59652 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#59652; Package emacs. (Mon, 28 Nov 2022 10:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 28 Nov 2022 10:18:02 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; Error trying to delete `P': (error "Package `P' is used by
 `Q' as dependency, not deleting")
Date: Mon, 28 Nov 2022 11:16:53 +0100
Hello,

since around approx. 10 or 20 days, whenever I do U in M-x
package-list-packages (and I did not change anything in my setup) I
often get errors like

| 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")

Real errors.  I only do U and x.

These errors seem to leave the packages in an inconsistent state.  This
time it had been very bad: the emacs instance where I worked was not
usable any more, any input was ignored or caused strange errors, no
window seemed to be selected any more (only hollow cursors).

Other instances did not start any more because my init file depended on
something obviously not installed any more.  M-x
package-list-packages started but I did not know what was missing so I
had to restore ~/.emacs.d/elpa/ from a backup.


BTW, while checking for existing bugs about this problem I got

| soap-invoke-internal: SOAP error: "soap:Server", "can't get http://localhost:1978/node/bts/search: 500 Can't connect to localhost:1978 at /usr/share/perl5/Debbugs/SOAP.pm line 444.

when trying to use debbugs-gnu-search.

TIA,

Michael.






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59652; Package emacs. (Mon, 09 Jan 2023 16:05:02 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 59652 <at> debbugs.gnu.org
Subject: Re: bug#59652: 29.0.50; Error trying to delete `P': (error "Package
 `P' is used by `Q' as dependency, not deleting")
Date: Mon, 09 Jan 2023 17:04:16 +0100
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> since around approx. 10 or 20 days, whenever I do U in M-x
> package-list-packages (and I did not change anything in my setup) I
> often get errors like
>
> | 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")
>
> Real errors.  I only do U and x.

This still happens all the time with different packages.  In most cases I
have to fix manually by restarting the package manager and
reinstall inadvertently removed dependencies.

I don't believe this is a pilot error.  I did not configure package.el
more than setting `package-archives' (adding melpa).


Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59652; Package emacs. (Sat, 14 Jan 2023 13:08:02 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 59652 <at> debbugs.gnu.org
Subject: Re: bug#59652: 29.0.50; Error trying to delete `P': (error "Package
 `P' is used by `Q' as dependency, not deleting")
Date: Sat, 14 Jan 2023 14:07:45 +0100
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> I don't believe this is a pilot error.  I did not configure package.el
> more than setting `package-archives' (adding melpa).

I discovered that I had commented out the (package-initialize) call in
my configuration for debugging purposes or whatever, I don't remember.
Maybe that was the culprit, maybe not, I don't yet know.

Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59652; Package emacs. (Wed, 18 Jan 2023 15:04:02 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 59652 <at> debbugs.gnu.org
Subject: Re: bug#59652: 29.0.50; Error trying to delete `P': (error "Package
 `P' is used by `Q' as dependency, not deleting")
Date: Wed, 18 Jan 2023 16:03:51 +0100
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> I discovered that I had commented out the (package-initialize) call in
> my configuration for debugging purposes or whatever, I don't remember.
> Maybe that was the culprit, maybe not, I don't yet know.

No, after some more updates I can say that this was not the cause of
this issue.

Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59652; Package emacs. (Wed, 25 Jan 2023 23:19:02 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 59652 <at> debbugs.gnu.org
Subject: Re: bug#59652: 29.0.50; Error trying to delete `P': (error "Package
 `P' is used by `Q' as dependency, not deleting")
Date: Thu, 26 Jan 2023 00:17:51 +0100
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> I don't believe this is a pilot error.  I did not configure package.el
> more than setting `package-archives' (adding melpa).

Wait - one more candidate is "async.el": async-bytecomp.el changes
package compilation and also seems to handle dependencies by itself.

I'm continuously observing the behavior, now with disabled async.el
stuff.

Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59652; Package emacs. (Sun, 29 Jan 2023 15:26:01 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 59652 <at> debbugs.gnu.org
Subject: Re: bug#59652: 29.0.50; Error trying to delete `P': (error "Package
 `P' is used by `Q' as dependency, not deleting")
Date: Sun, 29 Jan 2023 16:24:59 +0100
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> I'm continuously observing the behavior, now with disabled async.el
> stuff.

No, the issue is still there.  I think there is really a problem in the
package manager itself.

Michael.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59652; Package emacs. (Sat, 04 Feb 2023 20:42:02 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 59652 <at> debbugs.gnu.org
Subject: Re: bug#59652: 29.0.50; Error trying to delete `P': (error "Package
 `P' is used by `Q' as dependency, not deleting")
Date: Sat, 04 Feb 2023 21:40:54 +0100
Michael Heerdegen <michael_heerdegen <at> web.de> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#59652; Package emacs. (Sat, 18 Feb 2023 06:50:01 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 59652 <at> debbugs.gnu.org
Subject: Re: bug#59652: 29.0.50; Error trying to delete `P': (error "Package
 `P' is used by `Q' as dependency, not deleting")
Date: Sat, 18 Feb 2023 07:49:01 +0100
Michael Heerdegen <michael_heerdegen <at> web.de> 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")

There seems to be a problem with the status of the old package versions
that need to be deleted.

For example, today I had four upgradable packages: helm, helm-core,
magit, and async.  I hit U and x and got:

| Package `async' installed.
| Package `helm-20230210.1800' deleted.
| Error trying to delete `helm-core-20230210.1955': (error "Package `helm-core-20230210.1955' is used by `helm-git-grep' as dependency, not deleting")
| Package `magit-20230215.1054' deleted.
| Package `async-20230130.1815' deleted.

Here are the respective calls to `package-desc-status':

| 1 -> (package-desc-status #s(package-desc :name helm :version ... :summary "Helm is an Emacs increment..." :reqs ... :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/..." :extras ... :signed nil)) 07:21:16.708
|   (package--used-elsewhere-p #s(package-desc :name helm :version (20230210 1800) :summary "Helm is an Emacs incremental and narrowing framewo..." :reqs ((helm-core (3 9 0)) (popup (0 5 3))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/helm-20230210.1800" :extras ((:url . "https://emacs-helm.github.io/helm/") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:commit . "ccd9c41cdbfa2a0e3c4860d141cd0b7c44d0054e")) :signed nil))
|   (package-delete #s(package-desc :name helm :version (20230210 1800) :summary "Helm is an Emacs incremental and narrowing framewo..." :reqs ((helm-core (3 9 0)) (popup (0 5 3))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/helm-20230210.1800" :extras ((:url . "https://emacs-helm.github.io/helm/") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:commit . "ccd9c41cdbfa2a0e3c4860d141cd0b7c44d0054e")) :signed nil) nil nosave)
|   (package-menu--perform-transaction (#s(package-desc :name magit :version (20230217 2343) :summary "A Git porcelain inside Emacs." :reqs ((emacs (25 1)) (compat (29 1 3 4)) (dash (20221013)) (git-commit (20230101)) (magit-section (20230101)) (transient (20230201)) (with-editor (20230118))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "2c91c080a8e2f35e3b036a2f6b8011fa897d23a1") (:authors ("Marius Vollmer" . "marius.vollmer <at> gmail.com") ("Jonas Bernoulli" . "jonas <at> bernoul.li")) (:maintainer "Jonas Bernoulli" . "jonas <at> bernoul.li") (:keywords "git" "tools" "vc") (:url . "https://github.com/magit/magit")) :signed nil) #s(package-desc :name helm-core :version (20230217 602) :summary "Development files for Helm" :reqs ((emacs (25 1)) (async (1 9 7))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "dfd6403947c5cd9f32afcd6bc92a1756cc958c82") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:url . "https://emacs-helm.github.io/helm/")) :signed nil) #s(package-desc :name helm :version (20230216 1255) :summary "Helm is an Emacs incremental and narrowing framewo..." :reqs ((helm-core (3 9 0)) (popup (0 5 3))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "df927fae1f0a17c5c540429b010b4639ae89fa65") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:url . "https://emacs-helm.github.io/helm/")) :signed nil) #s(package-desc :name async :version (20230216 559) :summary "Asynchronous processing in Emacs" :reqs ((emacs (24 4))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "71cc50f27ffc598a89aeaa593488d87818647d02") (:authors ("John Wiegley" . "jwiegley <at> gmail.com")) (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:keywords "async") (:url . "https://github.com/jwiegley/emacs-async")) :signed nil)) (#s(package-desc :name async :version (20230130 1815) :summary "Asynchronous processing in Emacs" :reqs ((emacs (24 4))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/async-20230130.1815" :extras ((:url . "https://github.com/jwiegley/emacs-async") (:keywords "async") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("John Wiegley" . "jwiegley <at> gmail.com")) (:commit . "d27b65fd453586b2fa87f8124a65da0d4fdb268e")) :signed nil) #s(package-desc :name magit :version (20230215 1054) :summary "A Git porcelain inside Emacs." :reqs ((emacs (25 1)) (compat (29 1 3 4)) (dash (20221013)) (git-commit (20230101)) (magit-section (20230101)) (transient (20230201)) (with-editor (20230118))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/magit-20230215.1054" :extras ((:url . "https://github.com/magit/magit") (:keywords "git" "tools" "vc") (:maintainer "Jonas Bernoulli" . "jonas <at> bernoul.li") (:authors ("Marius Vollmer" . "marius.vollmer <at> gmail.com") ("Jonas Bernoulli" . "jonas <at> bernoul.li")) (:commit . "30b0debaaadadec6103a8d7eab92322fd9d30a15")) :signed nil) #s(package-desc :name helm-core :version (20230210 1955) :summary "Development files for Helm" :reqs ((emacs (25 1)) (async (1 9 7))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/helm-core-20230210.1955" :extras ((:url . "https://emacs-helm.github.io/helm/") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:commit . "99d0244277f87b23944a828c5565d729b339d882")) :signed nil) #s(package-desc :name helm :version (20230210 1800) :summary "Helm is an Emacs incremental and narrowing framewo..." :reqs ((helm-core (3 9 0)) (popup (0 5 3))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/helm-20230210.1800" :extras ((:url . "https://emacs-helm.github.io/helm/") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:commit . "ccd9c41cdbfa2a0e3c4860d141cd0b7c44d0054e")) :signed nil)))
|   (package-menu-execute)
|   (command-execute package-menu-execute)
| 1 <- package-desc-status: "obsolete"
| 1 -> (package-desc-status #s(package-desc :name helm-core :version ... :summary "Development files for Helm" :reqs ... :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/..." :extras ... :signed nil)) 07:21:17.318
|   (package--used-elsewhere-p #s(package-desc :name helm-core :version (20230210 1955) :summary "Development files for Helm" :reqs ((emacs (25 1)) (async (1 9 7))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/helm-core-20230210.1955" :extras ((:url . "https://emacs-helm.github.io/helm/") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:commit . "99d0244277f87b23944a828c5565d729b339d882")) :signed nil))
|   (package-delete #s(package-desc :name helm-core :version (20230210 1955) :summary "Development files for Helm" :reqs ((emacs (25 1)) (async (1 9 7))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/helm-core-20230210.1955" :extras ((:url . "https://emacs-helm.github.io/helm/") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:commit . "99d0244277f87b23944a828c5565d729b339d882")) :signed nil) nil nosave)
|   (package-menu--perform-transaction (#s(package-desc :name magit :version (20230217 2343) :summary "A Git porcelain inside Emacs." :reqs ((emacs (25 1)) (compat (29 1 3 4)) (dash (20221013)) (git-commit (20230101)) (magit-section (20230101)) (transient (20230201)) (with-editor (20230118))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "2c91c080a8e2f35e3b036a2f6b8011fa897d23a1") (:authors ("Marius Vollmer" . "marius.vollmer <at> gmail.com") ("Jonas Bernoulli" . "jonas <at> bernoul.li")) (:maintainer "Jonas Bernoulli" . "jonas <at> bernoul.li") (:keywords "git" "tools" "vc") (:url . "https://github.com/magit/magit")) :signed nil) #s(package-desc :name helm-core :version (20230217 602) :summary "Development files for Helm" :reqs ((emacs (25 1)) (async (1 9 7))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "dfd6403947c5cd9f32afcd6bc92a1756cc958c82") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:url . "https://emacs-helm.github.io/helm/")) :signed nil) #s(package-desc :name helm :version (20230216 1255) :summary "Helm is an Emacs incremental and narrowing framewo..." :reqs ((helm-core (3 9 0)) (popup (0 5 3))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "df927fae1f0a17c5c540429b010b4639ae89fa65") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:url . "https://emacs-helm.github.io/helm/")) :signed nil) #s(package-desc :name async :version (20230216 559) :summary "Asynchronous processing in Emacs" :reqs ((emacs (24 4))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "71cc50f27ffc598a89aeaa593488d87818647d02") (:authors ("John Wiegley" . "jwiegley <at> gmail.com")) (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:keywords "async") (:url . "https://github.com/jwiegley/emacs-async")) :signed nil)) (#s(package-desc :name async :version (20230130 1815) :summary "Asynchronous processing in Emacs" :reqs ((emacs (24 4))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/async-20230130.1815" :extras ((:url . "https://github.com/jwiegley/emacs-async") (:keywords "async") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("John Wiegley" . "jwiegley <at> gmail.com")) (:commit . "d27b65fd453586b2fa87f8124a65da0d4fdb268e")) :signed nil) #s(package-desc :name magit :version (20230215 1054) :summary "A Git porcelain inside Emacs." :reqs ((emacs (25 1)) (compat (29 1 3 4)) (dash (20221013)) (git-commit (20230101)) (magit-section (20230101)) (transient (20230201)) (with-editor (20230118))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/magit-20230215.1054" :extras ((:url . "https://github.com/magit/magit") (:keywords "git" "tools" "vc") (:maintainer "Jonas Bernoulli" . "jonas <at> bernoul.li") (:authors ("Marius Vollmer" . "marius.vollmer <at> gmail.com") ("Jonas Bernoulli" . "jonas <at> bernoul.li")) (:commit . "30b0debaaadadec6103a8d7eab92322fd9d30a15")) :signed nil) #s(package-desc :name helm-core :version (20230210 1955) :summary "Development files for Helm" :reqs ((emacs (25 1)) (async (1 9 7))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/helm-core-20230210.1955" :extras ((:url . "https://emacs-helm.github.io/helm/") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:commit . "99d0244277f87b23944a828c5565d729b339d882")) :signed nil) #s(package-desc :name helm :version (20230210 1800) :summary "Helm is an Emacs incremental and narrowing framewo..." :reqs ((helm-core (3 9 0)) (popup (0 5 3))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/helm-20230210.1800" :extras ((:url . "https://emacs-helm.github.io/helm/") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:commit . "ccd9c41cdbfa2a0e3c4860d141cd0b7c44d0054e")) :signed nil)))
|   (package-menu-execute)
|   (command-execute package-menu-execute)
| 1 <- package-desc-status: "installed"
| 1 -> (package-desc-status #s(package-desc :name magit :version ... :summary "A Git porcelain inside Ema..." :reqs ... :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/..." :extras ... :signed nil)) 07:21:17.434
|   (package--used-elsewhere-p #s(package-desc :name magit :version (20230215 1054) :summary "A Git porcelain inside Emacs." :reqs ((emacs (25 1)) (compat (29 1 3 4)) (dash (20221013)) (git-commit (20230101)) (magit-section (20230101)) (transient (20230201)) (with-editor (20230118))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/magit-20230215.1054" :extras ((:url . "https://github.com/magit/magit") (:keywords "git" "tools" "vc") (:maintainer "Jonas Bernoulli" . "jonas <at> bernoul.li") (:authors ("Marius Vollmer" . "marius.vollmer <at> gmail.com") ("Jonas Bernoulli" . "jonas <at> bernoul.li")) (:commit . "30b0debaaadadec6103a8d7eab92322fd9d30a15")) :signed nil))
|   (package-delete #s(package-desc :name magit :version (20230215 1054) :summary "A Git porcelain inside Emacs." :reqs ((emacs (25 1)) (compat (29 1 3 4)) (dash (20221013)) (git-commit (20230101)) (magit-section (20230101)) (transient (20230201)) (with-editor (20230118))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/magit-20230215.1054" :extras ((:url . "https://github.com/magit/magit") (:keywords "git" "tools" "vc") (:maintainer "Jonas Bernoulli" . "jonas <at> bernoul.li") (:authors ("Marius Vollmer" . "marius.vollmer <at> gmail.com") ("Jonas Bernoulli" . "jonas <at> bernoul.li")) (:commit . "30b0debaaadadec6103a8d7eab92322fd9d30a15")) :signed nil) nil nosave)
|   (package-menu--perform-transaction (#s(package-desc :name magit :version (20230217 2343) :summary "A Git porcelain inside Emacs." :reqs ((emacs (25 1)) (compat (29 1 3 4)) (dash (20221013)) (git-commit (20230101)) (magit-section (20230101)) (transient (20230201)) (with-editor (20230118))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "2c91c080a8e2f35e3b036a2f6b8011fa897d23a1") (:authors ("Marius Vollmer" . "marius.vollmer <at> gmail.com") ("Jonas Bernoulli" . "jonas <at> bernoul.li")) (:maintainer "Jonas Bernoulli" . "jonas <at> bernoul.li") (:keywords "git" "tools" "vc") (:url . "https://github.com/magit/magit")) :signed nil) #s(package-desc :name helm-core :version (20230217 602) :summary "Development files for Helm" :reqs ((emacs (25 1)) (async (1 9 7))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "dfd6403947c5cd9f32afcd6bc92a1756cc958c82") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:url . "https://emacs-helm.github.io/helm/")) :signed nil) #s(package-desc :name helm :version (20230216 1255) :summary "Helm is an Emacs incremental and narrowing framewo..." :reqs ((helm-core (3 9 0)) (popup (0 5 3))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "df927fae1f0a17c5c540429b010b4639ae89fa65") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:url . "https://emacs-helm.github.io/helm/")) :signed nil) #s(package-desc :name async :version (20230216 559) :summary "Asynchronous processing in Emacs" :reqs ((emacs (24 4))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "71cc50f27ffc598a89aeaa593488d87818647d02") (:authors ("John Wiegley" . "jwiegley <at> gmail.com")) (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:keywords "async") (:url . "https://github.com/jwiegley/emacs-async")) :signed nil)) (#s(package-desc :name async :version (20230130 1815) :summary "Asynchronous processing in Emacs" :reqs ((emacs (24 4))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/async-20230130.1815" :extras ((:url . "https://github.com/jwiegley/emacs-async") (:keywords "async") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("John Wiegley" . "jwiegley <at> gmail.com")) (:commit . "d27b65fd453586b2fa87f8124a65da0d4fdb268e")) :signed nil) #s(package-desc :name magit :version (20230215 1054) :summary "A Git porcelain inside Emacs." :reqs ((emacs (25 1)) (compat (29 1 3 4)) (dash (20221013)) (git-commit (20230101)) (magit-section (20230101)) (transient (20230201)) (with-editor (20230118))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/magit-20230215.1054" :extras ((:url . "https://github.com/magit/magit") (:keywords "git" "tools" "vc") (:maintainer "Jonas Bernoulli" . "jonas <at> bernoul.li") (:authors ("Marius Vollmer" . "marius.vollmer <at> gmail.com") ("Jonas Bernoulli" . "jonas <at> bernoul.li")) (:commit . "30b0debaaadadec6103a8d7eab92322fd9d30a15")) :signed nil) #s(package-desc :name helm-core :version (20230210 1955) :summary "Development files for Helm" :reqs ((emacs (25 1)) (async (1 9 7))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/helm-core-20230210.1955" :extras ((:url . "https://emacs-helm.github.io/helm/") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:commit . "99d0244277f87b23944a828c5565d729b339d882")) :signed nil) #s(package-desc :name helm :version (20230210 1800) :summary "Helm is an Emacs incremental and narrowing framewo..." :reqs ((helm-core (3 9 0)) (popup (0 5 3))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/helm-20230210.1800" :extras ((:url . "https://emacs-helm.github.io/helm/") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:commit . "ccd9c41cdbfa2a0e3c4860d141cd0b7c44d0054e")) :signed nil)))
|   (package-menu-execute)
|   (command-execute package-menu-execute)
| 1 <- package-desc-status: "obsolete"
| 1 -> (package-desc-status #s(package-desc :name async :version ... :summary "Asynchronous processing in..." :reqs ... :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/..." :extras ... :signed nil)) 07:21:17.513
|   (package--used-elsewhere-p #s(package-desc :name async :version (20230130 1815) :summary "Asynchronous processing in Emacs" :reqs ((emacs (24 4))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/async-20230130.1815" :extras ((:url . "https://github.com/jwiegley/emacs-async") (:keywords "async") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("John Wiegley" . "jwiegley <at> gmail.com")) (:commit . "d27b65fd453586b2fa87f8124a65da0d4fdb268e")) :signed nil))
|   (package-delete #s(package-desc :name async :version (20230130 1815) :summary "Asynchronous processing in Emacs" :reqs ((emacs (24 4))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/async-20230130.1815" :extras ((:url . "https://github.com/jwiegley/emacs-async") (:keywords "async") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("John Wiegley" . "jwiegley <at> gmail.com")) (:commit . "d27b65fd453586b2fa87f8124a65da0d4fdb268e")) :signed nil) nil nosave)
|   (package-menu--perform-transaction (#s(package-desc :name magit :version (20230217 2343) :summary "A Git porcelain inside Emacs." :reqs ((emacs (25 1)) (compat (29 1 3 4)) (dash (20221013)) (git-commit (20230101)) (magit-section (20230101)) (transient (20230201)) (with-editor (20230118))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "2c91c080a8e2f35e3b036a2f6b8011fa897d23a1") (:authors ("Marius Vollmer" . "marius.vollmer <at> gmail.com") ("Jonas Bernoulli" . "jonas <at> bernoul.li")) (:maintainer "Jonas Bernoulli" . "jonas <at> bernoul.li") (:keywords "git" "tools" "vc") (:url . "https://github.com/magit/magit")) :signed nil) #s(package-desc :name helm-core :version (20230217 602) :summary "Development files for Helm" :reqs ((emacs (25 1)) (async (1 9 7))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "dfd6403947c5cd9f32afcd6bc92a1756cc958c82") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:url . "https://emacs-helm.github.io/helm/")) :signed nil) #s(package-desc :name helm :version (20230216 1255) :summary "Helm is an Emacs incremental and narrowing framewo..." :reqs ((helm-core (3 9 0)) (popup (0 5 3))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "df927fae1f0a17c5c540429b010b4639ae89fa65") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:url . "https://emacs-helm.github.io/helm/")) :signed nil) #s(package-desc :name async :version (20230216 559) :summary "Asynchronous processing in Emacs" :reqs ((emacs (24 4))) :kind tar :archive "melpa" :dir nil :extras ((:commit . "71cc50f27ffc598a89aeaa593488d87818647d02") (:authors ("John Wiegley" . "jwiegley <at> gmail.com")) (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:keywords "async") (:url . "https://github.com/jwiegley/emacs-async")) :signed nil)) (#s(package-desc :name async :version (20230130 1815) :summary "Asynchronous processing in Emacs" :reqs ((emacs (24 4))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/async-20230130.1815" :extras ((:url . "https://github.com/jwiegley/emacs-async") (:keywords "async") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("John Wiegley" . "jwiegley <at> gmail.com")) (:commit . "d27b65fd453586b2fa87f8124a65da0d4fdb268e")) :signed nil) #s(package-desc :name magit :version (20230215 1054) :summary "A Git porcelain inside Emacs." :reqs ((emacs (25 1)) (compat (29 1 3 4)) (dash (20221013)) (git-commit (20230101)) (magit-section (20230101)) (transient (20230201)) (with-editor (20230118))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/magit-20230215.1054" :extras ((:url . "https://github.com/magit/magit") (:keywords "git" "tools" "vc") (:maintainer "Jonas Bernoulli" . "jonas <at> bernoul.li") (:authors ("Marius Vollmer" . "marius.vollmer <at> gmail.com") ("Jonas Bernoulli" . "jonas <at> bernoul.li")) (:commit . "30b0debaaadadec6103a8d7eab92322fd9d30a15")) :signed nil) #s(package-desc :name helm-core :version (20230210 1955) :summary "Development files for Helm" :reqs ((emacs (25 1)) (async (1 9 7))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/helm-core-20230210.1955" :extras ((:url . "https://emacs-helm.github.io/helm/") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:commit . "99d0244277f87b23944a828c5565d729b339d882")) :signed nil) #s(package-desc :name helm :version (20230210 1800) :summary "Helm is an Emacs incremental and narrowing framewo..." :reqs ((helm-core (3 9 0)) (popup (0 5 3))) :kind nil :archive nil :dir "/home/micha/.emacs.d/elpa/helm-20230210.1800" :extras ((:url . "https://emacs-helm.github.io/helm/") (:maintainer "Thierry Volpiatto" . "thievol <at> posteo.net") (:authors ("Thierry Volpiatto" . "thievol <at> posteo.net")) (:commit . "ccd9c41cdbfa2a0e3c4860d141cd0b7c44d0054e")) :signed nil)))
|   (package-menu-execute)
|   (command-execute package-menu-execute)
| 1 <- package-desc-status: "obsolete"

As you see, for the package causing the error (helm-core) the return
value was "installed" instead of the expected "obsolete".  As a
consequence, `package--used-elsewhere-p' returns non-nil and leads to
the error I get: the system thinks the package can't be removed because
it is a dependency.

So we need to find out why packages sometimes don't get the expected
"obsolete" status assigned when upgrading.


Michael.




Reply sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
You have taken responsibility. (Mon, 31 Jul 2023 02:30:02 GMT) Full text and rfc822 format available.

Notification sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
bug acknowledged by developer. (Mon, 31 Jul 2023 02:30:02 GMT) Full text and rfc822 format available.

Message #31 received at 59652-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: 59652-done <at> debbugs.gnu.org
Subject: Re: bug#59652: 29.0.50; Error trying to delete `P': (error "Package
 `P' is used by `Q' as dependency, not deleting")
Date: Mon, 31 Jul 2023 04:29:19 +0200
Michael Heerdegen <michael_heerdegen <at> web.de> writes:

> Since around approx. 10 or 20 days, whenever I do U in M-x
> package-list-packages [...] I often get errors like
>
> | 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")

Dunno why but the problem is completely gone for me since quite a while
now (several weeks).  And nobody else seems to have seen this issue.

So I'm closing this for now.  When somebody (including me) is seeing
this again we can reopen.


Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 28 Aug 2023 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 239 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.