Package: dpkg Version: 1.16.2~wipmultiarch Severity: wishlist Tags: patch Hi,
let's go through the BTS since I see no experimental branch in the dpkg repository… For the same reason, I'm attaching a debdiff rather than a git commit. It helped me tracked down all installed foreign packages, even though I needed gdb to track down the last package. Mraw KiBi. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.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-26 ii libselinux1 2.1.0-4.1 ii tar 1.26-4 ii xz-utils 5.1.1alpha+20110809-3 ii zlib1g 1:1.2.5.dfsg-1.1 dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 0.8.15.9 -- no debconf information
diff -Nru dpkg-1.16.2~wipmultiarch/debian/changelog dpkg-1.16.2~wipmultiarch+kibi1/debian/changelog --- dpkg-1.16.2~wipmultiarch/debian/changelog 2012-02-05 22:53:48.000000000 +0000 +++ dpkg-1.16.2~wipmultiarch+kibi1/debian/changelog 2012-02-06 03:07:28.000000000 +0000 @@ -1,3 +1,11 @@ +dpkg (1.16.2~wipmultiarch+kibi1) experimental; urgency=low + + * When removing a foreign architecture fails due to some foreign + packages still being installed, mention the first one of them to + help users find out which packages to get rid of. + + -- Cyril Brulebois <k...@debian.org> Mon, 06 Feb 2012 03:05:44 +0000 + dpkg (1.16.2~wipmultiarch) experimental; urgency=low This is a WIP release, command line interfaces *will* change. diff -Nru dpkg-1.16.2~wipmultiarch/src/main.c dpkg-1.16.2~wipmultiarch+kibi1/src/main.c --- dpkg-1.16.2~wipmultiarch/src/main.c 2012-02-05 22:53:04.000000000 +0000 +++ dpkg-1.16.2~wipmultiarch+kibi1/src/main.c 2012-02-06 02:24:14.000000000 +0000 @@ -537,8 +537,8 @@ warning(_("removing architecture '%s' currently in use by database"), arch->name); else - ohshit(_("cannot remove architecture '%s' currently in use by the database"), - arch->name); + ohshit(_("cannot remove architecture '%s' currently in use by the database (for at least '%s')"), + arch->name, pkg->set->name); break; } }