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

2011-02-17 Thread Goswin von Brederlow
Steve Langasek vor...@debian.org writes: On Wed, Feb 16, 2011 at 04:30:31PM +0100, Goswin von Brederlow wrote: This needs some redesign I'm afraid. Specifically in combination with cross-compiling. There are 4 kinds of architectures: 1) the native arch (the prefered arch) 2) foreign archs

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

2011-02-16 Thread Goswin von Brederlow
Steve Langasek vor...@debian.org writes: Package: apt Version: 0.8.11.1 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

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

2011-02-16 Thread Steve Langasek
On Wed, Feb 16, 2011 at 04:30:31PM +0100, Goswin von Brederlow wrote: This needs some redesign I'm afraid. Specifically in combination with cross-compiling. There are 4 kinds of architectures: 1) the native arch (the prefered arch) 2) foreign archs directly supported by the cpu 3) foreign

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

2011-02-15 Thread David Kalnischkies
On Fri, Feb 11, 2011 at 22:39, Steve Langasek vor...@debian.org wrote: 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

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

2011-02-15 Thread Steve Langasek
On Tue, Feb 15, 2011 at 10:19:40PM +0100, David Kalnischkies wrote: On Fri, Feb 11, 2011 at 22:39, Steve Langasek vor...@debian.org wrote: 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

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

2011-02-11 Thread Steve Langasek
Package: apt Version: 0.8.11.1 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