remove packages

Tom H tomh0665 at gmail.com
Wed Nov 24 15:59:00 UTC 2010


On Wed, Nov 24, 2010 at 8:58 AM, Richard Gliebe <richard.gliebe at fhv.at> wrote:
> On 11/24/10 2:29 PM Tom H wrote:
>>
>> You should be able to upgrade to the latest version of libc6 with
>> "apt-get install libc6"/"aptitude install libc6"/"apt-get install
>> --reinstall libc6"/"aptitude reinstall libc6".
>
> no change.
> ....
> # apt-get update && apt-get install --reinstall libc6
> .....
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Suggested packages:
>   glibc-doc libc6-i686
> The following packages will be upgraded:
>   libc6
> 1 upgraded, 0 newly installed, 0 to remove and 56 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B/4566kB of archives.
> After this operation, 270kB of additional disk space will be used.
> Preconfiguring packages ...
> (Reading database ... 25833 files and directories currently installed.)
> Preparing to replace libc6 2.7-18 (using
> .../libc6_2.7-18lenny6_i386.deb) ...
>
> A non-dpkg owned copy of the libc6-i686 package was found.
> It is not safe to upgrade the C library in this situation;
> please remove that copy of the C library and try again.
> dpkg: error processing
> /var/cache/apt/archives/libc6_2.7-18lenny6_i386.deb (--unpack):
>  subprocess pre-installation script returned error exit status 1
> Errors were encountered while processing:
>  /var/cache/apt/archives/libc6_2.7-18lenny6_i386.deb

Looking at "/var/lib/dpkg/info/libc6.preinst" points to a problem with
the existence of a "libc.so.6" in "/lib/tls/i686/cmov" or
"/lib/i686/cmov". Possibly renaming "libc.so.6" in these directories
and running "apt-get install --reinstall libc6" should install the
latest libc6 successfully - unless apt-get needs one of those
"libc.so.6" files.


>>>> Are you running Hardy?
>>> # cat /etc/issue
>>> Debian GNU/Linux 5.0
>>>
>>> # cat /etc/motd
>>> Linux sessions2 2.6.26-2-686 #1 SMP Wed Aug 19 06:06:52 UTC 2009 i686
>>
>> OK. Didn't think that you'd be able to run Hardy with a Lenny libc.
>
> What do you exactly meen?
>
> here is my sources.list
>
> deb http://ftp.at.debian.org/debian/ lenny main
> deb-src http://ftp.at.debian.org/debian/ lenny main
>
> deb http://security.debian.org/ lenny/updates main
> deb-src http://security.debian.org/ lenny/updates main
>
> deb http://volatile.debian.org/debian-volatile lenny/volatile main
> deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

This is a Ubuntu list so given that libc6 was v 2.7.x, I/we had to
assume that you're running Hardy (Ubuntu 8.04) and that you're running
a foreign libc6.




More information about the ubuntu-users mailing list