Re: Update-Alternatives error for gnupg2?

Hanspeter Niederstrasser <[email protected]> Thu, 25 Sep 2025 05:07:33 -0500
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 9/22/25 8:28 AM, [email protected] wrote:
> 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.

It's fixed now.

Hanspeter

-- 
The appearance of the concept of good and evil, interpreted by man as
his expulsion from Paradise, was probably a molecular disease that
turned out to be evolution.
   --E. Zuckerkandl and L. Pauling



_______________________________________________
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