I have this problem because I accidentally switched off the power during openoffice update. None of the tips mentioned here or else seem to help.
This is what terminal says after "sudo apt-get python-uno" and pretty much the same result with "sudo apt-get -f install"
Code:
Seuraavat paketit asennettiin automaattisesti, eivätkä ne ole enää vaadittuja:
openoffice.org-filter-mobiledev openoffice.org-filter-binfilter openoffice.org-report-builder-bin openoffice.org-officebean
Poista ne komennolla "apt-get autoremove".
Nämä paketit päivitetään:
python-uno
1 päivitetty, 0 uutta asennusta, 0 poistettavaa ja 1 päivittämätöntä.
2 ei asennettu kokonaan tai poistettiin.
Noudettavaa arkistoa 0t/96,7kt.
Toiminnon jälkeen käytetään 0 t lisää levytilaa.
(Luetaan tietokantaa... 270969 tiedostoa ja hakemistoa tällä hetkellä asennettuna.)
Valmistellaan paketin python-uno 1:3.1.1-5ubuntu1 vaihtamista (käyttäen pakettia .../python-uno_1%3a3.1.1-5ubuntu1.1_i386.deb)...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2196, in <module>
main()
File "/usr/bin/pycentral", line 2190, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1644, in run
runtimes = get_installed_runtimes(with_unsupported=True)
File "/usr/bin/pycentral", line 279, in get_installed_runtimes
default_version = pyversions.default_version(version_only=True)
File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.6
dpkg: varoitus: vanha pre-removal-komentosarja palautti virheen! Annetaan exit status arvolla 1 ja poistutaan
dpkg - koitetaan uuden paketin komentosarjaa...
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2196, in <module>
main()
File "/usr/bin/pycentral", line 2190, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1644, in run
runtimes = get_installed_runtimes(with_unsupported=True)
File "/usr/bin/pycentral", line 279, in get_installed_runtimes
default_version = pyversions.default_version(version_only=True)
File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.6
dpkg: virhe käsiteltäessä /var/cache/apt/archives/python-uno_1%3a3.1.1-5ubuntu1.1_i386.deb (--unpack):
aliprosessi uusi pre-removal-komentosarja palautti virhetilakoodin 1
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2196, in <module>
main()
File "/usr/bin/pycentral", line 2190, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1478, in run
runtimes = get_installed_runtimes()
File "/usr/bin/pycentral", line 279, in get_installed_runtimes
default_version = pyversions.default_version(version_only=True)
File "/usr/share/pycentral-data/pyversions.py", line 172, in default_version
raise ValueError, "/usr/bin/python does not match the python default version. It must be reset to point to %s" % debian_default
ValueError: /usr/bin/python does not match the python default version. It must be reset to point to python2.6
dpkg: virhe jälkipuhdistuksessa:
aliprosessi installed post-installation script palautti virhetilakoodin 1
Käsittelyssä tapahtui liian monta virhettä:
/var/cache/apt/archives/python-uno_1%3a3.1.1-5ubuntu1.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bookmarks