kanotix.com

Installation, Einstellungen, Systempflege - python-uno cannot be configured

limulus - 19.10.2006, 16:40 Uhr
Titel: python-uno cannot be configured
Dear forum,

I repeatedly run into a installation/configuration problem with python packages. Here is what I did:

(1) fresh install of the latest kanotix 2006-01-RC4
(2) apt-get upgrade according to the default sources.list
(3) installation of several packages w/o any problems

(4) apt-get install openoffice.org openoffice.org2-thesaurus-en-us openoffice.org-kde openclipart-openoffice.org

Everything runs smoothly until I get:

(..)
Setting up python-uno (2.0.4-1) ...
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/usr/bin/pycentral", line 3, in ?
import fnmatch, glob, os, re, sys, time
ImportError: No module named fnmatch
dpkg: error processing python-uno (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of openoffice.org-writer:
openoffice.org-writer depends on python-uno (>= 2.0.4); however:
Package python-uno is not configured yet.
dpkg: error processing openoffice.org-writer (--configure):
dependency problems - leaving unconfigured
Setting up openoffice.org-calc (2.0.4-1) ...

Setting up openoffice.org-draw (2.0.4-1) ...

Setting up openoffice.org-impress (2.0.4-1) ...

Setting up openoffice.org-math (2.0.4-1) ...

Setting up openoffice.org-java-common (2.0.4-1) ...
Setting up openoffice.org-base (2.0.4-1) ...

dpkg: dependency problems prevent configuration of openoffice.org:
openoffice.org depends on openoffice.org-writer; however:
Package openoffice.org-writer is not configured yet.
dpkg: error processing openoffice.org (--configure):
dependency problems - leaving unconfigured
Setting up openoffice.org-kde (2.0.4-1) ...
Setting up openoffice.org-thesaurus-en-us (2.0.4~rc1-3) ...
Updating OpenOffice.org's dictionary list... done.

Setting up openclipart-png (0.18+dfsg-4) ...
Setting up openclipart-openoffice.org (0.18+dfsg-4) ...
Errors were encountered while processing:
python-uno
openoffice.org-writer
openoffice.org
E: Sub-process /usr/bin/dpkg returned an error code (1)

> dpkg --configure -a

and

> apt-get -f install

did not help.



I then tried:
> apt-get remove python-uno
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
openoffice.org openoffice.org-writer python-uno
0 upgraded, 0 newly installed, 3 to remove and 11 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 16.4MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 142289 files and directories currently installed.)
Removing openoffice.org ...
Removing openoffice.org-writer ...
Removing python-uno ...
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/usr/bin/pycentral", line 3, in ?
import fnmatch, glob, os, re, sys, time
ImportError: No module named fnmatch
dpkg: error processing python-uno (--remove):
subprocess pre-removal script returned error exit status 1
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/usr/bin/pycentral", line 3, in ?
import fnmatch, glob, os, re, sys, time
ImportError: No module named fnmatch
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
python-uno
E: Sub-process /usr/bin/dpkg returned an error code (1)
#####################################

which narrowed the problem down to one package being not configurable.
Here I seem to got stuck - do you have any idea how i can possibly proceed?

Thanks in advance,
Limulus
devil - 19.10.2006, 16:45 Uhr
Titel: python-uno cannot be configured
try: dpkg --purge python-uno

greetz
devil
limulus - 20.10.2006, 08:41 Uhr
Titel:
Thanks for replying, however, the package could not be removed:

> dpkg --purge python-uno
(Reading database ... 142240 files and directories currently installed.)
Removing python-uno ...
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/usr/bin/pycentral", line 3, in ?
import fnmatch, glob, os, re, sys, time
ImportError: No module named fnmatch
dpkg: error processing python-uno (--purge):
subprocess pre-removal script returned error exit status 1
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "/usr/bin/pycentral", line 3, in ?
import fnmatch, glob, os, re, sys, time
ImportError: No module named fnmatch
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
python-uno

Any further ideas would be much welcomed!
Limulus
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007