[Cannot install 2.5.7 in noble]

Uwe Brauer oub at mat.ucm.es
Fri Feb 20 18:02:09 CET 2026


>>> "MMvG" == Meik Michalke via Gnupg-users <gnupg-users at gnupg.org> writes:

> hi,
> Am Mittwoch, 18. Februar 2026, 15:02:36 CET schrieb Uwe Brauer via Gnupg-
> users:
>> I followed the instructions https://repos.gnupg.org/deb/gnupg/noble/
>> 
>> But the last step
>> 
>> sudo apt-get install gnupg2
>> 
>> Returns:

> that is actually not quite what's suggested by the instructions:

>   Now you should be able to install/upgrade our packages:

>   sudo apt update
>   sudo apt upgrade
>   sudo apt install gnupg2


I did these steps but with apt-get
> we're following the recommendation for using apt instead of apt-get for 
> interactive use (since the use of apt-get outside of scripts was discouraged > years ago). AFAIK apt does a better job when it comes to dependency handling, 
> in that it is better equipped to determine the optimal order of package 
> replacements.


Ah I did not realize this, thanks for pointing out, next time, I will
try to be more careful.


> Am Donnerstag, 19. Februar 2026, 08:29:07 CET schrieb Uwe Brauer via Gnupg-
> users:
>> It seems that the following worked:
>> 
>> 
>> sudo apt-get install libgcrypt20
>> sudo apt-get install libgpg-error0
>> sudo apt-get install gpgconf
>> sudo apt-get install gpgsm

> this looks to me like you had to find out a working order for yourself with 
> apt-get in this case.

> depending on your specific package selection, even apt may fail in finding a 
> solution when multiple packages with interdependencies are to be replaced in 
> one go. but it should at least return an insightful error message on why it is 
> not able to satisfy the dependency tree.

> there's also a blog article with some information on how to use 'apt policy' 
> to look at the current package preferences when multiple versions are 
> available:

> https://gnupg.org/blog/20250827-new-repository.html

Thanks!




More information about the Gnupg-users mailing list