[Popcon-developers] Bug#660712: Foreign-architecture packages break popularity-contest

Ben Hutchings ben at decadent.org.uk
Tue Feb 21 05:41:31 UTC 2012


Package: popularity-contest
Version: 1.53
Severity: important

The cron job failed today with:

/etc/cron.daily/popularity-contest:
Package `linux-image-3.2.0-1-amd64' is not installed.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.

I have the amd64 build of linux-image-3.2.0-1-amd64 installed on an i386
system, and dpkg requires this to be named as
'linux-image-3.2.0-1-amd64:amd64'.

I think popularity-contest should query the architecture of each package
and when it is not 'all' or the native architecture then add the
architecture-qualification when naming the package to 'dpkg -L'.  This
would retain backward-compatibility with older versions of dpkg, though
maybe not where a foreign package has been installed with
--force-architecture.

Ben.

-- System Information:
Debian Release: wheezy/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500,
'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

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

Versions of packages popularity-contest depends on:
ii  debconf [debconf-2.0]  1.5.41
ii  dpkg                   1.16.2~wipmultiarch

Versions of packages popularity-contest recommends:
ii  cron                                       3.0pl1-121
ii  exim4                                      4.77-1
ii  exim4-daemon-light [mail-transport-agent]  4.77-1+b1

Versions of packages popularity-contest suggests:
ii  anacron  2.3-14

-- debconf information:
  popularity-contest/submiturls:
* popularity-contest/participate: true

-- 
Ben Hutchings
If at first you don't succeed, you're doing about average.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/popcon-developers/attachments/20120221/790bdbbd/attachment.pgp>


More information about the Popcon-developers mailing list