-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Mike,
Isn't the -f option for fix-broken rather than force. I think it only
works with install/remove also not with upgrade.
I know on my system I have run 'apt-get -f install' on occasion and it
has worked reasonably well.

Heracles

>> [SLUG] python-uno & open office depends problem
>> Mike Lake <[EMAIL PROTECTED]>
>> Thu, 06 Dec 2007 23:33:33 +1100
>> 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
>>
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHXTQfybPcBAs9CE8RAk3dAKCFIUV/9Wi41XDdECP92kL0t4CuOgCfZuyN
qCHXqWX+2PNyXIm45YDD+SU=
=7jXn
-----END PGP SIGNATURE-----
-- 
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