Bug#780585: Mysterious failure to update/install packages
Hi!
> Package: dpkg
> Version: 1.17.23
> Severity: normal
>
> I had to test something quickly in an older sid chroot (hence the many
> not updated packages) and updating libgcc1 + libc6 failed without
> clear reason why. Running dpkg --configure -a configured the 2
> packages just fine.
>
> I'm unsure what went wrong there. Is dpkg screwing up the order in
> which packages get configured or is apt-get? Or what ios going on there?
>> dpkg does what it is told, I'm assuming some problem in apt, or its
>> invocation.
I've been bitten by this bug during the libc6:amd64|i386 update
yesterday. Here is what aptitude has to say:
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
Preconfiguring packages ...
dpkg: error processing package libc6:amd64 (--configure):
package libc6:amd64 2.19-17 cannot be configured because libc6:i386 is at a different version (2.19-15)
dpkg: dependency problems prevent configuration of apt:
apt depends on libc6 (>= 2.15); however:
Package libc6:amd64 is not configured yet.
dpkg: error processing package apt (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6:amd64
apt
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
dpkg: error processing package libc6:amd64 (--configure):
package libc6:amd64 2.19-17 cannot be configured because libc6:i386 is at a different version (2.19-15)
dpkg: error processing package libc6:i386 (--configure):
package libc6:i386 2.19-15 cannot be configured because libc6:amd64 is at a different version (2.19-17)
dpkg: dependency problems prevent configuration of apt:
apt depends on libc6 (>= 2.15); however:
Package libc6:amd64 is not configured yet.
dpkg: error processing package apt (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc-dev-bin:
libc-dev-bin depends on libc6 (>> 2.19); however:
Package libc6:amd64 is not configured yet.
libc-dev-bin depends on libc6 (<< 2.20); however:
Package libc6:amd64 is not configured yet.
dpkg: error processing package libc-dev-bin (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc6-dev:amd64:
libc6-dev:amd64 depends on libc6 (= 2.19-17); however:
Package libc6:amd64 is not configured yet.
libc6-dev:amd64 depends on libc-dev-bin (= 2.19-17); however:
Package libc-dev-bin is not configured yet.
dpkg: error processing package libc6-dev:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libc6-dbg:amd64:
libc6-dbg:amd64 depends on libc6 (= 2.19-17); however:
Package libc6:amd64 is not configured yet.
dpkg: error processing package libc6-dbg:amd64 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6:amd64
libc6:i386
apt
libc-dev-bin
libc6-dev:amd64
libc6-dbg:amd64
Press Return to continue.
Running dpkg directly with 'dpkg -a --configure' fails; apt-get, too
(Beeing a fool, I've tried downgrading apt before running apt-get):
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
lib32stdc++6 libc6-x32 locales
The following NEW packages will be installed:
lib32stdc++6 libc6-x32
The following packages will be upgraded:
locales
1 upgraded, 2 newly installed, 0 to remove and 42 not upgraded.
6 not fully installed or removed.
Need to get 0 B/6,801 kB of archives.
After this operation, 11.3 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
Preconfiguring packages ...
dpkg: error processing package libc6:amd64 (--configure):
package libc6:amd64 2.19-17 cannot be configured because libc6:i386 is at a different version (2.19-15)
dpkg: dependency problems prevent configuration of apt:
apt depends on libc6 (>= 2.15); however:
Package libc6:amd64 is not configured yet.
dpkg: error processing package apt (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libc6:amd64
apt
E: Sub-process /usr/bin/dpkg returned an error code (1)
Will my system survive a reboot in this state? Any help is
appreciated.
Toto
Reply to: