19.03.2024, 07:26 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
limulus
Titel: no openoffice.org install due to python-uno bug?  BeitragVerfasst am: 23.10.2006, 08:44 Uhr



Anmeldung: 01. Dez 2004
Beiträge: 12

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.
The following dpkg purge did also not help:

> 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


Here I seem to got stuck with establishing a clean debian - do you have any idea how i can possibly proceed?

Thanks in advance,
Limulus
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
bluewater
Titel:   BeitragVerfasst am: 23.10.2006, 13:46 Uhr
Team Member
Team Member


Anmeldung: 04. Apr 2006
Beiträge: 153
Wohnort: Melbourne, Australia
To install openoffice try this:

"first: apt-get remove --purge ash-kanotix ooo-kanotix openoffice.org2 [if present] then, for [DE] : apt-get install openoffice.org openoffice.org-kde openoffice.org-l10n-de myspell-de-de openoffice.org-thesaurus-de ; or,for [EN]: apt-get install openoffice.org openoffice.org-kde myspell-en-us openoffice.org-thesaurus-en-us (myspell-en-gb)"

Note: the inbuilt help files for ooo are not auto installed.. so do apt-cache search openoffice.org to find the inbuilt help you want


Only when you have a clean install of the above and its working try installing the other stuff

_________________
Kanotix Easter RC4 on a dual boot P4 and a production box Desktop KDE::
Kanotix 2006 Easter RC4 on a P2 and Production Box , Desktop KDE::
Kanotix EasterRC4 on a MMX 199Mhz lappy
and a Production Box, Desktop ICEWM::
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
limulus
Titel:   BeitragVerfasst am: 24.10.2006, 08:02 Uhr



Anmeldung: 01. Dez 2004
Beiträge: 12

Thanks bluewater, but the problem is that I cannot get rid of / configure the python-uno package before:

apt-get install openoffice.org openoffice.org-kde myspell-en-us openoffice.org-thesaurus-en-us myspell-en-gb
Reading package lists... Done
Building dependency tree... Done
openoffice.org-kde is already the newest version.
myspell-en-us is already the newest version.
openoffice.org-thesaurus-en-us is already the newest version.
The following extra packages will be installed:
openoffice.org-writer
Suggested packages:
openoffice.org-help-2.0.4 openoffice.org-l10n-2.0.4 oooqs-kde unixodbc openoffice.org-hyphenation openoffice.org-officebean
openoffice.org-filter-so52 gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad
gstreamer0.10-ffmpeg openoffice.org-gcj
The following NEW packages will be installed:
myspell-en-gb openoffice.org openoffice.org-writer
0 upgraded, 3 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
Need to get 254kB/6558kB of archives.
After unpacking 16.1MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://ftp.de.debian.org unstable/main myspell-en-gb 1:2.0.4~rc1-3 [254kB]
Fetched 254kB in 0s (1000kB/s)
Selecting previously deselected package myspell-en-gb.
(Reading database ... 142247 files and directories currently installed.)
Unpacking myspell-en-gb (from .../myspell-en-gb_1%3a2.0.4~rc1-3_all.deb) ...
Selecting previously deselected package openoffice.org-writer.
Unpacking openoffice.org-writer (from .../openoffice.org-writer_2.0.4-1_i386.deb) ...
Selecting previously deselected package openoffice.org.
Unpacking openoffice.org (from .../openoffice.org_2.0.4-1_i386.deb) ...
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
Setting up myspell-en-gb (2.0.4~rc1-3) ...
Updating OpenOffice.org's dictionary list... done.

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
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
Errors were encountered while processing:
python-uno
openoffice.org-writer
openoffice.org
E: Sub-process /usr/bin/dpkg returned an error code (1)

I wonder why other people seem to be spared from the problem, since I only did a fresh install as stated in the original posting.
Any ideas, how to proceed?

Many thanks in advance,
limulus
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
limulus
Titel:   BeitragVerfasst am: 24.10.2006, 09:42 Uhr



Anmeldung: 01. Dez 2004
Beiträge: 12

Update:
I tried the latest apt-get update & upgrade since some newer python packages came into unstable.
However, things are even worse now:

(...)
Errors were encountered while processing:
python2.3
libgksu2-0
libgnome2-0
openoffice.org-writer
ekiga
python2.4-minimal
openoffice.org
python2.4

Help from the form would be much appreciated!!!
limulus
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
drb
Titel:   BeitragVerfasst am: 24.10.2006, 10:37 Uhr



Anmeldung: 03. Jul 2004
Beiträge: 525

I've not had any issues upgrading ooo from a 2005-04 install so it appears to be 2006-01-RC4 or just your install. It would be helpful for someone with 2006-01-RC4 commenting on whether this is a general issue or not.

drb

_________________
Kernel 2.6.21-slh-up-7
_____________________
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
titan
Titel:   BeitragVerfasst am: 24.10.2006, 12:09 Uhr



Anmeldung: 07. Mai 2005
Beiträge: 526
Wohnort: Waliser Märze
limulus hat folgendes geschrieben::
Update:
I tried the latest apt-get update & upgrade since some newer python packages came into unstable.
However, things are even worse now:

(...)
Errors were encountered while processing:
python2.3
libgksu2-0
libgnome2-0
openoffice.org-writer
ekiga
python2.4-minimal
openoffice.org
python2.4

Help from the form would be much appreciated!!!
limulus


This would look like you have some OOo installed if it is a DU. What version of python-uno is installed, your first post it was 2.0.4-2 but the latest is 2.0.4-3. Did it upgrade without problems. I think I would forget OO until python is sorted. Try removing purging any OOo and then do a DU apt may suggest a -f option to try and resolve your python problems. You could also try reinstalling python-central or a purge and reinstall, that is where it says the error is.
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
mzilikazi
Titel:   BeitragVerfasst am: 24.10.2006, 15:04 Uhr
Team Member
Team Member


Anmeldung: 17. Dez 2003
Beiträge: 1109
Wohnort: Ganymede
drb hat folgendes geschrieben::
I've not had any issues upgrading ooo from a 2005-04 install so it appears to be 2006-01-RC4 or just your install. It would be helpful for someone with 2006-01-RC4 commenting on whether this is a general issue or not.

drb


Just installed OOO & python-uno on a 2006-01-RC4 with no problems. No idea why it's giving some people hell.
Code:
$ acp python-uno
python-uno:
  Installed: 2.0.4-2
  Candidate: 2.0.4-2
  Version table:
 *** 2.0.4-2 0
        500 http://ftp.de.debian.org unstable/main Packages
        100 /var/lib/dpkg/status

_________________
Ubuntu - An ancient African word for "Can't install Debian"
 
 Benutzer-Profile anzeigen Private Nachricht senden E-Mail senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
h2
Titel:   BeitragVerfasst am: 24.10.2006, 18:21 Uhr



Anmeldung: 12. Mar 2005
Beiträge: 1005

I've done multiple installs of ooo on 2006-1 now and have had no such problems.

Zitat:
(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

upgrade or dist-upgrade here? Or apt-get update?

But I have seen no python issues in this install. In fact, the install goes so well that I added an ooo installer to my script for 2006-1, including language options etc, and since python-uno is one of the components it installs, I think I probably would have seen errors by now if there were errors to be found.

So the trick is to find out what went wrong.

Was 2006-1 burned using DAO or SAO [disk at once, session at once]?
Was it burned at a fairly slow speed, say 8x?

_________________
Read more on dist-upgrades using du-fixes-h2.sh script.
New: rdiff-backup script
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
limulus
Titel:   BeitragVerfasst am: 27.10.2006, 12:47 Uhr



Anmeldung: 01. Dez 2004
Beiträge: 12

Thanks for your replys.
However, I could not get any further and did

(1) a fresh install of 2006-RC4
(2) apt-get update
(3) apt-get upgrade (not d-u)
(4) apt-get install openoffice.org openoffice.org-kde myspell-en-us openoffice.org-thesaurus-en-us

and, well, no errors any more, which is good!

I then installed several other packages like xemacs21, joe etc. w/o any errors

I then tried to install bibus:

# apt-get install python-pysqlite2 bibus bibus-doc-en
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
python-wxgtk2.6 python-wxversion
Suggested packages:
unixodbc odbcinst1 odbcinst1debian1 libmyodbc libsqliteodbc wx2.6-doc wx2.6-examples python-xml
Recommended packages:
python-mysqldb
The following NEW packages will be installed:
bibus bibus-doc-en python-pysqlite2 python-wxgtk2.6 python-wxversion
0 upgraded, 5 newly installed, 0 to remove and 30 not upgraded.
Need to get 6505kB of archives.
After unpacking 18.0MB of additional disk space will be used.
Do you want to continue [Y/n]?
WARNING: The following packages cannot be authenticated!
bibus bibus-doc-en
Install these packages without verification [y/N]? y
Get:1 http://switch.dl.sourceforge.net ./ bibus 1.2.0-1 [338kB]
Get:2 http://ftp.de.debian.org unstable/main python-wxversion 2.6.3.2.1.5 [21.6kB]
Get:3 http://ftp.de.debian.org unstable/main python-wxgtk2.6 2.6.3.2.1.5 [2842kB]
Get:4 http://switch.dl.sourceforge.net ./ bibus-doc-en 1.2.0-1 [3215kB]
Get:5 http://ftp.de.debian.org unstable/main python-pysqlite2 2.3.2-1 [88.3kB]
Fetched 6505kB in 1s (6294kB/s)
Selecting previously deselected package python-wxversion.
(Reading database ... 144550 files and directories currently installed.)
Unpacking python-wxversion (from .../python-wxversion_2.6.3.2.1.5_all.deb) ...
Selecting previously deselected package python-wxgtk2.6.
Unpacking python-wxgtk2.6 (from .../python-wxgtk2.6_2.6.3.2.1.5_i386.deb) ...
Selecting previously deselected package python-pysqlite2.
Unpacking python-pysqlite2 (from .../python-pysqlite2_2.3.2-1_i386.deb) ...
Selecting previously deselected package bibus.
Unpacking bibus (from .../archives/bibus_1.2.0-1_all.deb) ...
Selecting previously deselected package bibus-doc-en.
Unpacking bibus-doc-en (from .../bibus-doc-en_1.2.0-1_all.deb) ...
Setting up python-wxversion (2.6.3.2.1.5) ...
'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-wxversion (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-wxgtk2.6:
python-wxgtk2.6 depends on python-wxversion; however:
Package python-wxversion is not configured yet.
dpkg: error processing python-wxgtk2.6 (--configure):
dependency problems - leaving unconfigured
Setting up python-pysqlite2 (2.3.2-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-pysqlite2 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bibus:
bibus depends on python-wxgtk2.6; however:
Package python-wxgtk2.6 is not configured yet.
bibus depends on python-sqlite | python-pysqlite1.1 | python-pysqlite2; however:
Package python-sqlite is not installed.
Package python-pysqlite1.1 is not installed.
Package python-pysqlite2 is not configured yet.
dpkg: error processing bibus (--configure):
dependency problems - leaving unconfigured
Setting up bibus-doc-en (1.2.0-1) ...
Errors were encountered while processing:
python-wxversion
python-wxgtk2.6
python-pysqlite2
bibus
E: Sub-process /usr/bin/dpkg returned an error code (1)


.... and got python problems again!!!
Any help much appreciated!!!

limulus
 
 Benutzer-Profile anzeigen Private Nachricht senden Website dieses Benutzers besuchen  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.