You are not logged in.
Hello everyone!
I tried to update the system using pacman -Syu but got an error that the update failed due to some unsigned package. I performed the following manipulations:
sudo rm -R /etc/pacman.d/gnupg/
sudo rm -R /root/.gnupg/
sudo pacman-key --init && sudo pacman-key --populate archlinux && sudo pacman-key --refresh-keys
System refused to work after reboot.
When I type command:
sudo pacman-key --init
terminal gives an error messages:
gpg: symbol lookup error: gpg: undefined symbol: gpgrt_access, version GPG_ERROR_1.0
gpg: symbol lookup error: gpg: undefined symbol: gpgrt_access, version GPG_ERROR_1.0
gpg: symbol lookup error: gpg: undefined symbol: gpgrt_access, version GPG_ERROR_1.0
==> Trust table updating
gpg: symbol lookup error: gpg: undefined symbol: gpgrt_access, version GPG_ERROR_1.0
==> ERROR:could not update the trust table
When I write:
sudo pacman-key --populate archlinux
==> Signing keys locally in a keychain
-> Local key signing: '...'
==> ERROR: Failed to locally sign key '...'
...
Please help.
Offline
I tried to update the system using pacman -Syu but got an error that the update failed due to some unsigned package.
Please post the contents of /var/log/pacman.log.
I performed the following manipulations:
sudo rm -R /etc/pacman.d/gnupg/
sudo rm -R /root/.gnupg/
root's keyring has no connection to pacman's keyring.
sudo pacman-key --init && sudo pacman-key --populate archlinux && sudo pacman-key --refresh-keys
System refused to work after reboot.
Just pacman / pacman-key or what else?
When I type command:
sudo pacman-key --init
terminal gives an error messages:
gpg: symbol lookup error: gpg: undefined symbol: gpgrt_access, version GPG_ERROR_1.0
gpg: symbol lookup error: gpg: undefined symbol: gpgrt_access, version GPG_ERROR_1.0
gpg: symbol lookup error: gpg: undefined symbol: gpgrt_access, version GPG_ERROR_1.0
==> Trust table updating
gpg: symbol lookup error: gpg: undefined symbol: gpgrt_access, version GPG_ERROR_1.0
==> ERROR:could not update the trust tableWhen I write:
sudo pacman-key --populate archlinux
==> Signing keys locally in a keychain
-> Local key signing: '...'
==> ERROR: Failed to locally sign key '...'
...Please help.
Did you remove all none error output from the above commands?
Offline
loqs, Hello.
Thank you, I solved the problem.
I disabled the check in the file /etc/pacman.conf and restored the system,
I changed SigLevel = Never
Then executed:
pacman -Scc
pacman -Syu
Then reinstalled gpg packet,
Rebooted the system...
And executed:
sudo pacman-key --init && sudo pacman-key --populate archlinux && sudo pacman-key --refresh-keys
Then I enabled checking keys and rebooted the system.
Now it's works.
Thanks.
Offline
Please remember to mark you thread as solved by editing your first post and prepending [SOLVED] to the title.
Offline
Thank you, dreamer_x. i was having the same issue and couldn't solve it. I had changed the SigLevel to TrustAll, but that didn't work. I have need to research why setting the SigLevel to Never actually work. Again, thanks!!!
Offline
I just had this same issue after doing a manual install of libgpg-error (using ./configure and make).
To investigate this I did the following:
% ldd `which gpg`
linux-vdso.so.1 (0x00007ffed35fd000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f6629edd000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f6629eca000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f6629d86000)
libgcrypt.so.20 => /usr/local/lib/libgcrypt.so.20 (0x00007f6629c65000)
libgpg-error.so.0 => /usr/local/lib/libgpg-error.so.0 |||| <-- this is the entry that is incorrect. It was pointed at the version of this library that does not contain the "gpgrt_access" function
libreadline.so.8 => /usr/lib/libreadline.so.8 (0x00007f6629be8000)
libassuan.so.0 => /usr/lib/libassuan.so.0 (0x00007f6629bd1000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f6629a05000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f66298c1000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f66298ba000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f6629899000)
libncursesw.so.6 => /usr/lib/libncursesw.so.6 (0x00007f6629829000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f662a025000)So to try and find the "real" version of this library I tried to find other installs of libgpg-error
% find /usr/ -iname "*libgpg-error.so*"
find: '/usr/share/polkit-1/rules.d': Permission denied
/usr/lib/vmware/lib/libgpg-error.so.0
/usr/lib/vmware/lib/libgpg-error.so.0/libgpg-error.so.0
/usr/lib/libgpg-error.so
/usr/lib/libgpg-error.so.0
/usr/lib/libgpg-error.so.0.32.0
/usr/local/lib/libgpg-error.so.0.30.0
/usr/local/lib/libgpg-error.so
/usr/local/lib/libgpg-error.so.0So, to fix this I just moved the symlinks in the /usr/local/lib to ".bak" and then gpg was able to find the correct version of the library.
% find /usr/ -iname "*libgpg-error.so*"
find: '/usr/share/polkit-1/rules.d': Permission denied
/usr/lib/vmware/lib/libgpg-error.so.0
/usr/lib/vmware/lib/libgpg-error.so.0/libgpg-error.so.0
/usr/lib/libgpg-error.so
/usr/lib/libgpg-error.so.0
/usr/lib/libgpg-error.so.0.32.0
/usr/local/lib/libgpg-error.so.0.30.0
/usr/local/lib/libgpg-error.so.bak
/usr/local/lib/libgpg-error.so.0.bakand
% ldd `which gpg`
linux-vdso.so.1 (0x00007ffed35fd000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f6629edd000)
libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f6629eca000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f6629d86000)
libgcrypt.so.20 => /usr/local/lib/libgcrypt.so.20 (0x00007f6629c65000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f6629c3e000)
libreadline.so.8 => /usr/lib/libreadline.so.8 (0x00007f6629be8000)
libassuan.so.0 => /usr/lib/libassuan.so.0 (0x00007f6629bd1000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f6629a05000)
libm.so.6 => /usr/lib/libm.so.6 (0x00007f66298c1000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f66298ba000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f6629899000)
libncursesw.so.6 => /usr/lib/libncursesw.so.6 (0x00007f6629829000)
/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f662a025000)The rest of the fix is in the remainder of this thread using the "pacman-key" commands.
Good Luck!
Offline