[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#613584: apt-get not handling Multi-Arch: foreign, Arch: all packages correctly

Package: apt
Severity: important

Hi again :)

apt-get does not seem to be handling Multi-Arch: foreign packages correctly
when they are Architecture: all:

# apt-get install libc6:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6:i386 : Depends: tzdata:i386 but it is not installable
E: Broken packages

This is the Ubuntu libc6, which has foreign dependencies on both tzdata,
which is Architecture: all, and libc-bin, which is Architecture: any.

tzdata itself has the correct Multi-Arch: foreign flag set (in the Debian
and Ubuntu archives):

$ apt-cache show tzdata
Package: tzdata
Priority: required
Section: libs
Installed-Size: 6288
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Architecture: all
Version: 2011b-2
Replaces: libc0.1, libc0.3, libc6, libc6.1
Provides: tzdata-squeeze
Depends: debconf (>= 0.5) | debconf-2.0
Multi-Arch: foreign

This may be because the Multiarch spec was confusing on the point of Arch:
all packages, for which I apologize.  The spec has been updated to make it
clear that Multi-Arch: foreign is allowed for Arch: all packages, and an
explanation sent to the dpkg mailing list:


Raphael has already committed the fix to the experimental multiarch branch
for this.  Can you please adjust the apt resolver to match?

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature

Reply to: