Package: dpkg
Version: 1.16.8
Severity: normal

Dear Maintainer,

I have a 32bit package that should be installable on a 64bit machine through 
the multiarch support. This package depends on others like perl5-base, python 
and desktop-file-utils but it does not matter whether these are 32bit or 64bit.

So its dependencies use the ':any' suffix. But dpkg fails with the following 
message:

   Unpacking replacement testpkg ...
   dpkg: dependency problems prevent configuration of testpkg:
    testpkg depends on desktop-file-utils:any.

And yet:
   $ dpkg -l desktop-file-utils
   ...
   ii  desktop-file-utils  0.20-0.1       amd64          Utilities for .desktop 
files

A dependency on python produces a similar error, but strangely enough a 
dependency on the perl5-base virtual package works fine!

I'ĺl attach a tar file containing the source of a test package demonstrating 
the issue. To build it run 'fakeroot ./build'.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.6-4
ii  libc6        2.13-35
ii  liblzma5     5.1.1alpha+20120614-1
ii  libselinux1  2.1.9-5
ii  tar          1.26-4
ii  zlib1g       1:1.2.7.dfsg-13

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt  0.9.7.2

-- no debconf information

Attachment: testpkg.tar.bz2
Description: BZip2 compressed data

Reply via email to