Bug#695229: [Multiarch-devel] chromium-inspector: should be 'Multi-Arch: foreign' so that chromium:{arch} is installable

2012-12-05 Thread Daniel Hartwig
On 6 December 2012 15:26, Jonathan Nieder jrnie...@gmail.com wrote:
 so that dpkg, apt, and aptitude can agree on what to do here?

Do they currently disagree?


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#695229: [Multiarch-devel] chromium-inspector: should be 'Multi-Arch: foreign' so that chromium:{arch} is installable

2012-12-05 Thread Steve Langasek
-On Wed, Dec 05, 2012 at 11:26:25PM -0800, Jonathan Nieder wrote:
 Peter Samuelson wrote:
  [Jonathan Nieder]

  (I had always thought that in the multi-arch world Arch: all meant
  with the same architecture as its dependencies.)

  That's what they want you to think!  No, for dependency resolution
  purposes, arch:all is equivalent to arch:{dpkg's primary arch}.  There
  are arcane reasons for this, which I only half-understand so I can't
  easily explain.  The short version:

  https://wiki.ubuntu.com/MultiarchSpec#Dependencies_involving_Architecture:_all_packages

 Thanks for the pointer.  Yuck.

 Multiarch folks: would it make sense to tweak the spec to require
 behavior matching the rationale

   architecture-dependent packages may depend on Architecture:
all packages and assume that the transitive dependencies will
be resolved using packages of the same architecture or other
packages that are Architecture: all

 so that dpkg, apt, and aptitude can agree on what to do here?

No, because there's no practical way to enforce such a rule.  apt and
aptitude have enough information to enforce it, but there are no provisions
in dpkg for recursive analysis at dependency resolution time.

-- 
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 Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org


signature.asc
Description: Digital signature