[Aptitude-devel] Bug#670668: aptitude: should not allow to select different versions for foreign packages

Sven Joachim svenjoac at gmx.de
Fri Apr 27 20:35:10 UTC 2012

reassign 670668 apt

On 2012-04-27 21:48 +0200, Yann Dirson wrote:

> Package: aptitude
> Version: 0.6.6-1
> Severity: important
> I have installed foreign packages (but disabled the foreign source as
> a temporary measure because of #670322.  But aptitude still lets me
> select libc6:amd64 for upgrade, without considering that the existing
> libc6:armel would prevent its configuration.
> Maybe the problem has to be partly handled at the libapt level ?

Looking at #670322, I think it has to be handled at the libapt level,
because apt does not seem to know that libc6:armel even exists, and so
neither does aptitude.

> On the next libc6 upgrade:
> Setting up libc-bin (2.13-30) ...
> (Reading database ... 438878 files and directories currently installed.)
> Preparing to replace libc6:amd64 2.13-27 (using .../libc6_2.13-30_amd64.deb) ...
> De-configuring libc6:armel ...
> 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

BTW, this particular problem is fixed in unstable's apt, so if you want
to continue using multiarch, please upgrade.

> Type dpkg --help for help about installing and deinstalling packages [*];
> Use `dselect' or `aptitude' for user-friendly package management;
> Type dpkg -Dhelp for a list of dpkg debug flag values;
> Type dpkg --force-help for a list of forcing options;
> Type dpkg-deb --help for help about manipulating *.deb files;
> Options marked [*] produce a lot of output - pipe it through `less' or `more' !
> E: Sub-process /usr/bin/dpkg returned an error code (2)
> A package failed to install.  Trying to recover:
> dpkg: error processing libc6:amd64 (--configure):
>  package libc6:amd64 2.13-30 cannot be configured because libc6:armel is at a different version (2.13-27)
> dpkg: error processing libc6:armel (--configure):
>  package libc6:armel 2.13-27 cannot be configured because libc6:amd64 is at a different version (2.13-30)

This is still reproducible in unstable, and apt-get behaves exactly the
same way, so I'm reassigning this bug to apt.


More information about the Aptitude-devel mailing list