pete992000
July 11th, 2007, 10:46 AM
Hi all
I cannot use the upgrade as I am getting an installation error. A broken package. I ran apt-get with the -f option and got this. Anyone help please?
quote
(Reading database ... 170740 files and directories currently installed.)
Preparing to replace python-uno 2.0.4-0ubuntu5 (using .../python-uno_2.0.4-0ubuntu6_i386.deb) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1348, in <module>
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_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 1348, in <module>
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_file s)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing /var/cache/apt/archives/python-uno_2.0.4-0ubuntu6_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-0ubuntu6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
unquote
This is blocking any further updates.
Thank Pete
I cannot use the upgrade as I am getting an installation error. A broken package. I ran apt-get with the -f option and got this. Anyone help please?
quote
(Reading database ... 170740 files and directories currently installed.)
Preparing to replace python-uno 2.0.4-0ubuntu5 (using .../python-uno_2.0.4-0ubuntu6_i386.deb) ...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 1348, in <module>
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_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 1348, in <module>
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_file s)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing /var/cache/apt/archives/python-uno_2.0.4-0ubuntu6_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-0ubuntu6_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
unquote
This is blocking any further updates.
Thank Pete