I tried the workaround provided by Scott Kitterman, but that didn't work
either. Output as follows:

[EMAIL PROTECTED]:~$ sudo dpkg -i programs/python-uno_2.0.4-0ubuntu5_i386.deb 
Password:
(Reading database ... 136206 files and directories currently installed.)
Preparing to replace python-uno 2.0.4-0ubuntu4 (using 
.../python-uno_2.0.4-0ubuntu5_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1348, in ?
    main()
  File "/usr/bin/pycentral", line 1342, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 935, in run
    pkg.remove(runtimes, remove_script_files=True)
  File "/usr/bin/pycentral", line 693, in remove
    default_runtime.remove_byte_code(self.private_files)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1348, in ?
    main()
  File "/usr/bin/pycentral", line 1342, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 935, in run
    pkg.remove(runtimes, remove_script_files=True)
  File "/usr/bin/pycentral", line 693, in remove
    default_runtime.remove_byte_code(self.private_files)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing programs/python-uno_2.0.4-0ubuntu5_i386.deb (--install):
 subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing:
 programs/python-uno_2.0.4-0ubuntu5_i386.deb

Output from `ls -l /usr/bin/python`: lrwxrwxrwx 1 root root 18
2007-02-10 02:09 /usr/bin/python -> /usr/bin/python2.4

Output from `cat /usr/share/python/debian_defaults`:

[DEFAULT]

# the default python version
default-version = python2.4

# all supported python versions
supported-versions = python2.4, python2.5

# formerly supported python versions
old-versions = python2.3

-- 
python-uno fails during upgrade from 2.0.4-0ubuntu4 to 2.0.4-0ubuntu5
https://bugs.launchpad.net/bugs/102786
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to