Package: dpkg
Version: 1.16.2
Severity: serious

To update a package that is available both as amd64 and i386 on my machine, 
dpkg fails as in

Setting up libc-bin (2.13-30) ...
(Reading database ... 290169 files and directories currently installed.)
Preparing to replace libc6:i386 2.13-27 (using .../libc6_2.13-30_i386.deb) ...
De-configuring libc6:amd64 ...
Unpacking replacement libc6:i386 ...
Preparing to replace libc6:amd64 2.13-27 (using .../libc6_2.13-30_amd64.deb) ...
Unpacking replacement libc6:amd64 ...
dpkg: error: --configure needs a valid package name but 'libc6' is not: 
ambiguous package name 'libc6' with more than one installed instance

One can then get over it by removing all reverse dependencies and libc6:i386 
with it, which hurts. Afterwards, the package can be installed again. 
Flawlessly. Once over it, it now happens again with the very next package:

Unpacking libstdc++6:i386 (from .../libstdc++6_4.7.0-3_i386.deb) ...
Processing triggers for ccache ...
Updating symlinks in /usr/lib/ccache ...
dpkg: error: --configure needs a valid package name but 'gcc-4.7-base' is not: 
ambiguous package name 'gcc-4.7-base' with more than one installed instance

$ dpkg -l gcc-4.7-base
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                           Version                        Description
+++-==============================-==============================-============================================================================
iU  gcc-4.7-base:amd64             4.7.0-3                        GCC, the GNU 
Compiler Collection (base package)
iU  gcc-4.7-base:i386              4.7.0-3                        GCC, the GNU 
Compiler Collection (base package)


Cheers,

Steffen


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.6-1
ii  libc6        2.13-30
ii  libselinux1  2.1.9-2
ii  tar          1.26-4
ii  xz-utils     5.1.1alpha+20110809-3
ii  zlib1g       1:1.2.6.dfsg-2

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt  0.8.15.10

-- no debconf information



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

Reply via email to