Package: debian-goodies Version: 0.55 Severity: normal Tags: patch Hi,
I think this is caused by a new version of Python: # checkrestart Found 31 processes using old versions of upgraded files (18 distinct programs) (18 distinct packages) Traceback (most recent call last): File "/usr/sbin/checkrestart", line 459, in <module> main() File "/usr/sbin/checkrestart", line 191, in main package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ] KeyError: '_[1]' % python --version Python 2.7.2+ I've picked a differnt idea to remove duplicates from the list from http://docs.python.org/faq/programming.html#how-do-you-remove-duplicates-from-a-list % diff /tmp/checkrestart =checkrestart --- /tmp/checkrestart 2011-10-01 11:49:58.607365215 +0200 +++ /usr/sbin/checkrestart 2011-10-01 11:50:04.000000000 +0200 @@ -188,7 +188,7 @@ if os.path.exists(path): package.initscripts.append(path) # Remove duplicate inits - package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ] + package.initscripts = list(set(package.initscripts)) restartable = [] nonrestartable = [] Bye, Jörg. -- System Information: Debian Release: unstable/experimental APT prefers unstable APT policy: (900, 'unstable'), (700, 'experimental') Architecture: powerpc (ppc) Kernel: Linux 3.1.0-rc7.ledtest-00607-gd942e43-dirty Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages debian-goodies depends on: ii curl 7.21.7-3 ii dctrl-tools [grep-dctrl] 2.18 ii dialog 1.1-20110707-1 ii less 444-1 ii perl 5.12.4-4 ii python 2.7.2-7 Versions of packages debian-goodies recommends: ii lsof 4.81.dfsg.1-1 Versions of packages debian-goodies suggests: pn popularity-contest 1.53 pn xdg-utils 1.1.0~rc1-2 pn zenity <none> -- no debconf information -- debsums errors found: debsums: changed file /usr/sbin/checkrestart (from debian-goodies package)
signature.asc
Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP