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

Bug#630608: [bash] Everything Segfaults After lib6 -7 Upgrade



On Tue, Jun 21, 2011 at 07:23:46PM +0300, David Baron wrote:
> On Tuesday 19 Sivan 5771 18:21:35 Aurelien Jarno wrote:
> > Le 21/06/2011 16:59, David Baron a écrit :
> > >> > I, of course, did not touch the 2.13 ones. There are actually only a
> > >> > few
> > >> > 
> > >> > of them but are locally symlinked. There would be three version of
> > >> > 
> > >> > these, on /lib, lib/i386-gnu... and /lib/i686/cmov. The ones I checked
> > >> > a
> > >> > 
> > >> > all different.
> > >> > 
> > >> > 
> > >> > 
> > >> > 
> > >> > 
> > >> > Should the /lib ones be actually be removed? Should their symlinks be
> > >> > 
> > >> > first changed to the i386 versions (like others in /lib ... and why is
> > >> > 
> > >> > there an i686/cmov if it is not being used?) Hopefully this can be
> > >> > 
> > >> > achieved without (temporarily) hosing the system. Another reason I
> > >> > feel
> > >> > 
> > >> > the scripts should handle this stuff. All the 2.13 files are
> > >> > legal-dpkg
> > >> > 
> > >> > items.
> > >> 
> > >> There should not be any 2.13 file in /lib/ and /lib/i686/cmov should not
> > >> 
> > >> exist anymore. If all these 2.13 files are legal dpkg, can you please
> > >> 
> > >> tell us in which packages they are and in which versions?
> > > 
> > > OK, i686/cmov has been moved to /lib/i386-linux-gnu. So why did not dpkg
> > > remove the originals (those were not files I copied)?
> > 
> > These files are provided by libc6-i686. Are you sure this package is
> > correctly upgraded? What is the dpkg status about this one?
> > 
> > > libc6 stuff now goes to /lib/i386-linux-gnu so why does this stuff still
> > > exist in /lib (those were not files I copied)?
> > 
> > That's a very good question, if the files haven't been installed by you
> > (for example by using dpkg -x) and if the package is correctly upgraded
> > (look at the dpkg status), this looks like a dpkg bug.
> > 
> > > So do I simply remove EVERYTHING-2.13... from /lib, so's and symlinks?
> > 
> > Yes, with the only exception of the /lib/ld-linux.so.2 ->
> > /lib/i386-linux-gnu/ld-2.13.so symlink.
> 
> Done. Look OK, have iconv stuff, manpages back as well.
> Much thanks for the patience and the help.
> Do please check over the pre/post/install scripts involved so this mess does 
> not recur :-)

I don't really know what can be done, the preinst script already abort
the installation if a non-dpkg owned version of ld.so is found. After
all why the preinst script should take care about files which have been
placed there by the user?

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net



Reply to: