Re: Updating libc6
Am Mittwoch 25 Juli 2007 schrieb Pedro Sousa:
> Hello all,
>
> I don't know if this is specific from debian amd64 , but I'll post here. I
> apologize if I'm wrong.
>
> I'm running debian etch (stable), and I would like to update to testing,
> because there exists some software versions I need. For that I updated the
> sources.list file and try to update, by using the command
>
> aptitude dist-upgrade -u
> (of course I have done previously `aptitude update`)
>
> After, it appeared the following error
>
> (Reading database ... 187234 files and directories currently installed.)
> Preparing to replace libc6 2.3.6.ds1-13 (using
> ../archives/libc6_2.6-2_amd64.deb) ...
> Unpacking replacement libc6 ...
> dpkg: error processing /var/cache/apt/archives/libc6_2.6-2_amd64.deb
> (--unpack): trying to overwrite `/usr/lib64', which is also in package
> virtualbox
> Errors were encountered while processing:
> /var/cache/apt/archives/libc6_2.6-2_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install. Trying to recover:
> dpkg: dependency problems prevent configuration of libc6-dev:
> libc6-dev depends on libc6 (= 2.6-2); however:
> Version of libc6 on system is 2.3.6.ds1-13.
> dpkg: error processing libc6-dev (--configure):
> dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of libc6-i386:
> libc6-i386 depends on libc6 (= 2.6-2); however:
> Version of libc6 on system is 2.3.6.ds1-13.
> dpkg: error processing libc6-i386 (--configure):
> dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of locales:
> locales depends on glibc-2.6-1; however:
> Package glibc-2.6-1 is not installed.
> dpkg: error processing locales (--configure):
> dependency problems - leaving unconfigured
> dpkg: dependency problems prevent configuration of binutils:
> binutils depends on libc6 (>= 2.6-1); however:
> Version of libc6 on system is 2.3.6.ds1-13.
> dpkg: error processing binutils (--configure):
> dependency problems - leaving unconfigured
> Errors were encountered while processing:
> libc6-dev
> libc6-i386
> locales
> binutils
>
> Then I try to update the libc6 alone and the error was the same.
>
> What can I do to update my system?
>
> Thanks in advance
> Pedro Sousa
Hi Pedro,
this is a bug in the package. The maintainer will fix it.
If you know, what you do, then got into /var/cache/apt/archives and install
the libc-package manually using dpkg --force-overwrite -i libc6-XXXXX.deb
Then you can do apt-get upgrade or apt-get dist-upgrade as you wish.
Good luck !
Hans
Reply to: