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, 18 Feb 2023 07:49:01 +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")

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" . "[email-masked]") (:authors ("Thierry Volpiatto" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Thierry Volpiatto" . "[email-masked]")) (: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" . "[email-masked]") ("Jonas Bernoulli" . "[email-masked]")) (:maintainer "Jonas Bernoulli" . "[email-masked]") (: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" . "[email-masked]")) (:maintainer "Thierry Volpiatto" . "[email-masked]") (: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" . "[email-masked]")) (:maintainer "Thierry Volpiatto" . "[email-masked]") (: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" . "[email-masked]")) (:maintainer "Thierry Volpiatto" . "[email-masked]") (: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" . "[email-masked]") (:authors ("John Wiegley" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Marius Vollmer" . "[email-masked]") ("Jonas Bernoulli" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Thierry Volpiatto" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Thierry Volpiatto" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Thierry Volpiatto" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Thierry Volpiatto" . "[email-masked]")) (: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" . "[email-masked]") ("Jonas Bernoulli" . "[email-masked]")) (:maintainer "Jonas Bernoulli" . "[email-masked]") (: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" . "[email-masked]")) (:maintainer "Thierry Volpiatto" . "[email-masked]") (: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" . "[email-masked]")) (:maintainer "Thierry Volpiatto" . "[email-masked]") (: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" . "[email-masked]")) (:maintainer "Thierry Volpiatto" . "[email-masked]") (: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" . "[email-masked]") (:authors ("John Wiegley" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Marius Vollmer" . "[email-masked]") ("Jonas Bernoulli" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Thierry Volpiatto" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Thierry Volpiatto" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Marius Vollmer" . "[email-masked]") ("Jonas Bernoulli" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Marius Vollmer" . "[email-masked]") ("Jonas Bernoulli" . "[email-masked]")) (: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" . "[email-masked]") ("Jonas Bernoulli" . "[email-masked]")) (:maintainer "Jonas Bernoulli" . "[email-masked]") (: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" . "[email-masked]")) (:maintainer "Thierry Volpiatto" . "[email-masked]") (: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" . "[email-masked]")) (:maintainer "Thierry Volpiatto" . "[email-masked]") (: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" . "[email-masked]")) (:maintainer "Thierry Volpiatto" . "[email-masked]") (: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" . "[email-masked]") (:authors ("John Wiegley" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Marius Vollmer" . "[email-masked]") ("Jonas Bernoulli" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Thierry Volpiatto" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Thierry Volpiatto" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("John Wiegley" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("John Wiegley" . "[email-masked]")) (: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" . "[email-masked]") ("Jonas Bernoulli" . "[email-masked]")) (:maintainer "Jonas Bernoulli" . "[email-masked]") (: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" . "[email-masked]")) (:maintainer "Thierry Volpiatto" . "[email-masked]") (: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" . "[email-masked]")) (:maintainer "Thierry Volpiatto" . "[email-masked]") (: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" . "[email-masked]")) (:maintainer "Thierry Volpiatto" . "[email-masked]") (: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" . "[email-masked]") (:authors ("John Wiegley" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Marius Vollmer" . "[email-masked]") ("Jonas Bernoulli" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Thierry Volpiatto" . "[email-masked]")) (: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" . "[email-masked]") (:authors ("Thierry Volpiatto" . "[email-masked]")) (: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.