[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help urgently needed before there's a blackout!



Deboo wrote:
I installed a package and along with it, libncurses5 of testing, which dd
not get installed but removed my woody libncurses5 and probably glibc too.
Now I am not able to run most commands nor able to even login. Would
someone be kind enough to tell me what can I do in this situation? Once I
logoff or reboot, I will be doomed ... and I have had a warning this could
happen automatic, since the lights here are fluctuation, meaning there
could be a blackout. So can someone please help?

I do not know what exact version of glibc is needed, I mean what package,
or I could fetch from packages.debian.org


This is what I get when I try to login:

-bash: /lib/libc.so.6: version `GLIBC_2.3' not found (required by
/lib/libncurses.so.5)


Please help!
Thanks a lot
Regards,
Deboo



Boot a KNOPPIK CD, download and upnack the .debs for libc,
ncurses, and whatever other packages you need to return to
a Woody version.  Unpack the downloaded .debs using dpkg -X
so that they overwrite the contents of the testing versions
of your packages.  chroot into your systems root fs and then
use apt to reinstall the packages, that way it tracks the
correct versions.

It should go something like this.

1. Boot KNOPPIX
2. Download the necessary .deb files from your favorite mirror
3. Open a shell
4. Execute these commands (assuming you replace libc and ncurses):

$ su -
# mount /mnt/hda1
# dpkg -X *.deb /mnt/hda1
# chroot /mnt/hda1/ /bin/bash
# apt-get install --reinstall libc6/stable libncurses5/stable

Please note that it is possible to this from your currently booted
system, but it is even more dangerous that way.

Consider it a hard lesson learned.

-Roberto Sanchez

P.S., if you really need newer versions of programs, but want
to keep running stable, check out www.apt-get.org, www.backports.org,
or just get the Debianized sources and build the .debs for your system.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: