[Multiarch-devel] Bug#770301: dpkg: fails to install second arch of Multi-Arch:same packages with Provides/Conflicts/Replaces:virtualpackage

Guillem Jover guillem at debian.org
Thu Nov 20 15:51:07 UTC 2014


Hi!

On Thu, 2014-11-20 at 11:43:15 +0100, Andreas Beckmann wrote:
> Package: dpkg
> Version: 1.17.21
> Severity: important
> User: multiarch-devel at lists.alioth.debian.org
> Usertags: multiarch

> dpkg fails to configure a second architecture of this package if a
> first architecture is already installed:
> 
> Package: libbabl-dev
> Multi-Arch: same
> Source: babl
> Version: 0.1.10-2
> Replaces: libbabl-0.0-0-dev
> Provides: libbabl-0.0-0-dev
> Breaks: libbabl-0.0-0-dev
> 
> Both apt and aptitude consider the package to be installable, but dpkg
> fails to configure it:
> 
> # dpkg --configure --pending
> dpkg: dependency problems prevent configuration of libbabl-dev:amd64:
>  libbabl-dev:i386 (0.1.10-2) breaks libbabl-0.0-0-dev and is installed.
>   libbabl-dev:amd64 (0.1.10-2) provides libbabl-0.0-0-dev.
> 
> dpkg: error processing package libbabl-dev:amd64 (--configure):
>  dependency problems - leaving unconfigured
> Errors were encountered while processing:
>  libbabl-dev:amd64

This is expected behavior in dpkg. Conflics/Breaks/Replaces get an
implicit "any" arch qualifier, so those make the dependency
unsatisfiable due to the Provides.

So if there's no other issue besides this, I'm just going to be
closing this report.

Thanks,
Guillem



More information about the Multiarch-devel mailing list