The wiki page has the relevant information to deal with this issue.
Closing.
]]>I'm afraid I messed something up heavily, partly because of this update:
I hadn't upgraded my system for a while due to an hw problem;
I wanted to set my video card up (there was some problem with a new bios version hiding the intel gpu to me, so now I only have nvidia gpu), so before pacman -Syu, I did
# paman -R xf82-video-intel intel-dri
# pacman -S nvidia nvidia-utils lib32-nvidia-utils
but nvidia didn't install properly, so I found the announcement and ran:
# paman -Syu --ignore glibc
# pacman -Su
but the second command failed and now I keep getting this:
# pacman -whatever (even --help)
pacman: /lib/libc.so.6: version `GLIBC_2.16` not found (required by /usr/lib/lib.curl.so.4)
# curl
curl: /lib/libc.so.6: version `GLIBC_2.16` not found (required by /usr/lib/lib.curl.so.4)
(there might be typos, I copied it by hand)
I also tried running pacman after this (I thought it could not harm, even if I didn't really understand what is happening)
# export LD_LIBRARY_PATH=/lib:/usr/lib
with the same result.
(btw, afret rebooting I can't even mount my xfs /home partition, but I guess it will fix if I can manage to fix pacman)
Any suggestions?
Thanks a lot
Davide
Edit:
Just noticed: the file /lib/libc.so.6 is a symlink to /lib/libc-2.15.so. Is there a way to downgrade curl without pacman?
wops i guess i missed that step...
i feel silly
# grep '^lib/' /var/lib/pacman/local/*/files
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/ld-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/ld-linux-x86-64.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libBrokenLocale-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libBrokenLocale.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libSegFault.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libanl-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libanl.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libc-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libc.so.6
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcidn-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcidn.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcrypt-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libcrypt.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libdl-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libdl.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libm-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libm.so.6
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libmemusage.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnsl-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnsl.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_compat-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_compat.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_db-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_db.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_dns-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_dns.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_files-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_files.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_hesiod-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_hesiod.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nis-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nis.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nisplus-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libnss_nisplus.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libpcprofile.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libpthread-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libpthread.so.0
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libresolv-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libresolv.so.2
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/librt-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/librt.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libthread_db-1.0.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libthread_db.so.1
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libutil-2.16.so
/var/lib/pacman/local/glibc-2.16.0-1/files:lib/libutil.so.1
/var/lib/pacman/local/hal-0.5.14-6/files:lib/
/var/lib/pacman/local/hal-0.5.14-6/files:lib/udev/
/var/lib/pacman/local/hal-0.5.14-6/files:lib/udev/rules.d/
/var/lib/pacman/local/hal-0.5.14-6/files:lib/udev/rules.d/90-hal.rules
/var/lib/pacman/local/udev-compat-180-1/files:lib/
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/autofs
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/btrfs-control
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/cpu/
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/cpu/microcode
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/fuse
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/mapper/
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/mapper/control
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/net/
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/net/tun
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/ppp
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/snd/
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/snd/seq
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/snd/timer
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/devices/uinput
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/rules.d/
/var/lib/pacman/local/udev-compat-180-1/files:lib/udev/rules.d/30-kernel-compat.rules
# ls -l
total 8120
-rwxr-xr-x 1 root root 165328 Aug 2 2012 ld-2.16.so
-rwxr-xr-x 1 root root 165328 Aug 2 2012 ld-linux-x86-64.so.2
-rwxr-xr-x 1 root root 14952 Aug 2 2012 libanl-2.16.so
-rwxr-xr-x 1 root root 14952 Aug 2 2012 libanl.so.1
-rwxr-xr-x 1 root root 6256 Aug 2 2012 libBrokenLocale-2.16.so
-rwxr-xr-x 1 root root 6256 Aug 2 2012 libBrokenLocale.so.1
-rwxr-xr-x 1 root root 1997041 Aug 2 2012 libc-2.16.so
-rwxr-xr-x 1 root root 190840 Aug 2 2012 libcidn-2.16.so
-rwxr-xr-x 1 root root 190840 Aug 2 2012 libcidn.so.1
-rwxr-xr-x 1 root root 35112 Aug 2 2012 libcrypt-2.16.so
-rwxr-xr-x 1 root root 35112 Aug 2 2012 libcrypt.so.1
-rwxr-xr-x 1 root root 1997041 Aug 2 2012 libc.so.6
-rwxr-xr-x 1 root root 14624 Aug 2 2012 libdl-2.16.so
-rwxr-xr-x 1 root root 14624 Aug 2 2012 libdl.so.2
-rwxr-xr-x 1 root root 1022320 Aug 2 2012 libm-2.16.so
-rwxr-xr-x 1 root root 18760 Aug 2 2012 libmemusage.so
-rwxr-xr-x 1 root root 1022320 Aug 2 2012 libm.so.6
-rwxr-xr-x 1 root root 89064 Aug 2 2012 libnsl-2.16.so
-rwxr-xr-x 1 root root 89064 Aug 2 2012 libnsl.so.1
-rwxr-xr-x 1 root root 31608 Aug 2 2012 libnss_compat-2.16.so
-rwxr-xr-x 1 root root 31608 Aug 2 2012 libnss_compat.so.2
-rwxr-xr-x 1 root root 31120 Aug 2 2012 libnss_db-2.16.so
-rwxr-xr-x 1 root root 31120 Aug 2 2012 libnss_db.so.2
-rwxr-xr-x 1 root root 22912 Aug 2 2012 libnss_dns-2.16.so
-rwxr-xr-x 1 root root 22912 Aug 2 2012 libnss_dns.so.2
-rwxr-xr-x 1 root root 52112 Aug 2 2012 libnss_files-2.16.so
-rwxr-xr-x 1 root root 52112 Aug 2 2012 libnss_files.so.2
-rwxr-xr-x 1 root root 22944 Aug 2 2012 libnss_hesiod-2.16.so
-rwxr-xr-x 1 root root 22944 Aug 2 2012 libnss_hesiod.so.2
-rwxr-xr-x 1 root root 47656 Aug 2 2012 libnss_nis-2.16.so
-rwxr-xr-x 1 root root 51696 Aug 2 2012 libnss_nisplus-2.16.so
-rwxr-xr-x 1 root root 51696 Aug 2 2012 libnss_nisplus.so.2
-rwxr-xr-x 1 root root 47656 Aug 2 2012 libnss_nis.so.2
-rwxr-xr-x 1 root root 6280 Aug 2 2012 libpcprofile.so
-rwxr-xr-x 1 root root 137982 Aug 2 2012 libpthread-2.16.so
-rwxr-xr-x 1 root root 137982 Aug 2 2012 libpthread.so.0
-rwxr-xr-x 1 root root 84808 Aug 2 2012 libresolv-2.16.so
-rwxr-xr-x 1 root root 84808 Aug 2 2012 libresolv.so.2
-rwxr-xr-x 1 root root 31744 Aug 2 2012 librt-2.16.so
-rwxr-xr-x 1 root root 31744 Aug 2 2012 librt.so.1
-rwxr-xr-x 1 root root 18688 Aug 2 2012 libSegFault.so
-rwxr-xr-x 1 root root 38383 Aug 2 2012 libthread_db-1.0.so
-rwxr-xr-x 1 root root 38383 Aug 2 2012 libthread_db.so.1
-rwxr-xr-x 1 root root 10640 Aug 2 2012 libutil-2.16.so
-rwxr-xr-x 1 root root 10640 Aug 2 2012 libutil.so.1
bruno321 wrote:progandy wrote:I suppose you could force the uninstall, upgrade glibc and reinstall libnjb
Well, I guess that would just postpone the problem, no? When I get to reinstall libnjb surely the same thing will happen.
The new pkgbuild works without any modifications. I just compiled it myself, so just build and install.
That seems to have worked. Thanks!
]]>progandy wrote:bruno321 wrote:How can I fix it? I'd rather just uninstall libnjb, but it's a dependency for some other packages I regularly use.
I suppose you could force the uninstall, upgrade glibc and reinstall libnjb
Well, I guess that would just postpone the problem, no? When I get to reinstall libnjb surely the same thing will happen.
The new pkgbuild works without any modifications. I just compiled it myself, so just build and install.
]]>bruno321 wrote:How can I fix it? I'd rather just uninstall libnjb, but it's a dependency for some other packages I regularly use.
I suppose you could force the uninstall, upgrade glibc and reinstall libnjb
Well, I guess that would just postpone the problem, no? When I get to reinstall libnjb surely the same thing will happen.
]]>How can I fix it? I'd rather just uninstall libnjb, but it's a dependency for some other packages I regularly use.
I suppose you could force the uninstall, upgrade glibc and reinstall libnjb
]]>$ grep '^lib/' /var/lib/pacman/local/*/files
I get, besides glibc files:
/var/lib/pacman/local/libnjb-2.2.6-2/files:lib/
/var/lib/pacman/local/libnjb-2.2.6-2/files:lib/udev/
/var/lib/pacman/local/libnjb-2.2.6-2/files:lib/udev/rules.d/
/var/lib/pacman/local/libnjb-2.2.6-2/files:lib/udev/rules.d/45-libnjb.rules
It seems libnjb is an AUR package with this problem. I tried following JKAbrams instructions, but when I try to build the package with
makepkg -s
I get this:
configure: error: I can't find the libusb libraries on your system. You
may need to set the LDFLAGS environment variable to include the
search path where you have libusb installed before running
configure (e.g. setenv LDFLAGS=-L/usr/local/lib)
but libusb is installed. How can I fix it? I tried running that command (with export instead of setenv) but it didn't work. I'd rather just uninstall libnjb, but it's a dependency for some other packages I regularly use.
]]>Um, I'm embarrassed to admit to some legendary stupidity, but here goes:
I deleted /lib/
yep, the whole thing. I knew it was The Wrong Thing to Do but I did it anyway.
any suggestions? Snickering?
Well, you ain't the only one
Now i just have to get me some live-CD to try fix my system aswell. Hopefully some of your trouble-solving the last hours can be some help for me aswell.
EDIT: "Easy" solved... Got me a live-cd, read pacman man-pages, ran pacman -U <old glibc in pacman cache> -r /mounted/root. Case solved with the deleted /lib for me atleast...
]]>should I try to reinstall glibc2.15-7 instead and see if that glibc reclaims the files?
]]>