dapper->hardy crashes in pre-inst script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-central (Ubuntu) |
Fix Released
|
High
|
Michael Vogt |
Bug Description
Binary package hint: python-central
This happens on a dapper->hardy upgrade. For most of the other python packages too:
Preparing to replace deskbar-applet 2.14.1.1-0ubuntu3 (using .../deskbar-
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
runtimes = get_installed_
File "/usr/bin/
default_version = pyversions.
File "/usr/share/
if not _default_version in (debian_default, os.path.
File "/usr/lib/
if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'
dpkg: error processing /var/cache/
subprocess pre-installation script returned error exit status 1
Related branches
Changed in python-central: | |
importance: | Undecided → High |
milestone: | none → ubuntu-8.04-beta |
status: | New → Confirmed |
The error output of the automatic upgrade tester with debug enabled:
dpkg: error processing /var/cache/ apt/archives/ deskbar- applet_ 2.21.92- 0ubuntu2_ i386.deb (--unpack): pycentral" , line 1702, in ? pycentral" , line 1696, in main run(global_ options) pycentral" , line 1154, in run runtimes( ) pycentral" , line 200, in get_installed_ runtimes default_ version( version_ only=True) pycentral- data/pyversions .py", line 139, in default_version join('/ usr/bin' , debian_default)): python2. 4/posixpath. py", line 60, in join
subprocess pre-installation script returned error exit status 1
+ set -e
+ which pycentral
+ pycentral --help
+ grep -q pkgprepare
+ pycentral pkgprepare deskbar-applet
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
runtimes = get_installed_
File "/usr/bin/
default_version = pyversions.
File "/usr/share/
if not _default_version in (debian_default, os.path.
File "/usr/lib/
if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'