[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: getting libc6 updated after uml-utilities screwup



Goswin and friends -

On Tue, Apr 18, 2006 at 02:15:29PM +0200, Goswin von Brederlow wrote:
> 
> You might want to try --force-overwrite.

That option is not documented in my apt-get man page.

> > dpkg: error processing /var/cache/apt/archives/libc6_2.3.6-7_amd64.deb (--unpack):
> >  trying to overwrite `/usr/lib64', which is also in package uml-utilities
> 
> This I believe is a dpkg bug. I'm not sure what needs to be done to
> circumvent this bug or if the only option is to fix dpkg for this
> case. It is an odd bug that I haven't had time to figure out yet.
> 
> What does "grep usr/lib64 /var/lib/dpkg/info/*.list" say?

/var/lib/dpkg/info/libc6.list:/usr/lib64
/var/lib/dpkg/info/uml-utilities.list:/usr/lib64
/var/lib/dpkg/info/uml-utilities.list:/usr/lib64/uml
/var/lib/dpkg/info/uml-utilities.list:/usr/lib64/uml/port-helper

> Your system is in an inconsitent state.

I noticed.   :-(

> You do have to follow the
> suggestion and run "apt-get -f install" or dpkg to fix the problem
> before normal apt operations can resume again.

I didn't give that as an example, but the results are no different
from the ones I showed:

# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies...Done
The following extra packages will be installed:
  libc6
Suggested packages:
  glibc-doc
The following packages will be upgraded:
  libc6
1 upgraded, 0 newly installed, 0 to remove and 183 not upgraded.
2 not fully installed or removed.
Need to get 0B/4074kB of archives.
After unpacking 5796kB disk space will be freed.
Do you want to continue [Y/n]? y
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done    
Reading changelogs... Done
(Reading database ... 50432 files and directories currently installed.)
Preparing to replace libc6 2.3.6-4 (using .../libc6_2.3.6-7_amd64.deb) ...
Unpacking replacement libc6 ...
dpkg: error processing /var/cache/apt/archives/libc6_2.3.6-7_amd64.deb (--unpack):
 trying to overwrite `/usr/lib64', which is also in package uml-utilities
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.3.6-7_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
#

    - Larry



Reply to: