You are not logged in.
Not sure how to deal with this. I have tried renaming some files but that doesn't seem to help at all, so I have moved them back to where they were.
Some of what I did here was clearly the wrong thing:
[root@archtop /]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] Y
resolving dependencies...
warning: dependency cycle detected:
warning: udev will be installed before its util-linux dependency
looking for inter-conflicts...
:: kmod and module-init-tools are in conflict. Remove module-init-tools? [y/N] Y
:: util-linux and util-linux-ng are in conflict. Remove util-linux-ng? [y/N] Y
:: gnupg and gnupg2 are in conflict. Remove gnupg2? [y/N] Y
Targets (49): acl-2.2.51-1 attr-2.4.46-1 bash-4.2.024-2 bzip2-1.0.6-3 coreutils-8.16-2 cracklib-2.8.18-2 curl-7.25.0-1 db-5.3.15-1
dirmngr-1.1.0-4 e2fsprogs-1.42.1-1 expat-2.1.0-1 findutils-4.4.2-4 gawk-4.0.1-1 gcc-libs-4.7.0-4 gdbm-1.10-1
glib2-2.30.2-2 glibc-2.15-10 gmp-5.0.4-1 gnupg-2.0.19-1 gnupg2-2.0.18-1 [removal] gpgme-1.3.1-4 kmod-7-2
libarchive-3.0.4-1 libcap-2.22-2 libffi-3.0.10-1 libgcrypt-1.5.0-1 libgpg-error-1.10-1 libgssglue-0.3-1 libldap-2.4.30-1
libtirpc-0.2.2-2 linux-api-headers-3.3-1 module-init-tools-3.11.1-2 [removal] ncurses-5.9-3 openssl-1.0.1-2
pacman-mirrorlist-20120211-1 pam-1.1.5-2 pciutils-3.1.9-1 pcre-8.30-1 perl-5.14.2-7 readline-6.2.002-1 sed-4.2.1-4
tzdata-2012c-1 udev-182-1 usbutils-005-1 util-linux-2.21.1-2 util-linux-ng-2.18-2 [removal] xz-5.0.3-2 zlib-1.2.6-1
pacman-4.0.3-1
Total Installed Size: 208.48 MiB
Net Upgrade Size: 10.13 MiB
Proceed with installation? [Y/n] Y
pacman: symbol lookup error: /usr/lib/libgpgme.so.11: undefined symbol: gpg_err_set_errno------------------------------------------------] 0%
[root@archtop /]# which pacman
/usr/bin/pacman
[root@archtop /]# ldd /usr/bin/pacman
linux-gate.so.1 => (0xb782c000)
libalpm.so.7 => /usr/lib/libalpm.so.7 (0xb77f0000)
libc.so.6 => /lib/libc.so.6 (0xb764e000)
libcurl.so.4 => /usr/lib/libcurl.so.4 (0xb75f2000)
libgpgme.so.11 => /usr/lib/libgpgme.so.11 (0xb75be000)
libarchive.so.12 => /usr/lib/libarchive.so.12 (0xb752b000)
libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0xb73b1000)
/lib/ld-linux.so.2 (0xb782d000)
libssh2.so.1 => /usr/lib/libssh2.so.1 (0xb7388000)
librt.so.1 => /lib/librt.so.1 (0xb737f000)
libssl.so.1.0.0 => /usr/lib/libssl.so.1.0.0 (0xb732e000)
libdl.so.2 => /lib/libdl.so.2 (0xb7328000)
libz.so.1 => /usr/lib/libz.so.1 (0xb7313000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb72f8000)
libassuan.so.0 => /usr/lib/libassuan.so.0 (0xb72e6000)
libgpg-error.so.0 => /lib/libgpg-error.so.0 (0xb72e2000)
libacl.so.1 => /lib/libacl.so.1 (0xb72da000)
libattr.so.1 => /lib/libattr.so.1 (0xb72d5000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb72af000)
liblzma.so.5 => /usr/lib/liblzma.so.5 (0xb7289000)
libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb7278000)
[root@archtop /]# mv /lib/libgpg-error.so.0 /lib/libgpg-error.so.0.old
[root@archtop /]# pacman -Syu
pacman: error while loading shared libraries: libgpg-error.so.0: cannot open shared object file: No such file or directory
[root@archtop /]# mv /lib/libgpg-error.so.0.old /lib/libgpg-error.so.0
[root@archtop /]# pacman -Syu
:: Synchronizing package databases...
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to synchronize any databases
error: failed to init transaction (unable to lock database)
if you're sure a package manager is not already
running, you can remove /var/lib/pacman/db.lck
[root@archtop /]# mv /var/lib/pacman/db.lck /var/lib/pacman/db.lck-backup4
[root@archtop /]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] Y
resolving dependencies...
warning: dependency cycle detected:
warning: udev will be installed before its util-linux dependency
looking for inter-conflicts...
:: kmod and module-init-tools are in conflict. Remove module-init-tools? [y/N] Y
:: util-linux and util-linux-ng are in conflict. Remove util-linux-ng? [y/N] Y
:: gnupg and gnupg2 are in conflict. Remove gnupg2? [y/N] Y
Targets (49): acl-2.2.51-1 attr-2.4.46-1 bash-4.2.024-2 bzip2-1.0.6-3 coreutils-8.16-2 cracklib-2.8.18-2 curl-7.25.0-1 db-5.3.15-1
dirmngr-1.1.0-4 e2fsprogs-1.42.1-1 expat-2.1.0-1 findutils-4.4.2-4 gawk-4.0.1-1 gcc-libs-4.7.0-4 gdbm-1.10-1
glib2-2.30.2-2 glibc-2.15-10 gmp-5.0.4-1 gnupg-2.0.19-1 gnupg2-2.0.18-1 [removal] gpgme-1.3.1-4 kmod-7-2
libarchive-3.0.4-1 libcap-2.22-2 libffi-3.0.10-1 libgcrypt-1.5.0-1 libgpg-error-1.10-1 libgssglue-0.3-1 libldap-2.4.30-1
libtirpc-0.2.2-2 linux-api-headers-3.3-1 module-init-tools-3.11.1-2 [removal] ncurses-5.9-3 openssl-1.0.1-2
pacman-mirrorlist-20120211-1 pam-1.1.5-2 pciutils-3.1.9-1 pcre-8.30-1 perl-5.14.2-7 readline-6.2.002-1 sed-4.2.1-4
tzdata-2012c-1 udev-182-1 usbutils-005-1 util-linux-2.21.1-2 util-linux-ng-2.18-2 [removal] xz-5.0.3-2 zlib-1.2.6-1
pacman-4.0.3-1
Total Installed Size: 208.48 MiB
Net Upgrade Size: 10.13 MiB
Proceed with installation? [Y/n] Y
pacman: symbol lookup error: /usr/lib/libgpgme.so.11: undefined symbol: gpg_err_set_errno------------------------------------------------] 0%Added code tags -- Inxsible
Last edited by Inxsible (2012-06-11 20:08:45)
Offline
Welcome to the forums.
Try to use code tags when posting larger amounts of output.
As for the problem at hand, does the issue also occur if you simply answer "N" to the "do you want to upgrade pacman first" question?
Burninate!
Offline
i get the same error (pacman: symbol lookup error: /usr/lib/libgpgme.so.11: undefined symbol: gpg_err_set_errno------------------------------------------------] 0%)
just after clean archlinux install, upgraded pacman first, then the rest. How can this be resolved?
Offline
And yes, i've carefully read article about signing packages, pacman key was initialized and keyring also was populated.
Successfully resolved problem by adding globally SigLevel = Never and commenting out SigLevel = PackageRequired. Yes, I understand that this is bad idea, but i've found no other way to resolve it.
Then pacman Syu finished succesfully. After that i've turned signature check back. It works.
P.S.: my bad, it seems that i accidently used 2010.05 old iso to install arch. And as too many core changes came into distro, (initscripts, filestystem force, etc), pacman Syu failed over and over.
Last edited by oraerk (2012-06-12 08:03:59)
Offline
Wahh , adding "Never" fixed it for me finally, and i did not force anything. I'm 100 % sure i did exaclty what pacman asked me to do , upgrade pacman , and then the two key init commands , thx oraerk
Offline