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

[Popcon-developers] Bug#660015: popularity-contest: fails to cope with multiarch



Package: popularity-contest
Version: 1.53
Severity: important
Tags: patch


Coin,

I got this reported by cron:
/etc/cron.daily/popularity-contest:
Package `libc6-i686' is not installed.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.

In the "Read dpkg database of installed packages" part of  
/usr/sbin/popularity-contest, the call to dpkg-query report a list of  
packages like this:
   install ok installed libc6-i686
Unfortunately, the call to dpkg -L <pkg> in proc_pkgs() fails because  
indeed libc6-i686, which is libc6-i686:amd64 on this host, does not  
exist while libc6-i686:i386 does.

I guess being conservative is the safest choice on the dpkg's side and  
using an updated format to include the architecture is a very easy  
change for applications migrating to the multiarch world. The small  
attached patch seems to solve this issue.

Regards.

-- 
Marc Dequ?nes (Duck)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: popularity-contest_multiarch.diff
Type: text/x-patch
Size: 429 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/popcon-developers/attachments/20120215/53e0230b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: PGP Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/popcon-developers/attachments/20120215/53e0230b/attachment.pgp>


Reply to: