Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem upgrading to libc6 2.5-9 amd64

17 views
Skip to first unread message

pedxing

unread,
Jun 6, 2007, 4:30:10 AM6/6/07
to
I ran into this problem when trying to do my weekly aptitude upgrade
on an AMD64 system running Lenny:
----
Preparing to replace libc6 2.3.6.ds1-13 (using .../archives/
libc6_2.5-9_amd64.deb) ...
Unpacking replacement libc6 ...
dpkg: error processing /var/cache/apt/archives/libc6_2.5-9_amd64.deb
(--unpack):
trying to overwrite `/usr/lib64', which is also in package gtk-qt-
engine
Errors were encountered while processing:
/var/cache/apt/archives/libc6_2.5-9_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.5-9); 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 locales:
locales depends on glibc-2.5-1; however:
Package glibc-2.5-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.5-5); 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
locales
binutils
----

Is this just a transient condition, or do I have a problem? Should I
be reporting a bug?

-Ped


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Florian Kulzer

unread,
Jun 7, 2007, 3:50:09 AM6/7/07
to

It seems to be bug #421581 which is fixed in Sid. You could try to
install the Sid version of gtk-qt-engine or wait until it comes to
Lenny. You can probably also temporarily uninstall gtk-qt-engine if you
want to upgrade libc6 now without putting Sid packages on your system.
(Using dpkg with --force-overwrite should also allow you to install the
new version of libc6, but I would avoid resorting to --force-* unless
absolutely necessary.)

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |

pedxing

unread,
Jul 19, 2007, 5:10:18 AM7/19/07
to
On Jun 7, 9:50 am, Florian Kulzer <florian.kulzer+deb...@icfo.es>
wrote:

I guess I'm not too clear on how the package flow from unstable to
testing is supposed to work. I figured that it would get fixed in
unstable (it did), and then would "trickle down" to testing (it
hasn't).

This condition is preventing me from applying -any- updates, so I've
got a huge backlog of updates. I figured I would just be patient and
wait, but it's been 1.5 months since I've been able to update my
system at all.

I don't want to put Sid packages on my Lenny system and I don't want
to force anything. But I also don't want to sit here without any
updates. Removing gtk-qt-engine isn't really an option because of all
of the dependencies.

Is my system hosed? If so how? I don't see anyone else having this
problem, but I can't believe I have to re-install because I have
always been good about only using aptitude to do regular updates (ie.,
no pinning, no funny business forcing packages, etc.).

What have I done wrong, and how can I get back to normal?

-pedxing

Florian Kulzer

unread,
Jul 19, 2007, 10:10:11 AM7/19/07
to
On Thu, Jul 19, 2007 at 08:39:41 -0000, pedxing wrote:
> On Jun 7, 9:50 am, Florian Kulzer wrote:
> > On Wed, Jun 06, 2007 at 08:04:54 -0000, pedxing wrote:
> > > I ran into this problem when trying to do my weekly aptitude upgrade
> > > on an AMD64 system running Lenny:
> > > ----
> > > Preparing to replace libc6 2.3.6.ds1-13 (using .../archives/
> > > libc6_2.5-9_amd64.deb) ...
> > > Unpacking replacement libc6 ...
> > > dpkg: error processing /var/cache/apt/archives/libc6_2.5-9_amd64.deb
> > > (--unpack):
> > > trying to overwrite `/usr/lib64', which is also in package gtk-qt-
> > > engine

[...]

> > It seems to be bug #421581 which is fixed in Sid. You could try to
> > install the Sid version of gtk-qt-engine or wait until it comes to
> > Lenny. You can probably also temporarily uninstall gtk-qt-engine if you
> > want to upgrade libc6 now without putting Sid packages on your system.
> > (Using dpkg with --force-overwrite should also allow you to install the
> > new version of libc6, but I would avoid resorting to --force-* unless
> > absolutely necessary.)
>
> I guess I'm not too clear on how the package flow from unstable to
> testing is supposed to work. I figured that it would get fixed in
> unstable (it did), and then would "trickle down" to testing (it
> hasn't).

The fixed version of gtk-qt-engine (1:0.8~svn-rev36-2) is available in
testing.

> This condition is preventing me from applying -any- updates, so I've
> got a huge backlog of updates. I figured I would just be patient and
> wait, but it's been 1.5 months since I've been able to update my
> system at all.

I think that your system is stuck at the moment because apt is
determined to fix the libc6 problem before doing anything else. You will
have to help things along a bit (see details below).



> I don't want to put Sid packages on my Lenny system and I don't want
> to force anything. But I also don't want to sit here without any
> updates. Removing gtk-qt-engine isn't really an option because of all
> of the dependencies.
>
> Is my system hosed? If so how? I don't see anyone else having this
> problem, but I can't believe I have to re-install because I have
> always been good about only using aptitude to do regular updates (ie.,
> no pinning, no funny business forcing packages, etc.).
>
> What have I done wrong, and how can I get back to normal?

You did not do anything wrong; you just had bad luck and performed an
upgrade at the wrong time.

I think you can eliminate the problem like this:

1) Download the fixed version of gtk-qt-engine:

wget http://ftp.debian.org/pool/main/g/gtk-qt-engine/gtk-qt-engine_0.8~svn-rev36-2_amd64.deb

2) Shut down X, go to a tty and become root. Then install the new
version that you just downloaded:

dpkg -i gtk-qt-engine_0.8~svn-rev36-2_amd64.deb

3) Now it should be possible to complete the installation of libc6:

dpkg -i /var/cache/apt/archives/libc6_2.5-9_amd64.deb

4) Apt should be able to fix the rest on its own after that:

apt-get install -f

5) Now you should be back in business.

--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |

Florian Kulzer

unread,
Jul 19, 2007, 11:20:10 AM7/19/07
to
On Thu, Jul 19, 2007 at 15:33:48 +0200, Florian Kulzer wrote:
> On Thu, Jul 19, 2007 at 08:39:41 -0000, pedxing wrote:
> > On Jun 7, 9:50 am, Florian Kulzer wrote:
> > > On Wed, Jun 06, 2007 at 08:04:54 -0000, pedxing wrote:
> > > > I ran into this problem when trying to do my weekly aptitude upgrade
> > > > on an AMD64 system running Lenny:
> > > > ----
> > > > Preparing to replace libc6 2.3.6.ds1-13 (using .../archives/
> > > > libc6_2.5-9_amd64.deb) ...
> > > > Unpacking replacement libc6 ...
> > > > dpkg: error processing /var/cache/apt/archives/libc6_2.5-9_amd64.deb
> > > > (--unpack):
> > > > trying to overwrite `/usr/lib64', which is also in package gtk-qt-
> > > > engine

[...]

> I think you can eliminate the problem like this:


>
> 1) Download the fixed version of gtk-qt-engine:
>
> wget http://ftp.debian.org/pool/main/g/gtk-qt-engine/gtk-qt-engine_0.8~svn-rev36-2_amd64.deb
>
> 2) Shut down X, go to a tty and become root. Then install the new
> version that you just downloaded:
>
> dpkg -i gtk-qt-engine_0.8~svn-rev36-2_amd64.deb

I realized that this will not work because the new version of
gtk-qt-engine depends on the new version of libc6, which you cannot
currently install because of the file conflict with the old version of
gtk-qt-engine.

I am afraid you have to break this deadlock by force:

dpkg --force-overwrite -i /var/cache/apt/archives/libc6_2.5-9_amd64.deb

dpkg -i gtk-qt-engine_0.8~svn-rev36-2_amd64.deb

apt-get install -f

pedxing

unread,
Jul 24, 2007, 12:30:14 PM7/24/07
to
On Jul 19, 5:20 pm, Florian Kulzer <florian.kulzer+deb...@icfo.es>

wrote:
> On Thu, Jul 19, 2007 at 15:33:48 +0200, Florian Kulzer wrote:
> > On Thu, Jul 19, 2007 at 08:39:41 -0000, pedxing wrote:
> > > On Jun 7, 9:50 am, Florian Kulzer wrote:
> > > > On Wed, Jun 06, 2007 at 08:04:54 -0000, pedxing wrote:
> > > > > I ran into this problem when trying to do my weekly aptitude upgrade
> > > > > on an AMD64 system running Lenny:
> > > > > ----
> > > > > Preparing to replace libc6 2.3.6.ds1-13 (using .../archives/
> > > > > libc6_2.5-9_amd64.deb) ...
> > > > > Unpacking replacement libc6 ...
> > > > > dpkg: error processing /var/cache/apt/archives/libc6_2.5-9_amd64.deb
> > > > > (--unpack):
> > > > > trying to overwrite `/usr/lib64', which is also in package gtk-qt-
> > > > > engine
>
> [...]
>
> > I think you can eliminate the problem like this:
>
> > 1) Download the fixed version of gtk-qt-engine:
>
> > wgethttp://ftp.debian.org/pool/main/g/gtk-qt-engine/gtk-qt-engine_0.8~svn...

>
> > 2) Shut down X, go to a tty and become root. Then install the new
> > version that you just downloaded:
>
> > dpkg -i gtk-qt-engine_0.8~svn-rev36-2_amd64.deb
>
> I realized that this will not work because the new version of
> gtk-qt-engine depends on the new version of libc6, which you cannot
> currently install because of the file conflict with the old version of
> gtk-qt-engine.
>
> I am afraid you have to break this deadlock by force:
>
> dpkg --force-overwrite -i /var/cache/apt/archives/libc6_2.5-9_amd64.deb

This indeed broke the deadlock.

> dpkg -i gtk-qt-engine_0.8~svn-rev36-2_amd64.deb

This didn't work, but I was able to work out the rest with a few
passes of aptitude. My faith in the robustness of the Debian
packaging system has been renewed...

Thank you Florian!

-pedxing

0 new messages