[pkg-gnupg-maint] Bug#1071245: gnupg2: package uninstallable in Debian Sid

Otto Kekäläinen otto at debian.org
Fri May 17 06:45:07 BST 2024


Package:gnupg2
Version: 2.2.43-5
Severity: important

(Sharing on debian-devel as gnupg2 is a core package and this breaks
hundreds of reverse dependencies)


Latest gnupg2 in Debian Sid cannot be installed. This also prevents
all packages that depend on gpg to be installed as well. Personally I
noticed this via devscripts installation failing:

root at d3f13440934b:/tmp/test# apt update && apt install -y devscripts
--no-install-recommends
Get:1 http://deb.debian.org/debian sid InRelease [198 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 Packages [9876 kB]
Fetched 10.1 MB in 5s (2205 kB/s)
35 packages can be upgraded. Run 'apt list --upgradable' to see them.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
Unsatisfied dependencies:
 devscripts : Depends: gnupg but it is not installable or
                       gnupg2 but it is not installable
Error: Unable to correct problems, you have held broken packages.

root at d3f13440934b:/tmp/test# apt update && apt install -y gnupg2
--no-install-recommends
Hit:1 http://deb.debian.org/debian sid InRelease
35 packages can be upgraded. Run 'apt list --upgradable' to see them.
Package gnupg2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  gpgv
Error: Package 'gnupg2' has no installation candidate

root at d3f13440934b:/tmp/test# apt update && apt install -y gnupg
--no-install-recommends
Hit:1 http://deb.debian.org/debian sid InRelease
35 packages can be upgraded. Run 'apt list --upgradable' to see them.
Package gnupg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  gpgconf gpg gnupg-utils gnupg1
Error: Package 'gnupg' has no installation candidate


This is perhaps related to the arch:all packages faling to build
https://buildd.debian.org/status/fetch.php?pkg=gnupg2&arch=all&ver=2.2.43-5&stamp=1715908547&raw=0

This is easily testable and using CI would have prevented this, as CI
is now failing on the exact same thing at
https://salsa.debian.org/otto/gnupg2/-/jobs/5735016

You can adopt CI by merging
https://salsa.debian.org/debian/gnupg2/-/merge_requests/16, making
sure the Salsa-CI passes, and only uploading after that.

Thanks!



More information about the pkg-gnupg-maint mailing list