Update-Alternatives error for gnupg2?
Scott Hannahs via Fink-users <[email protected]> Sun, 21 Sep 2025 12:11:57 -0400
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
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 update-alternatives: warning: skip creation of /opt/sw/share/man/man1/gpg.1 because associated file /opt/sw/share/man/man1/gpg2.1 (of link group gpg) doesn't exist update-alternatives: warning: not removing /opt/sw/share/man/man1/gpg.1 since it's not a symlink update-alternatives: warning: skip creation of /opt/sw/bin/gpgv because associated file /opt/sw/bin/gpgv2 (of link group gpg) doesn't exist update-alternatives: warning: not removing /opt/sw/bin/gpgv since it's not a symlink update-alternatives: warning: skip creation of /opt/sw/share/man/man1/gpgv.1 because associated file /opt/sw/share/man/man1/gpgv2.1 (of link group gpg) doesn't exist update-alternatives: warning: not removing /opt/sw/share/man/man1/gpgv.1 since it's not a symlink You can inspect the links by running: update-alternatives --list gpg update-alternatives --display gpg Processing triggers for dpkg-base-files (0.4-1) ... Clearing dependency_libs of .la files in /opt/sw/lib ... Processing triggers for install-info (7.2-2) ... In “inspecting the links” hint above, I get the following: % update-alternatives --list gpg /opt/sw/bin/gpg2 % update-alternatives --display gpg gpg - auto mode link best version is /opt/sw/bin/gpg2 link currently points to /opt/sw/bin/gpg2 link gpg is /opt/sw/bin/gpg slave gpg.1 is /opt/sw/share/man/man1/gpg.1 slave gpgv is /opt/sw/bin/gpgv slave gpgv.1 is /opt/sw/share/man/man1/gpgv.1 /opt/sw/bin/gpg2 - priority 2 slave gpg.1: /opt/sw/share/man/man1/gpg2.1 slave gpgv: /opt/sw/bin/gpgv2 slave gpgv.1: /opt/sw/share/man/man1/gpgv2.1 Is there supposed to be a gpg2 and a gpg linked to the same executable? Should the man pages also be linked? How is this “update-alternatives” supposed to work? -Scott _______________________________________________ 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