Re: install problem: libc6_2.3.2.ds1-21
On Thu, May 05, 2005 at 01:01:38PM -0400, Karl Hoppel wrote:
> I get the following error trying to upgrade libc6 using sid.
> Any suggestions or help is appreciated?
> Preparing to replace libc6 2.3.2.ds1-18 (using .../libc6_2.3.2.ds1-21_amd64.deb) ...
> Unpacking replacement libc6 ...
> dpkg: error processing /var/cache/apt/archives/libc6_2.3.2.ds1-21_amd64.deb (--unpack):
> trying to overwrite `/usr/lib64', which is also in package base-files
> Errors were encountered while processing:
> E: Sub-process /usr/bin/dpkg returned an error code (1)
The problem is that you didn't upgrade in a while and that this
version doesn't have the Conflicts + Replaces anymore that should
do the upgrade without problems for you.
To fix this do:
dpkg --force-overwrite -i /var/cache/apt/archives/libc6_2.3.2.ds1-21_amd64.deb
This will move the /usr/lib64 from base-files to libc6.
Then upgrade your base-files to the lastest version:
apt-get upgrade base-files
That should install base-files 3.1.2. (Or a 3.1.2-0.0.1)
If that didn't work try with apt-get install base-files=3.1.2
It should be fixed at that stage, but I suggest you follow it by:
dpkg -i /var/cache/apt/archives/libc6_2.3.2.ds1-21_amd64.deb
This makes sure the symlink is now owned by libc6.