Bug#780585: Mysterious failure to update/install packages

2015-03-17 Thread Thorsten Bonow

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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#780585: Mysterious failure to update/install packages

2015-03-16 Thread Guillem Jover
Control: reassign -1 apt

[ Leaving most context for apt maintainers. ]

Hi!

On Mon, 2015-03-16 at 12:01:27 +0100, Goswin von Brederlow wrote:
 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.

 % sudo apt-get install libc6-dev:armel linux-libc-dev:armel libgcc1:armel 
 binutils-arm-linux-gnueabi libcloog-isl-dev systemtap-sdt-dev
 Reading package lists... Done
 Building dependency tree
 Reading state information... Done
 The following packages were automatically installed and are no longer 
 required:
   libbotan-1.10-0 libdv4 libiec61883-0 libpthread-stubs0-dev libqt5core5a
   libxcb-icccm4 libxcb-image0 libxcb-render-util0 libxcb-xkb1 qtcreator-data
   x11proto-kb-dev xorg-sgml-doctools xtrans-dev
 Use 'apt-get autoremove' to remove them.
 The following extra packages will be installed:
   binutils cpp-4.9 g++-4.9 gcc-4.9 gcc-4.9-base gcc-4.9-base:armel  
   gcc-4.9-base:i386 libasan1 libatomic1 libc-dev-bin libc6 libc6:i386
   libc6:armel libc6-dbg libc6-dev libcilkrts5 libgcc-4.9-dev libgcc1
   libgcc1:i386 libgfortran3 libgomp1 libitm1 liblsan0 libquadmath0  
   libstdc++-4.9-dev libstdc++6 libstdc++6:i386 libtsan0 libubsan0   
   linux-libc-dev locales locales-all
 Suggested packages:
   gcc-4.9-locales g++-4.9-multilib libstdc++6-4.9-dbg gcc-4.9-multilib
   libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan1-dbg  
   liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libquadmath0-dbg
   glibc-doc glibc-doc:i386 glibc-doc:armel manpages-dev:armel
   libstdc++-4.9-doc
 Recommended packages:
   libc6-i686:i386
 The following NEW packages will be installed:
   binutils-arm-linux-gnueabi gcc-4.9-base:armel libc6:armel libc6-dev:armel
   libcloog-isl-dev libgcc1:armel linux-libc-dev:armel systemtap-sdt-dev
 The following packages will be upgraded:
   binutils cpp-4.9 g++-4.9 gcc-4.9 gcc-4.9-base gcc-4.9-base:i386 libasan1
   libatomic1 libc-dev-bin libc6 libc6:i386 libc6-dbg libc6-dev libcilkrts5
   libgcc-4.9-dev libgcc1 libgcc1:i386 libgfortran3 libgomp1 libitm1 liblsan0
   libquadmath0 libstdc++-4.9-dev libstdc++6 libstdc++6:i386 libtsan0 libubsan0
   linux-libc-dev locales locales-all
 30 upgraded, 8 newly installed, 0 to remove and 1323 not upgraded.  
 Need to get 74.0 MB/74.1 MB of archives.
 After this operation, 41.7 MB of additional disk space will be used.
 Do you want to continue? [Y/n] y
 ...
 Fetched 74.0 MB in 9s (7666 kB/s)
 Extracting templates from packages: 100%
 Preconfiguring packages ...
 (Reading database ... 193728 files and directories currently installed.)
 Preparing to unpack .../libc-dev-bin_2.19-17_amd64.deb ...
 Unpacking libc-dev-bin (2.19-17) over (2.19-13) ...
 Preparing to unpack .../libc6-dev_2.19-17_amd64.deb ...
 Unpacking libc6-dev:amd64 (2.19-17) over (2.19-13) ...
 Preparing to unpack .../libc6-dbg_2.19-17_amd64.deb ...
 Unpacking libc6-dbg:amd64 (2.19-17) over (2.19-13) ...
 Preparing to unpack .../locales-all_2.19-17_amd64.deb ...
 Unpacking locales-all (2.19-17) over (2.19-1) ...
 Preparing to unpack .../locales_2.19-17_all.deb ...
 Unpacking locales (2.19-17) over (2.19-1) ...
 Preparing to unpack .../libc6_2.19-17_amd64.deb ...
 De-configuring libc6:i386 (2.19-13) ...
 Unpacking libc6:amd64 (2.19-17) over (2.19-13) ...
 Preparing to unpack .../libc6_2.19-17_i386.deb ...
 Unpacking libc6:i386 (2.19-17) over (2.19-13) ...
 Preparing to unpack .../linux-libc-dev_3.16.7-ckt7-1_amd64.deb ...  
 Unpacking linux-libc-dev:amd64 (3.16.7-ckt7-1) over (3.14.2-1) ...  
 Preparing to unpack .../gcc-4.9-base_4.9.2-10_amd64.deb ...
 De-configuring gcc-4.9-base:i386 (4.9.2-2) ...
 Unpacking gcc-4.9-base:amd64 (4.9.2-10) over (4.9.2-2) ...
 Preparing to unpack .../gcc-4.9-base_4.9.2-10_i386.deb ...
 Unpacking gcc-4.9-base:i386 (4.9.2-10) over (4.9.2-2) ...
 Preparing to unpack .../libgcc1_1%3a4.9.2-10_i386.deb ...
 De-configuring libgcc1:amd64 (1:4.9.2-2) ...
 Unpacking libgcc1:i386 (1:4.9.2-10) over (1:4.9.2-2) ...
 Preparing to unpack .../libgcc1_1%3a4.9.2-10_amd64.deb ...
 Unpacking libgcc1:amd64 (1:4.9.2-10) over (1:4.9.2-2) ...
 Selecting previously unselected package libgcc1:armel.
 Preparing to unpack .../libgcc1_1%3a4.9.2-10_armel.deb ...
 Unpacking libgcc1:armel (1:4.9.2-10) ...
 Setting up gcc-4.9-base:amd64 (4.9.2-10) ...
 Setting up gcc-4.9-base:i386 (4.9.2-10) ...
 dpkg: dependency problems prevent configuration of libc6:amd64:
  libc6:amd64 depends on libgcc1; however:
   Package libgcc1:amd64 is not configured yet.
 
 dpkg: error processing package libc6:amd64 (--configure):
  dependency problems - 

Bug#780585: Mysterious failure to update/install packages

2015-03-16 Thread Goswin von Brederlow
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?

MfG
Goswin

% sudo apt-get install libc6-dev:armel linux-libc-dev:armel libgcc1:armel 
binutils-arm-linux-gnueabi libcloog-isl-dev systemtap-sdt-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbotan-1.10-0 libdv4 libiec61883-0 libpthread-stubs0-dev libqt5core5a
  libxcb-icccm4 libxcb-image0 libxcb-render-util0 libxcb-xkb1 qtcreator-data
  x11proto-kb-dev xorg-sgml-doctools xtrans-dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  binutils cpp-4.9 g++-4.9 gcc-4.9 gcc-4.9-base gcc-4.9-base:armel  
  gcc-4.9-base:i386 libasan1 libatomic1 libc-dev-bin libc6 libc6:i386
  libc6:armel libc6-dbg libc6-dev libcilkrts5 libgcc-4.9-dev libgcc1
  libgcc1:i386 libgfortran3 libgomp1 libitm1 liblsan0 libquadmath0  
  libstdc++-4.9-dev libstdc++6 libstdc++6:i386 libtsan0 libubsan0   
  linux-libc-dev locales locales-all
Suggested packages:
  gcc-4.9-locales g++-4.9-multilib libstdc++6-4.9-dbg gcc-4.9-multilib
  libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan1-dbg  
  liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libquadmath0-dbg
  glibc-doc glibc-doc:i386 glibc-doc:armel manpages-dev:armel
  libstdc++-4.9-doc
Recommended packages:
  libc6-i686:i386
The following NEW packages will be installed:
  binutils-arm-linux-gnueabi gcc-4.9-base:armel libc6:armel libc6-dev:armel
  libcloog-isl-dev libgcc1:armel linux-libc-dev:armel systemtap-sdt-dev
The following packages will be upgraded:
  binutils cpp-4.9 g++-4.9 gcc-4.9 gcc-4.9-base gcc-4.9-base:i386 libasan1
  libatomic1 libc-dev-bin libc6 libc6:i386 libc6-dbg libc6-dev libcilkrts5
  libgcc-4.9-dev libgcc1 libgcc1:i386 libgfortran3 libgomp1 libitm1 liblsan0
  libquadmath0 libstdc++-4.9-dev libstdc++6 libstdc++6:i386 libtsan0 libubsan0
  linux-libc-dev locales locales-all
30 upgraded, 8 newly installed, 0 to remove and 1323 not upgraded.  
Need to get 74.0 MB/74.1 MB of archives.
After this operation, 41.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
...
Fetched 74.0 MB in 9s (7666 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 193728 files and directories currently installed.)
Preparing to unpack .../libc-dev-bin_2.19-17_amd64.deb ...
Unpacking libc-dev-bin (2.19-17) over (2.19-13) ...
Preparing to unpack .../libc6-dev_2.19-17_amd64.deb ...
Unpacking libc6-dev:amd64 (2.19-17) over (2.19-13) ...
Preparing to unpack .../libc6-dbg_2.19-17_amd64.deb ...
Unpacking libc6-dbg:amd64 (2.19-17) over (2.19-13) ...
Preparing to unpack .../locales-all_2.19-17_amd64.deb ...
Unpacking locales-all (2.19-17) over (2.19-1) ...
Preparing to unpack .../locales_2.19-17_all.deb ...
Unpacking locales (2.19-17) over (2.19-1) ...
Preparing to unpack .../libc6_2.19-17_amd64.deb ...
De-configuring libc6:i386 (2.19-13) ...
Unpacking libc6:amd64 (2.19-17) over (2.19-13) ...
Preparing to unpack .../libc6_2.19-17_i386.deb ...
Unpacking libc6:i386 (2.19-17) over (2.19-13) ...
Preparing to unpack .../linux-libc-dev_3.16.7-ckt7-1_amd64.deb ...  
Unpacking linux-libc-dev:amd64 (3.16.7-ckt7-1) over (3.14.2-1) ...  
Preparing to unpack .../gcc-4.9-base_4.9.2-10_amd64.deb ...
De-configuring gcc-4.9-base:i386 (4.9.2-2) ...
Unpacking gcc-4.9-base:amd64 (4.9.2-10) over (4.9.2-2) ...
Preparing to unpack .../gcc-4.9-base_4.9.2-10_i386.deb ...
Unpacking gcc-4.9-base:i386 (4.9.2-10) over (4.9.2-2) ...
Preparing to unpack .../libgcc1_1%3a4.9.2-10_i386.deb ...
De-configuring libgcc1:amd64 (1:4.9.2-2) ...
Unpacking libgcc1:i386 (1:4.9.2-10) over (1:4.9.2-2) ...
Preparing to unpack .../libgcc1_1%3a4.9.2-10_amd64.deb ...
Unpacking libgcc1:amd64 (1:4.9.2-10) over (1:4.9.2-2) ...
Selecting previously unselected package libgcc1:armel.
Preparing to unpack .../libgcc1_1%3a4.9.2-10_armel.deb ...
Unpacking libgcc1:armel (1:4.9.2-10) ...
Setting up gcc-4.9-base:amd64 (4.9.2-10) ...
Setting up gcc-4.9-base:i386 (4.9.2-10) ...
dpkg: dependency problems prevent configuration of libc6:amd64:
 libc6:amd64 depends on libgcc1; however:
  Package libgcc1:amd64 is not configured yet.

dpkg: error processing package libc6:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgcc1:i386:
 libgcc1:i386 depends on libc6 (= 2.2.4); however:
  Package libc6:i386 is not configured yet.

dpkg: error processing package libgcc1:i386 (--configure):
 dependency problems - leaving unconfigured
Errors were