Re: Update-Alternatives error for gnupg2?

Scott Hannahs via Fink-users <[email protected]> Sun, 28 Sep 2025 13:56:32 -0400
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
On Sep 25, 2025, at 06:07, Hanspeter Niederstrasser <[email protected]> wrote:
> 
> On 9/22/25 8:28 AM, [email protected] <mailto:[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


Hanspeter,
Thanks for the quick response and solution!
-Scott
“There is nothing good or bad, but thinking makes it so.”
	— Shakespear (or equivalent spelling)

_______________________________________________
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