unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59652: 29.0.50; Error trying to delete `P': (error "Package `P' is used by `Q' as dependency, not deleting")
@ 2022-11-28 10:16 Michael Heerdegen
  2023-01-09 16:04 ` Michael Heerdegen
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Michael Heerdegen @ 2022-11-28 10:16 UTC (permalink / raw)
  To: 59652


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.







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

* bug#59652: 29.0.50; Error trying to delete `P': (error "Package `P' is used by `Q' as dependency, not deleting")
  2022-11-28 10:16 bug#59652: 29.0.50; Error trying to delete `P': (error "Package `P' is used by `Q' as dependency, not deleting") Michael Heerdegen
@ 2023-01-09 16:04 ` Michael Heerdegen
  2023-01-14 13:07   ` Michael Heerdegen
  2023-01-25 23:17   ` Michael Heerdegen
  2023-02-04 20:40 ` Michael Heerdegen
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 9+ messages in thread
From: Michael Heerdegen @ 2023-01-09 16:04 UTC (permalink / raw)
  To: 59652

Michael Heerdegen <michael_heerdegen@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.





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

* bug#59652: 29.0.50; Error trying to delete `P': (error "Package `P' is used by `Q' as dependency, not deleting")
  2023-01-09 16:04 ` Michael Heerdegen
@ 2023-01-14 13:07   ` Michael Heerdegen
  2023-01-18 15:03     ` Michael Heerdegen
  2023-01-25 23:17   ` Michael Heerdegen
  1 sibling, 1 reply; 9+ messages in thread
From: Michael Heerdegen @ 2023-01-14 13:07 UTC (permalink / raw)
  To: 59652

Michael Heerdegen <michael_heerdegen@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.





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

* bug#59652: 29.0.50; Error trying to delete `P': (error "Package `P' is used by `Q' as dependency, not deleting")
  2023-01-14 13:07   ` Michael Heerdegen
@ 2023-01-18 15:03     ` Michael Heerdegen
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Heerdegen @ 2023-01-18 15:03 UTC (permalink / raw)
  To: 59652

Michael Heerdegen <michael_heerdegen@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.





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

* bug#59652: 29.0.50; Error trying to delete `P': (error "Package `P' is used by `Q' as dependency, not deleting")
  2023-01-09 16:04 ` Michael Heerdegen
  2023-01-14 13:07   ` Michael Heerdegen
@ 2023-01-25 23:17   ` Michael Heerdegen
  2023-01-29 15:24     ` Michael Heerdegen
  1 sibling, 1 reply; 9+ messages in thread
From: Michael Heerdegen @ 2023-01-25 23:17 UTC (permalink / raw)
  To: 59652

Michael Heerdegen <michael_heerdegen@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.





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

* bug#59652: 29.0.50; Error trying to delete `P': (error "Package `P' is used by `Q' as dependency, not deleting")
  2023-01-25 23:17   ` Michael Heerdegen
@ 2023-01-29 15:24     ` Michael Heerdegen
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Heerdegen @ 2023-01-29 15:24 UTC (permalink / raw)
  To: 59652

Michael Heerdegen <michael_heerdegen@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.





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

* bug#59652: 29.0.50; Error trying to delete `P': (error "Package `P' is used by `Q' as dependency, not deleting")
  2022-11-28 10:16 bug#59652: 29.0.50; Error trying to delete `P': (error "Package `P' is used by `Q' as dependency, not deleting") Michael Heerdegen
  2023-01-09 16:04 ` Michael Heerdegen
@ 2023-02-04 20:40 ` Michael Heerdegen
  2023-02-18  6:49 ` Michael Heerdegen
  2023-07-31  2:29 ` Michael Heerdegen
  3 siblings, 0 replies; 9+ messages in thread
From: Michael Heerdegen @ 2023-02-04 20:40 UTC (permalink / raw)
  To: 59652

Michael Heerdegen <michael_heerdegen@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.





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

* bug#59652: 29.0.50; Error trying to delete `P': (error "Package `P' is used by `Q' as dependency, not deleting")
  2022-11-28 10:16 bug#59652: 29.0.50; Error trying to delete `P': (error "Package `P' is used by `Q' as dependency, not deleting") Michael Heerdegen
  2023-01-09 16:04 ` Michael Heerdegen
  2023-02-04 20:40 ` Michael Heerdegen
@ 2023-02-18  6:49 ` Michael Heerdegen
  2023-07-31  2:29 ` Michael Heerdegen
  3 siblings, 0 replies; 9+ messages in thread
From: Michael Heerdegen @ 2023-02-18  6:49 UTC (permalink / raw)
  To: 59652

Michael Heerdegen <michael_heerdegen@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@posteo.net") (:authors ("Thierry Volpiatto" . "thievol@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@posteo.net") (:authors ("Thierry Volpiatto" . "thievol@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@gmail.com") ("Jonas Bernoulli" . "jonas@bernoul.li")) (:maintainer "Jonas Bernoulli" . "jonas@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@posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol@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@posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol@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@gmail.com")) (:maintainer "Thierry Volpiatto" . "thievol@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@posteo.net") (:authors ("John Wiegley" . "jwiegley@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@bernoul.li") (:authors ("Marius Vollmer" . "marius.vollmer@gmail.com") ("Jonas Bernoulli" . "jonas@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@posteo.net") (:authors ("Thierry Volpiatto" . "thievol@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@posteo.net") (:authors ("Thierry Volpiatto" . "thievol@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@posteo.net") (:authors ("Thierry Volpiatto" . "thievol@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@posteo.net") (:authors ("Thierry Volpiatto" . "thievol@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@gmail.com") ("Jonas Bernoulli" . "jonas@bernoul.li")) (:maintainer "Jonas Bernoulli" . "jonas@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@posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol@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@posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol@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@gmail.com")) (:maintainer "Thierry Volpiatto" . "thievol@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@posteo.net") (:authors ("John Wiegley" . "jwiegley@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@bernoul.li") (:authors ("Marius Vollmer" . "marius.vollmer@gmail.com") ("Jonas Bernoulli" . "jonas@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@posteo.net") (:authors ("Thierry Volpiatto" . "thievol@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@posteo.net") (:authors ("Thierry Volpiatto" . "thievol@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@bernoul.li") (:authors ("Marius Vollmer" . "marius.vollmer@gmail.com") ("Jonas Bernoulli" . "jonas@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@bernoul.li") (:authors ("Marius Vollmer" . "marius.vollmer@gmail.com") ("Jonas Bernoulli" . "jonas@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@gmail.com") ("Jonas Bernoulli" . "jonas@bernoul.li")) (:maintainer "Jonas Bernoulli" . "jonas@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@posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol@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@posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol@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@gmail.com")) (:maintainer "Thierry Volpiatto" . "thievol@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@posteo.net") (:authors ("John Wiegley" . "jwiegley@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@bernoul.li") (:authors ("Marius Vollmer" . "marius.vollmer@gmail.com") ("Jonas Bernoulli" . "jonas@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@posteo.net") (:authors ("Thierry Volpiatto" . "thievol@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@posteo.net") (:authors ("Thierry Volpiatto" . "thievol@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@posteo.net") (:authors ("John Wiegley" . "jwiegley@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@posteo.net") (:authors ("John Wiegley" . "jwiegley@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@gmail.com") ("Jonas Bernoulli" . "jonas@bernoul.li")) (:maintainer "Jonas Bernoulli" . "jonas@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@posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol@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@posteo.net")) (:maintainer "Thierry Volpiatto" . "thievol@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@gmail.com")) (:maintainer "Thierry Volpiatto" . "thievol@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@posteo.net") (:authors ("John Wiegley" . "jwiegley@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@bernoul.li") (:authors ("Marius Vollmer" . "marius.vollmer@gmail.com") ("Jonas Bernoulli" . "jonas@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@posteo.net") (:authors ("Thierry Volpiatto" . "thievol@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@posteo.net") (:authors ("Thierry Volpiatto" . "thievol@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.





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

* bug#59652: 29.0.50; Error trying to delete `P': (error "Package `P' is used by `Q' as dependency, not deleting")
  2022-11-28 10:16 bug#59652: 29.0.50; Error trying to delete `P': (error "Package `P' is used by `Q' as dependency, not deleting") Michael Heerdegen
                   ` (2 preceding siblings ...)
  2023-02-18  6:49 ` Michael Heerdegen
@ 2023-07-31  2:29 ` Michael Heerdegen
  3 siblings, 0 replies; 9+ messages in thread
From: Michael Heerdegen @ 2023-07-31  2:29 UTC (permalink / raw)
  To: 59652-done

Michael Heerdegen <michael_heerdegen@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.





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

end of thread, other threads:[~2023-07-31  2:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-28 10:16 bug#59652: 29.0.50; Error trying to delete `P': (error "Package `P' is used by `Q' as dependency, not deleting") Michael Heerdegen
2023-01-09 16:04 ` Michael Heerdegen
2023-01-14 13:07   ` Michael Heerdegen
2023-01-18 15:03     ` Michael Heerdegen
2023-01-25 23:17   ` Michael Heerdegen
2023-01-29 15:24     ` Michael Heerdegen
2023-02-04 20:40 ` Michael Heerdegen
2023-02-18  6:49 ` Michael Heerdegen
2023-07-31  2:29 ` Michael Heerdegen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).