Bug#817960: libc6: relocation error version GLIBC_PRIVATE not defined in file libc.so.6
On Sat, Mar 12, 2016 at 04:50:17PM +0100, Aurelien Jarno wrote: > Thanks for your screenshot, it definitely helps. The symbol > h_errno@GLIBC_PRIVATE has been renamed into __h_errno@GLIBC_PRIVATE in > glibc 2.22. > > Normally if you use both libpthread.so.0 and libc.so.6 from glibc 2.21 > and glibc 2.22 everything should work. In your case it seems after the > upgrade you end up with libc.so.6 from glibc 2.21 (instead of 2.22) > while libpthread.so.0 is from glibc 2.22. It might be you have a copy if > libc.so.6 somewhere in the locations ld.so is search for. > > Could you therefore please send me the output of "ldd /bin/ls" before > upgrading your system? That should give something like that: > > linux-vdso.so.1 (0x7ffe1013f000) > libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 > (0x7f836df6f000) > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f836dbcb000) > libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 > (0x7f836d95a000) > libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f836d756000) > /lib64/ld-linux-x86-64.so.2 (0x562bc2437000) > libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 > (0x7f836d539000) > > You should check if the libc.so.6 which is used is the one from > /lib/x86_64-linux-gnu or if another one is used. Looks like that fixed it! Thank you so much! - Chiraag signature.asc Description: PGP signature
Bug#817960: libc6: relocation error version GLIBC_PRIVATE not defined in file libc.so.6
On Sat, Mar 12, 2016 at 04:50:17PM +0100, Aurelien Jarno wrote: > Thanks for your screenshot, it definitely helps. The symbol > h_errno@GLIBC_PRIVATE has been renamed into __h_errno@GLIBC_PRIVATE in > glibc 2.22. > > Normally if you use both libpthread.so.0 and libc.so.6 from glibc 2.21 > and glibc 2.22 everything should work. In your case it seems after the > upgrade you end up with libc.so.6 from glibc 2.21 (instead of 2.22) > while libpthread.so.0 is from glibc 2.22. It might be you have a copy if > libc.so.6 somewhere in the locations ld.so is search for. > > Could you therefore please send me the output of "ldd /bin/ls" before > upgrading your system? That should give something like that: > > linux-vdso.so.1 (0x7ffe1013f000) > libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 > (0x7f836df6f000) > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f836dbcb000) > libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 > (0x7f836d95a000) > libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f836d756000) > /lib64/ld-linux-x86-64.so.2 (0x562bc2437000) > libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 > (0x7f836d539000) > > You should check if the libc.so.6 which is used is the one from > /lib/x86_64-linux-gnu or if another one is used. Oh damn...I don't know how this happened, but I had another libc.so.6 in /lib/ (*not* /lib/x86_64-linux-gnu). I removed it and will try upgrading in a snapshot so that if it still breaks I can always revert. - Chiraag signature.asc Description: PGP signature
Bug#817960: libc6: relocation error version GLIBC_PRIVATE not defined in file libc.so.6
On 2016-03-12 14:04, ಚಿರಾಗ್ ನಟರಾಜ್ wrote: > On Sat, Mar 12, 2016 at 12:15:13PM +0100, Aurelien Jarno wrote: > > Could you please give us the exact error message you encountered, > > including the symbol name (a photo is fine), so that we can narrow down > > the problem? At a first glance it looks like the libc has been partially > > upgraded, and that you now have a mix of both 2.21 and 2.22. > > I have attached a screenshot of what I'm getting (I made a LVM > snapshot this time and tried to upgrade the snapshot so it didn't > hose my actual system). It conks out when it's processing > triggers for man-db. Thanks for your screenshot, it definitely helps. The symbol h_errno@GLIBC_PRIVATE has been renamed into __h_errno@GLIBC_PRIVATE in glibc 2.22. Normally if you use both libpthread.so.0 and libc.so.6 from glibc 2.21 and glibc 2.22 everything should work. In your case it seems after the upgrade you end up with libc.so.6 from glibc 2.21 (instead of 2.22) while libpthread.so.0 is from glibc 2.22. It might be you have a copy if libc.so.6 somewhere in the locations ld.so is search for. Could you therefore please send me the output of "ldd /bin/ls" before upgrading your system? That should give something like that: linux-vdso.so.1 (0x7ffe1013f000) libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x7f836df6f000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f836dbcb000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x7f836d95a000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f836d756000) /lib64/ld-linux-x86-64.so.2 (0x562bc2437000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f836d539000) You should check if the libc.so.6 which is used is the one from /lib/x86_64-linux-gnu or if another one is used. Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net
Bug#817960: libc6: relocation error version GLIBC_PRIVATE not defined in file libc.so.6
On Sat, Mar 12, 2016 at 12:15:13PM +0100, Aurelien Jarno wrote: > > Could you please give us the exact error message you encountered, > including the symbol name (a photo is fine), so that we can narrow down > the problem? At a first glance it looks like the libc has been partially > upgraded, and that you now have a mix of both 2.21 and 2.22. > > Then we can instruct you how to fix your system, probably using > debian-installer in rescue mode. > > Aurelien > > -- > Aurelien Jarno GPG: 4096R/1DDD8C9B > aurel...@aurel32.net http://www.aurel32.net I fixed my system by downloading 21.9 from snapshot.debian.org and reinstalling libc6, libc6:i386, and all of the other packages (libc-bin, libc6-dev, libc-dev-bin, locales) from a livecd. Well then...when I upgrade within a virtual machine, everything's fine. What is this witchcraft?! - Chiraag signature.asc Description: PGP signature
Bug#817960: libc6: relocation error version GLIBC_PRIVATE not defined in file libc.so.6
On 2016-03-11 22:57, Chiraag Nataraj wrote: > Package: libc6 > Version: 2.22-2 > Severity: critical > Justification: breaks the whole system > > Dear Maintainer, > > When I upgrade from libc6 2.21-9 to 2.22-2, I get the error "relocation error > version GLIBC_PRIVATE not defined in file libc.so.6" whenever I launch most > programs (sed, grep, ls, etc.) and the program fails to start. This extends > to booting up and so the system is unbootable. Could you please give us the exact error message you encountered, including the symbol name (a photo is fine), so that we can narrow down the problem? At a first glance it looks like the libc has been partially upgraded, and that you now have a mix of both 2.21 and 2.22. Then we can instruct you how to fix your system, probably using debian-installer in rescue mode. Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net
Bug#817960: libc6: relocation error version GLIBC_PRIVATE not defined in file libc.so.6
Package: libc6 Version: 2.22-2 Severity: critical Justification: breaks the whole system Dear Maintainer, When I upgrade from libc6 2.21-9 to 2.22-2, I get the error "relocation error version GLIBC_PRIVATE not defined in file libc.so.6" whenever I launch most programs (sed, grep, ls, etc.) and the program fails to start. This extends to booting up and so the system is unbootable. -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.5.0-rc7-chiraag (SMP w/8 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)