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

Re: IMP: downgrad of ldso removes ldso!



Hello, Here I am again -- my system is working again!


I promesed more info on what happened. Here is about the full
transcripted of the dpkg session in whitch I tried to downgrade
my ldso:

rulcmc:/mnt/d/ftp/debian/bo/binary-i386/base# dpkg -i ldso_1.8.10-2.deb 
dpkg - warning: downgrading ldso from 1.9.2-1 to 1.8.10-2.
(Reading database ... 
dpkg: serious warning: files list file for package `picon-usenix' missing, assuming package has no files currently installed.
41199 files and directories currently installed.)
Preparing to replace ldso 1.9.2-1 (using ldso_1.8.10-2.deb) ...
Unpacking replacement ldso ...
dpkg (subprocess): failed to exec rm for cleanup: No such file or directory
dpkg: error while cleaning up:
 subprocess rm cleanup returned error exit status 2
Setting up ldso (1.8.10-2) ...
dpkg (subprocess): failed to exec md5sum: No such file or directory
dpkg: error processing ldso (--install):
 subprocess md5sum returned error exit status 2
Errors were encountered while processing:
 ldso
rulcmc:/mnt/d/ftp/debian/bo/binary-i386/base# ls
bash: /bin/ls: No such file or directory
rulcmc:/mnt/d/ftp/debian/bo/binary-i386/base# ldconfig
rulcmc:/mnt/d/ftp/debian/bo/binary-i386/base# ls
bash: /bin/ls: No such file or directory
rulcmc:/mnt/d/ftp/debian/bo/binary-i386/base# mv
bash: /bin/mv: No such file or directory


*****************************

Thanks haven, I still had another (rulvsc) Linux system running,
that had the homedisk of my own systme (rulcmc) mounted
rw. On rulvsc, I downloaded the fileutils sources, compiled
them, and linked them statically, and then copied them on the
disk that still was mounted rw (I figure nfsd was the only process
still running my my own system, anything else (ftpd, etc) was dead).

So, the static utils ended up in ~joostje/st/, and here is
how i fixed it:
*****************************

rulcmc:/lib$ alias sls=~joostje/st/cp
rulcmc:/lib$ sls -al ld*
-rwxr-xr-x   1 root     root        22181 Mar  3 18:42 ld-linux.so.1.8.10
-rwxr-xr-x   1 root     root        20640 Feb  9 07:59 ld.so
-rwxr-xr-x   1 root     root        20640 Mar  3 18:42 ld.so.1.8.10

rulcmc:/lib# alias scp=~joostje/st/cp

rulcmc:/lib# scp ~joostje/st/ld-linux.so.1
ld-linux.so.1      ld-linux.so.1.8.2  
rulcmc:/lib# scp ld-linux.so.1.8.10 ld-linux.so.1      
rulcmc:/lib# ls
cdrom.so             libdl.so             libreadline.so.2
cpp                  libdl.so.1           libreadline.so.2.0
ld-linux.so.1        libdl.so.1.8.10      libreadline.so.2.1
ld-linux.so.1.8.10   libe2p.so.2          librl.so.2
ld.so                libe2p.so.2.2        librl.so.2.0.3
ld.so.1.8.10         libext2fs.so.2       libss.so.2
libc.so.4            libext2fs.so.2.1     libss.so.2.0
libc.so.4.6.27       libm.so.4            libtermcap.so.2
libc.so.5            libm.so.4.6.27       libtermcap.so.2.0.8
libc.so.5.4.23       libm.so.5            libuuid.so.1
libcom_err.so.2      libm.so.5.0.8        libuuid.so.1.0
libcom_err.so.2.0    libncurses.so.3.0    modules
libcurses.so.0       libproc.so.1.11
libcurses.so.0.1.2   libreadline.so

Thank heaven, I've got my system back again!

It was *fun*, especially as I *was* installing a bo system,
while bo is suppoesed to be released tomorrow :).

Going to bed now,

-- 
joost witteveen, joostje@debian.org
#!/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*',/((..)*)$/)


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: