Public bug reported: Binary package hint: popularity-contest
/etc/cron.weekly/popularity-contest in natty now shows: readline() on closed filehandle FILES at /usr/sbin/popularity-contest line 104. readline() on closed filehandle FILES at /usr/sbin/popularity-contest line 104. readline() on closed filehandle FILES at /usr/sbin/popularity-contest line 104. ... looking at the sources: open PACKAGES, "dpkg-query --show --showformat='\${status} \${package}\\n'|"; while (<PACKAGES>) { /^.*installed *(.+)$/ or next; my $pkg=$1; $popcon{$pkg}=[0,0,$pkg,"<NOFILES>"]; open FILES, "$dpkg_db/$pkg.list"; my $bestatime = undef; while (<FILES>) { <==================== 104 a simple printf shows why: $ ls -l /var/lib/dpkg/info/zlib1g.list ls: cannot access /var/lib/dpkg/info/zlib1g.list: No such file or directory $ ls -l /var/lib/dpkg/info/zlib1g*.list -rw-r--r-- 1 root root 227 2011-03-22 08:10 /var/lib/dpkg/info/zlib1g:amd64.list -rw-r--r-- 1 root root 1267 2011-03-22 08:10 /var/lib/dpkg/info/zlib1g-dev.list so it seems it's caused by the new multi-arch thingy. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: popularity-contest 1.51ubuntu1 ProcVersionSignature: Ubuntu 2.6.38-7.37-generic 2.6.38 Uname: Linux 2.6.38-7-generic x86_64 NonfreeKernelModules: nvidia Architecture: amd64 Date: Thu Mar 24 20:57:57 2011 ProcEnviron: LANG=en_US.UTF-8 LANGUAGE=en_US:en PATH=(custom, user) SHELL=/usr/bin/tcsh SourcePackage: popularity-contest UpgradeStatus: Upgraded to natty on 2009-07-28 (604 days ago) ** Affects: popularity-contest (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug natty running-unity -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/742017 Title: "readline() on closed filehandle FILES" warnings caused by multiarch -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs