natty: checkrestart: line 191, in main: package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]; KeyError: '_[1]'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debian-goodies (Debian) |
Fix Released
|
Unknown
|
|||
debian-goodies (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: debian-goodies
checkrestart worked in maverick. I upgraded to natty beta 2 a couple of days ago, and checkrestart now throws an exception.
kenyon@voodoo ~ % lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Natty (development branch)
Release: 11.04
Codename: natty
kenyon@voodoo ~ % sudo checkrestart
Found 19 processes using old versions of upgraded files
(9 distinct programs)
(9 distinct packages)
Traceback (most recent call last):
File "/usr/sbin/
main()
File "/usr/sbin/
package.
KeyError: '_[1]'
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: debian-goodies 0.55
ProcVersionSign
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Sun Apr 17 15:33:24 2011
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/sh
SourcePackage: debian-goodies
UpgradeStatus: Upgraded to natty on 2011-04-16 (1 days ago)
Changed in debian-goodies (Ubuntu): | |
status: | New → Triaged |
Changed in debian-goodies (Debian): | |
status: | Unknown → Fix Released |
Hi,
Kenyon Ralph wrote: checkrestart" , line 459, in <module> checkrestart" , line 191, in main
> kenyon@voodoo ~ % sudo checkrestart
> Found 19 processes using old versions of upgraded files
> (9 distinct programs)
> (9 distinct packages)
> Traceback (most recent call last):
> File "/usr/sbin/
> main()
> File "/usr/sbin/
> package.initscripts = [ u for u in package.initscripts if u not in locals()['_[1]'] ]
> KeyError: '_[1]'
Can't reproduce this in Debian Unstable, neither with Python 2.5, 2.6
nor 2.7, neither with nor without sudo. So it may be an
ubuntu-specific bug.
Information about the used version of python and other dependencies of
debian-goodies may be helpful.
Regards, Axel people. debian. org/~abe/
--
,''`. | Axel Beckert <email address hidden>, http://
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5