Re: multilib followup: caution about remnant shared library files
On Fri, Jan 11, 2013 at 2:13 AM, Steve Langasek <vorlon@debian.org> wrote:
> Hi Paul,
>
> On Fri, Jan 11, 2013 at 12:19:38AM -0600, Paul Johnson wrote:
>> However, some packages don't remove their own files (or, at least,
>> they don't get it done for me). In the packaging, there are multilib
>> instructions, to assure the removal of files from /usr/lib when the
>> new are installed in the new folders. However, some packages
>> malfunction, and so you are left with the old shared library files. I
>> was having a devil of a time building some packages because the build
>> system was finding libraries that I thought had been removed in
>> /usr/lib.
>
>> I used a handy Debian tool "cruft" to survey the situation, and here
>> are some of the "abandoned" library files that were left in /usr/lib:
>
>> libanl-2.11.2.so
>> libanl.so.1
>> libBrokenLocale-2.11.2.so
>> libBrokenLocale.so.1
>> libcidn-2.11.2.so
>> libcidn.so.1
>> libcrypt-2.11.2.so
>> libcrypt.so.1
>> libgcc_s.so.1
>> libmemusage.so
>> libnss_compat-2.11.2.so
>> libnss_compat.so.2
>> libnss_dns-2.11.2.so
>> libnss_dns.so.2
>> libnss_files-2.11.2.so
>> libnss_files.so.2
>> libnss_hesiod-2.11.2.so
>> libnss_hesiod.so.2
>> libnss_nis-2.11.2.so
>> libnss_nisplus-2.11.2.so
>> libnss_nisplus.so.2
>> libnss_nis.so.2
>> libpcprofile.so
>> libresolv-2.11.2.so
>> libresolv.so.2
>> libSegFault.so
>> libthread_db-1.0.so
>> libthread_db.so.1
>
> These files are all from glibc. The glibc package has never been installed
> to /usr/lib: it installs to /lib. So what you have here is a local install
> of eglibc on your disk, not installed by Debian. (It's also a version of
> glibc, 2.11.2, which was not included in any stable Debian release.) So
> this isn't something that Debian should have handled for you as part of an
> upgrade.
>
Hi Steve
I promise you I never manually installed any glibc. The only things I
have in /lib and /usr/lib come from packages. All those files I
listed WERE in /lib, not /usr/lib. I had other un-owned libraries in
/usr/lib, though.
The more intriguing point you make is that the versions that I listed
were never part of any debian package. I'll believe you, but they must
have come from somewhere. It appears to me I must have gotten them
from Debian "sid" by making a repository error. At one time, I did
need some packages from sid to make the wireless work.
> Cheers,
> --
> Steve Langasek Give me a lever long enough and a Free OS
> Debian Developer to set it on, and I can move the world.
> Ubuntu Developer http://www.debian.org/
> slangasek@ubuntu.com vorlon@debian.org
--
Paul E. Johnson
Professor, Political Science Assoc. Director
1541 Lilac Lane, Room 504 Center for Research Methods
University of Kansas University of Kansas
http://pj.freefaculty.org http://quant.ku.edu
Reply to: