remove packages

Richard Gliebe richard.gliebe at fhv.at
Wed Nov 24 13:58:45 UTC 2010


On 11/24/10 2:29 PM Tom H wrote:

Hi Tom,

this thing make me crazy.

> 
> 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
E: Sub-process /usr/bin/dpkg returned an error code (1)
.....

>>> 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 cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 NETINST 
Binary-1 20090906-12:06]/ lenny main

#deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 NETINST 
Binary-1 20090906-12:06]/ lenny main

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

many thanks
Richard




More information about the ubuntu-users mailing list