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

Re: anybody help me? dependency problem: no way back???



Erik Norman <erik.norman@gmx.net> writes:

> I made an upgrade with atp-get after having installed some packages.
> I got some dependency problems, so I tried
>
> fzr:/# apt-get check
> Reading Package Lists... Done
> Building Dependency Tree... Done
> You might want to run `apt-get -f install' to correct these.
> The following packages have unmet dependencies:
>   libc6-dev: Depends: libc6 (= 2.3.2.ds1-20.0.0.1.pure64) but
> 2.3.2.ds1-20 is installed
> E: Unmet dependencies. Try using -f.

When did you do that? Retry please.

This situation should not happen. Since you couldn't have installed
libc6-dev with the libc6 you must have downgraded the libc6 post
installation without downgrading libc6-dev. But seeing that your
apt source has a different libc6 this is beyond me.

I can imagine hitting the other way around but not this.

If it still persists (but then this probably won't work):

apt-get install --reinstall libc6-dev=2.3.2.ds1-20

> fzr:/# apt-get install -f
> 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 59 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B/4318kB of archives.
> After unpacking 0B of additional disk space will be used.
> Do you want to continue? [Y/n] y
> (Reading database ... 87507 files and directories currently installed.)
> Preparing to replace libc6 2.3.2.ds1-20
> (using .../libc6_2.3.2.ds1-20.0.0.1.pure64_amd64.deb) ...

This should not exists anymore.

> Unpacking replacement libc6 ...
> dpkg: error
> processing /var/cache/apt/archives/libc6_2.3.2.ds1-20.0.0.1.pure64_amd64.deb (--unpack):
>  trying to overwrite `/usr/lib64', which is also in package xmms-kde

Now that, despite all else, is a bug in xmms-kde. You will hit the
same with libc6_2.3.2.ds1-20_amd64.deb.

Selecting previously deselected package xmms-kde.
(Reading database ... 19366 files and directories currently installed.)
Unpacking xmms-kde (from .../xmms-kde_3.1-1_amd64.deb) ...
Setting up xmms-kde (3.1-1) ...

The sarge and sid version installs fine and has no trace of /usr/lib64
in it. You either have an old, buggy version installed or you are not
using pure64.

> Errors were encountered while processing:
>  /var/cache/apt/archives/libc6_2.3.2.ds1-20.0.0.1.pure64_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> The problem is that I can't remove xmms-kd3, but I can't force any
> installation.
> HELP!

If all else fails:

dpkg --force-overwrite -i /var/cache/apt/archives/libc6_2.3.2.ds1-20.0.0.1.pure64_amd64.deb

or download the matching libc6-dev and dpkg -i it.


In any case you should reinstall libc6 and libc6-dev with apt-get
(using "=2.3.2.ds1-20" is best) as soon as possible just to be sure
all files belonging to libc6 are registered to libc6 and you don't get
any surprises later on.

MfG
        Goswin



Reply to: