Re: [Cannot install 2.5.7 in noble]
Jakob Bohm via Gnupg-users <[email protected]> Wed, 18 Feb 2026 23:20:07 +0100
| Newsgroups | gmane.comp.encryption.gpg.user |
|---|---|
| Organization | WiseMo A/S |
| Message-ID | <[email protected]> |
Dear Mr. Brauer On 18/02/2026 15:02, Uwe Brauer via Gnupg-users wrote: >>>> "WKvG" == Werner Koch via Gnupg-users <[email protected]> writes: >> On Tue, 17 Feb 2026 15:52, Uwe Brauer said: >>> gpgsm (GnuPG) 2.4.4 >> That is pretty old. Please use the latest version - at least of 2.4 but >> better the new stable 2.5 version 2.5.7. We have Debian packages >> available for https://repos.gnupg.org/deb/gnupg/ and the fingerprint of >> the signing key is listed with all release notes. > Hi > > I followed the instructions https://repos.gnupg.org/deb/gnupg/noble/ > > But the last step > > sudo apt-get install gnupg2 > > Returns: > > --8<---------------cut here---------------start------------->8--- > > Reading package lists... Done > Building dependency tree... Done > Reading state information... Done > 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: > > The following packages have unmet dependencies: > gnupg2 : Depends: gnupg (>= 2.5.17-1) but 2.4.4-2ubuntu17.4 is to be installed > E: Unable to correct problems, you have held broken packages. > --8<---------------cut here---------------end--------------->8--- This seems more like an apt/dpkg problem than a gnupg problem, but since you encountered this using an official gnupg repository, it may still be on topic here. From my experience using apt/dpkg, I see too likely possibilities: A: the Gnupg repository for noble does not include a gnupg package new enough to satisfy the the "Depends" line in the gnupg2 package in that same repository, if so that would be a problem for the g10code people that manage repos.gnupg.org . B: Some subtle bug/misfeature in apt itself causes it to try to install a gnupg package from the Ubuntu repository instead of the new one from the Gnupg repository. If so, you need to explicitly request the correct gnupg package with a command such as: $ sudo apt-get install gnupg=2.5.17-1 (Add version numbers for related packages such as dirmngr etc. if you keep getting similar errors for those) Enjoy Jakob -- Jakob Bohm, CIO, Partner, WiseMo A/S. https://www.wisemo.com Transformervej 29, 2860 Søborg, Denmark. Direct +45 31 13 16 10 This public discussion message is non-binding and may contain errors. WiseMo - Remote Service Management for PCs, Phones and Embedded _______________________________________________ Gnupg-users mailing list [email protected] https://lists.gnupg.org/mailman/listinfo/gnupg-users