Hi Joost, Success!
This is what I had to start with:- elm# cd /lib ; ll ld* -rwxr-xr-x 1 root root 161677 Jun 5 21:35 ld-2.0.4.so* -rwxr-xr-x 1 root root 22305 Jul 19 03:13 ld-linux.so.1.8.10* lrwxrwxrwx 1 root root 11 Jul 3 18:19 ld-linux.so.2 -> ld-2.0.4.so* -rwxr-xr-x 1 root root 20640 Mar 4 01:42 ld.so* -rwxr-xr-x 1 root root 103272 Jul 19 03:13 ld.so.1.8.10* I still had some functionality - the bash internals worked, mount and cp worked, so after a long look at your message I:- on another box, extracted ldso_1.9 to a floppy mounted the floppy in my box cd /lib cp /floppy/lib/ld-linux.so.1.9.2 . ln -s ld-linux.so.1.9.2 ld-linux.so.1 This left me with:- elm# ll ld* -rwxr-xr-x 1 root root 161677 Jun 5 21:35 ld-2.0.4.so* lrwxrwxrwx 1 root root 17 Jul 23 08:52 ld-linux.so.1 -> ld-linux.so.1.9.2* -rwxr-xr-x 1 root root 22305 Jul 19 03:13 ld-linux.so.1.8.10* -rwxr-xr-x 1 root root 22257 Jul 23 08:50 ld-linux.so.1.9.2* lrwxrwxrwx 1 root root 11 Jul 3 18:19 ld-linux.so.2 -> ld-2.0.4.so* -rwxr-xr-x 1 root root 20640 Mar 4 01:42 ld.so* -rwxr-xr-x 1 root root 103272 Jul 19 03:13 ld.so.1.8.10* elm# I installed a small package with dpkg to see how it went and then dpkg -i .../ldso_1.9.2-3 and it all seems fine. I didn't even lose my net connection. Many thanks, Joost. I hope that I carried out the intent if not the letter of your suggestions. I owe you one. I have a spare partition here and much spare time so any time you want a destructive test carried out, pehaps along the above lines, I am quite happy to oblige. Putting Debian back on from my cdrom (thank you, LSL) is a breeze. Lindsay =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Lindsay Allen <[EMAIL PROTECTED]> Perth, Western Australia voice +61 8 9316 2486 modem +61 8 9364-9832 32S, 116E http: http://rolf.ece.curtin.edu.au/~lindsay debian linux =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= On Tue, 22 Jul 1997, joost witteveen wrote: > > My box has both libc5 and libc6 installed. I just made a mistake and > > downgraded ldso_1.9.2-2 to ldso_1.8.10-2.1. Now I don't seem to be able > > to run any commands - certainly not dpkg at any rate. So I am between a > > rock and a hard place, as the saying goes. > > > > I have another two debian boxes here so I can access ldso_1.9.2-3 and I > > can run a rescue disk, but I don't know how to fix it by hand. Once I > > reboot I lose my net connection until it is fixed, so I would appreciate > > some expert help. > > I've been in this situation too, and now (months aferwords) I realise that > probably the way to fix this is by typing: > > cd /lib > echo ld* > > Now you will see a list of ld* files. On my (working) system, I have > /lib# ls ld* > ld-2.0.4.so* ld-linux.so.1.9.2* ld.so* > ld-linux.so.1@ ld-linux.so.2@ > > I believe you will mis at least two symlinks here, but I'm not sure > which ones any more. > > Then, type > > /lib# cat ld-linux.so.1.9.2 > ld-linux.so.1 > or > /lib# cat ld-2.0.4.so > ld-linux.so.2 > > (replacing ld-linux.so.1 or ld-linux.so.2 by whatever links > you are missing, possibly ld.so). > > After that, I *think* you've got a wroking system again. > > Please, Please, tell me if this worked! > > > -- > joost witteveen, [EMAIL PROTECTED] > #!/usr/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj > $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 > lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) > #what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/ > -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .