This looks like a bug in python-central that got fixed a couple of days
ago:


2008-02-22 04:49:35,106 ERROR got an error from dpkg for pkg: 
'/var/cache/apt/archives/python-apt_0.7.4ubuntu6_i386.deb': 'subprocess 
pre-installation script returned error exit status 1
'
...

Preparing to replace python-apt 0.6.16.2ubuntu8.1 (using 
.../python-apt_0.7.4ubuntu6_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1594, in ?
    main()
  File "/usr/bin/pycentral", line 1588, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 1070, in run
    runtimes = get_installed_runtimes()
  File "/usr/bin/pycentral", line 199, in get_installed_runtimes
    default_version = pyversions.default_version(version_only=True)
  File "/usr/share/pycentral-data/pyversions.py", line 129, in default_version
    if not _default_version in (debian_default, os.path.join('/usr/bin', 
debian_default)):
  File "/usr/lib/python2.4/posixpath.py", line 60, in join
    if b.startswith('/'):
AttributeError: 'NoneType' object has no attribute 'startswith'
dpkg: error processing /var/cache/apt/archives/python-apt_0.7.4ubuntu6_i386.deb 
(--unpack):
 subprocess pre-installation script returned error exit status 1

-- 
Major crash on update from Ubuntu 6.06 to 8.04
https://bugs.launchpad.net/bugs/194469
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to