Article 6P6S8 # gpg --yes --batch --delete-key "$SLACKKEY" gpg: symbol lookup error: /lib64/libgcrypt.so.20: undefined symbol: gpgrt_add_post_log_func, ve

# gpg --yes --batch --delete-key "$SLACKKEY" gpg: symbol lookup error: /lib64/libgcrypt.so.20: undefined symbol: gpgrt_add_post_log_func, ve

by
babydr
from LinuxQuestions.org on (#6P6S8)
running slackware-current , Not quite so uptodate ...
at the bottom is more back groung info .
Isn't gnupg supposed to install the files when doing a "update gpg" ?

Code:
# slackpkg update gpg

Getting key from https://www.slackware.com/infra/keys/GPG-KEY

# dir ~/.gnupg/
total 60
4 drwxr-xr-x 2 root root 4096 Jul 13 21:35 ./
44 drwx--x--- 35 root root 40960 Jul 13 21:43 ../
12 -rw------- 1 root root 9188 Jul 13 21:35 gpg.confBut it can't Delete the key ...

Code:# gpg --yes --batch --delete-key "$SLACKKEY"
gpg: symbol lookup error: /lib64/libgcrypt.so.20: undefined symbol: gpgrt_add_post_log_func, version GPG_ERROR_1.0Mind you the gpgrt_add_post_log_func does exist in /lib64/libgcrypt.so.20 .

Then I shut the system down & just recently ~= 12-Jul tried an update which I thought had worked .
Now today I run the same script I've always used , And I get ...

Code:
Slackware 15.0+

#
# Updating 'The package list' ie: program database .
#

Getting key from https://www.slackware.com/infra/keys/GPG-KEY
Updating the package lists...
Downloading...
Linking /home/archive/slackware-15_X/CHECKSUMS.md5.asc...

No changes in ChangeLog.txt between your last update and now.
Do you really want to download all other files (y/N)? y

Downloading...
Linking /home/archive/slackware-15_X/ChangeLog.txt...
List of all files
Linking /home/archive/slackware-15_X/patches/MANIFEST.bz2...
Linking /home/archive/slackware-15_X/slackware64/MANIFEST.bz2...
Linking /home/archive/slackware-15_X/extra/MANIFEST.bz2...
Linking /home/archive/slackware-15_X/pasture/MANIFEST.bz2...
Linking /home/archive/slackware-15_X/testing/MANIFEST.bz2...
Checksums
Linking /home/archive/slackware-15_X/CHECKSUMS.md5...
Linking /home/archive/slackware-15_X/CHECKSUMS.md5.asc...

ERROR: Verification of the gpg signature on CHECKSUMS.md5
failed! This could mean that the file is out of date
or has been tampered with. If you use mirrors.slackware.com
as your mirror, this could also mean that the mirror to
which you got redirected is not yet updated with the most
recent changes in the Slackware tree.

...And

The updates are rsync'd to a local fileserver & from there using sshfs mounted locally to do updates via slackpkg .
All was working until 07-Jul-2024 , Which the last date in the /var/log/packages/ directory & memory reminds me that there was a LARGE group of packages that were marked as ...
Code:The list of packages duplicated in your machine is shown below:
...
Do you wish to remove selected packages (Y/n)? yWhich may Well be the foul up that started this .
Luckily I log all the actions the update script does Including my actions .
I've just finished reinstalling the lost packages & it hasn't changed the error for GPG nor slackpkg .
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments