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

Re: apt-get /lib/ld-linux.so.3 deletion screwup disaster



On Wednesday 08 May 2013, Wookey wrote:
> +++ Phil Endecott [2013-05-08 09:13 +0000]:
> > Wookey <wookey <at> wookware.org> writes:
> > > Your original install was built before the name for the armhf linker
> > > was agreed between distros. Once it was agreed (with a different path
> > > to the one Debian originally picked) everything had to be
> > > (incompatibly) rebuilt.
> > 
> > Hmmm.  It's disappointing that apt didn't know about this.  Isn't this
> > sort of compatibility between packages exactly the sort of thing that it
> > is supposed to track?
> 
> No, not for unreleased early port builds. It (we) would manage such a
> transition if it was in a released port, but that's a big pile of work
> we decided wasn't worthwhile/necessary in this case.
> 
> > Anyway, I'm still unsure what I should do now.  Presumably I will have to
> > do some sort of apt-get upgrade to replace all packages (or at least all
> > packages with executables).  But I think the first thing it will try to
> > do is to replace libc again, and delete /lib/ld-linux.so.3.  Maybe I
> > should make the symlink immutable, or something.
> 
> Yes, replacing libc (carefully, with a root shell open) fix up symlink
> (until upgrade complete) and then everything else should work.
> 
> Don't forget to re-install everything, not just stuff that has a new
> verison number (dpkg --reinstall, probably combined with a
--reinstall does not exist in either the command help (dpkg -?) or in
man dpkg.  If it exists should it not be documented?

David
> --get-selections and set-seletions)
> 
> 
> Wookey


Reply to: