Hi all

I have this problem which is stopping me from installing anything new.
System is Debian stable on a Dell.

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... 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.dfsg.2-7etch2) but 
2.0.4.dfsg.2-7etch4 is installed
E: Unmet dependencies. Try using -f.

So I tried the force option:

$ sudo apt-get -f upgrade
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following packages will be upgraded:
  python-uno
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
5 not fully installed or removed.
Need to get 0B/358kB of archives.
After unpacking 131kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 133572 files and directories currently installed.)
Preparing to replace python-uno 2.0.4.dfsg.2-7etch2 (using 
.../python-uno_2.0.4.dfsg.2-7etch4_i386.deb) ...
INFO: using old version '/usr/bin/python2.3'
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 952, in run
    pkg.remove(runtimes, remove_script_files=True)
  File "/usr/bin/pycentral", line 697, 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 ...
INFO: using old version '/usr/bin/python2.3'
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 1373, in ?
    main()
  File "/usr/bin/pycentral", line 1367, in main
    rv = action.run(global_options)
  File "/usr/bin/pycentral", line 952, in run
    pkg.remove(runtimes, remove_script_files=True)
  File "/usr/bin/pycentral", line 697, in remove
    default_runtime.remove_byte_code(self.private_files)
AttributeError: 'NoneType' object has no attribute 'remove_byte_code'
dpkg: error processing 
/var/cache/apt/archives/python-uno_2.0.4.dfsg.2-7etch4_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
INFO: using old version '/usr/bin/python2.3'
Errors were encountered while processing:
 /var/cache/apt/archives/python-uno_2.0.4.dfsg.2-7etch4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ 

I can't remove python-uno as openoffice-writer depends on it.
I notice that it's trying to use python2.3 when I have python2.3, 2.4 and 2.5 
installed.
In /etc/alternatives/ I have python -> /usr/bin/python2.4

I'm a bit lost on how to proceed.

Michael Lake

-- 
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to