install_initd fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lsb
This just started yesterday. I do continual LSB testing of Ubuntu-latest, usually once a week or so. The lsb-apache package (part of the application battery, part of the distro certification tests) runs the following scripts at install/uninstall:
/usr/lib/
/usr/lib/
Running the latter on the current system, when alien/dpkg installs the package yields:
root@ubuntu-
Traceback (most recent call last):
File "/usr/lib/
import sys, re, os, initdutils
File "/usr/lib/
raise ValueError, 'need a file or string'
SyntaxError: invalid syntax
I'm also seeing failures in the core-test "init" tests, which could be related to this same issue, as they also install/remove a couple of dummy init scripts and look at the starup/shutdown dependency stack.
Bugs at our end, for reference:
http://
http://
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lsb-core 4.0-0ubuntu13
ProcVersionSign
Uname: Linux 3.0-0-generic i686
Architecture: i386
Date: Thu Jun 16 08:09:14 2011
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: lsb
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: quantal |
I'm seeing this on 12.04 Alpha too. Seems to be due to the fact that the hashbang in install_initrd specifies python3, but its dependency 'initdutils' does not comply to python3 syntax.