Re: libc6 messed up, no success recovering
Ben, Thanks. Since my original aim was to downgrade my g++ from 2.95.4 to 2.95.2, I had briefly switched from woody to potato in order to get the older version of g++. Thus my system is currently a mix, and the libc file I'm trying to install is from the potato version, but the rest of my system is woody. I had been using the potato rescue and root disks, but I've just switched to using the woody disks. With the woody rescue & boot disks the error message has changed. Now, when I try to run dpkg-deb, I get /target/usr/bin/dpkg-deb: relocation error: /target/usr/bin/dpkg-deb: symbol fgetpos, version GLIBC_2.2 not defined in file libc.so.6 with link time reference. ...ldconfig runs. But when I reboot (using the hard drive) I still get the same message: init: /lib/libc.so.6: version `GLIBC_2.2' not found (required by init) Kernel panic: Attempted to kill init! do you have any other recommendations? Thanks, Scott On Mon, 10 Dec 2001, Ben Collins wrote: > On Mon, Dec 10, 2001 at 05:05:48PM +0100, Scott H. Hawley wrote: > > > > # dpkg --x /mnt/var/cache/apt/archives/libc6*deb /mnt > > /mnt/usr/bin/dpkg: /lib/libc.so.6: version `GLIBC_2.2.3' not found > > (required by /mnt/usr/bin/dpkg) > > > > Make sure you are using a rescue disk that corresponds to your running > system (e.g. potato for potato system). > > > Ben > > -- > .--===-=-==-=---==-=-. > / Ben Collins--Debian GNU/Linux \ > ` [EMAIL PROTECTED] -- [EMAIL PROTECTED] -- [EMAIL PROTECTED] ' > `---=--===-=-=-=-===-==---=--=---' > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > ... Dr. Scott H. Hawley Office 1.33 http://www.aei-potsdam.mpg.de/~shawley MPI f?r Gravitationsphysik, Albert-Einstein-InstitutTel. +49 (331) 567-7327 Am M?hlenberg 1, D-14476 Golm, Germany Fax +49 (331) 567-7298
Re: libc6 messed up, no success recovering
On Mon, Dec 10, 2001 at 05:05:48PM +0100, Scott H. Hawley wrote: > > # dpkg --x /mnt/var/cache/apt/archives/libc6*deb /mnt > /mnt/usr/bin/dpkg: /lib/libc.so.6: version `GLIBC_2.2.3' not found (required > by /mnt/usr/bin/dpkg) > Make sure you are using a rescue disk that corresponds to your running system (e.g. potato for potato system). Ben -- .--===-=-==-=---==-=-. / Ben Collins--Debian GNU/Linux \ ` [EMAIL PROTECTED] -- [EMAIL PROTECTED] -- [EMAIL PROTECTED] ' `---=--===-=-=-=-===-==---=--=---'
libc6 messed up, no success recovering
I read with interest the thread "removed libc6, how to recover" on this list. (http://lists.debian.org/debian-user/2000/debian-user-22/msg02109.html) But the instructions didn't help me. > Assuming the .deb of libc6 is still on your system (in > /var/cache/apt/archives/), you might try booting from your rescue disk, > switch to VC2 where you have a shell, mount your regular filesystem(s) under > /mnt and try something like > dpkg-deb --x /mnt/var/cache/apt/archives/libc6*deb /mnt > ldconfig -r /mnt I booted with a rescue floppy, then switched to the root floppy, and was able to mount the various partititions on my hard drive. But when I try to run dpkg (I don't seem to have dpkg-deb), I get the error message: # dpkg --x /mnt/var/cache/apt/archives/libc6*deb /mnt /mnt/usr/bin/dpkg: /lib/libc.so.6: version `GLIBC_2.2.3' not found (required by /mnt/usr/bin/dpkg) ...now, earlier, while dpkg was still running (before I rebooted) I had managed to run # dpkg -x /var/cache/apt/archives/libc6*deb /var/cache/apt/archives/temp. ...so I tried manually copying files from this temp directory into their corresponding locations on the disk (e.g. "cp temp/etc/* /etc/" and so on...). And even at that point, ldconfig was still running (I haven't tried it again.) THAT DIDN'T WORK EITHER. So now, when I try to boot to the main disk, I get the message: init: /lib/libc.so.6: version `GLIBC_2.2' not found (required by init) Perhaps the chronology of what I've done is not very clear, but... please tell me how to fix my computer! :-( Thanks Scott Hawley [EMAIL PROTECTED]