[Popcon-developers] Bug#610860: popularity-contest: abnormal termination while a package is uninstalled

Serafeim Zanikolas sez at debian.org
Sun Jan 23 13:03:50 UTC 2011


Package: popularity-contest
Version: 1.49
Severity: normal
Tags: patch

Hi,

popcon failed with the error below while I've been purging another package:

/etc/cron.daily/popularity-contest:
readline() on closed filehandle FILES at /usr/sbin/popularity-contest line 104.

I guess that would be solved by changing line 102:

open FILES, "$dpkg_db/$pkg.list";

to:

open FILES, "$dpkg_db/$pkg.list" or next;

Cheers,
Serafeim



-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages popularity-contest depends on:
ii  debconf [debconf-2.0]         1.5.36     Debian configuration management sy
ii  dpkg                          1.15.8.8   Debian package management system

Versions of packages popularity-contest recommends:
ii  cron                          3.0pl1-116 process scheduling daemon
ii  exim4                         4.72-3     metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.72-3+b1  lightweight Exim MTA (v4) daemon

Versions of packages popularity-contest suggests:
ii  anacron                       2.3-14     cron-like program that doesn't go 

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





More information about the Popcon-developers mailing list