Public bug reported:

Binary package hint: python-uno

On my Ubuntu/Edgy workstation, OO.o's dependency on python-uno is
broken, possibly something to do with python-central:

# apt-get update
[OK]
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
    python-uno: Depends: openoffice.org-core (= 2.0.4-0ubuntu2) but 
2.0.4-0ubuntu3 is installed
E: Unmet dependencies. Try using -f.
# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
    python-uno
The following packages will be upgraded:
    python-uno
1 upgraded, 0 newly installed, 0 to remove and 31 not upgraded.
31 not fully installed or removed.
Need to get 0B/220kB of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 156818 files and directories currently installed.)
Preparing to replace python-uno 2.0.4-0ubuntu2 (using 
.../python-uno_2.0.4-0ubuntu3_i386.deb) ...
Traceback (most recent call last):
    File "/usr/bin/pycentral", line 1367, in ?
        main()
    File "/usr/bin/pycentral", line 1361, in main
        rv = action.run(global_options)
    File "/usr/bin/pycentral", line 946, in run
        pkg.remove(runtimes, remove_script_files=True)
    File "/usr/bin/pycentral", line 696, in remove
        default_runtime.remove_byte_code(self.private_file s)
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 1367, in ?
        main()
    File "/usr/bin/pycentral", line 1361, in main
        rv = action.run(global_options)
    File "/usr/bin/pycentral", line 946, in run
        pkg.remove(runtimes, remove_script_files=True)
    File "/usr/bin/pycentral", line 696, in remove
        default_runtime.remove_byte_code(self.private_file s)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing /var/cache/apt/archives/python-uno_2.0.4-0ubuntu3_ 
i386.deb (--unpack):
  subprocess new pre-removal script returned error exit status 1
Errors were encountered while processing: 
/var/cache/apt/archives/python-uno_2.0.4-0ubuntu3_ i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

** Affects: openoffice.org (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
instal python-uno broken: 
/usr/bin/pycentral::default_runtime.remove_byte_code() : 'NoneType' object
https://launchpad.net/bugs/75557

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

Reply via email to