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

Bug#612958: apt and dpkg configured separately for multiarch?

Package: apt
Severity: important

Hi there,

Currently, apt's support for multiarch requires users to manually set
APT::Architectures in apt.conf to tell apt which architectures are allowed.
But dpkg also needs to know what architectures are allowed, and the
in-progress multiarch dpkg requires this to be specified with a
--foreign-architecture option (typically set in dpkg.cfg).

Since 'dpkg -i' and 'apt-get install' should both have the same view of the
world, I think apt should be pulling this information from dpkg - which it
can do with 'dpkg --print-foreign-architectures'.  (This command will
obviously fail on pre-multiarch dpkg, in which case no extra architectures
should be enabled.)

I guess it should still be allowed to override the architecture list through
the apt config, but that this should not be the default means of configuring
multiarch to ensure consistency between dpkg and apt.

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: