Re: Update-Alternatives error for gnupg2?

[email protected] Mon, 22 Sep 2025 08:28:46 -0500
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
On 2025-09-21 11:11, Scott Hannahs via Fink-users wrote:
> Not sure if this is an error or just my installation has gotten messed
> up with testing.  But I have been fairly clean in installing released
> versions of gnupg.
> 
> With the latest update of gnupg2 I get an error in updating
> alternatives since some of them don’t exist?  So the update
> alternatives fails?
> 
>> Unpacking gnupg2 (2.5.12-1) over (2.5.12-1) ...
>> 
>> Setting up gnupg2 (2.5.12-1) ...
>> 
>> update-alternatives: warning: forcing reinstallation of alternative
>> /opt/sw/bin/gpg2 because link group gpg is broken
>> 
>> update-alternatives: warning: not replacing /opt/sw/bin/gpg with a
>> link

It's a bug in the new version of the Fink package for gnupg2. The 
previous version (v2.2.x) had bin/gpg2 and a symlink from bin/gpg for 
compatibility with the ancient gnupg-v1 (and similar issues with the 
versioned manpages).

With the update to gnupg-2.5.x, the software now comes with only bin/gpg 
instead, so update-alternatives script that's looking for bin/gpg2 
breaks.

I'm working on the fix.

Hanspeter


_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users