• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Smart Fehlermeldung -gelöst-

A

Anonymous

Gast
Hallo,
bei mir startet smart --gui nicht.
Es kommt folgende Fehlermeldung:
error: System has no support for gtk python interface
Mein Betriebssystem: Suse Linux 10.0
Was kann ich tun, um smart zu nutzen ?
Die Datei gtk python ist installiert.
Wo liegt ansonsten der Fehler ?
Danke im Voraus
Gruß
Sonja Kurtenbach
 

Lurchi

Hacker
Hi!
Poste bitte: smart-Version, smart-gui-Version.
Du kannst smart auch weiterhin über die Konsole erreichen!

Code:
smart update; smart upgrade

Falls das auch nicht fruchtet, mache mal folgendes:

Code:
rm /var/lib/smart/channels/*
[Edit] rm /var/lib/smart/cache
Danach mal ein 'smart update' fahren.
 
OP
A

Anonymous

Gast
Hallo,

nachfolgend die Ergebnisse:

linux:~ # smart update
Updating cache... ######################################## [100%]

Fetching information for 'SUSE 10.0 Java Repository'...
-> http://download.opensuse.org/distribution/SL-10.0-OSS/.../media
media ######################################## [ 4%]

Fetching information for 'SUSE Linux extra proprietary packages'...
-> http://ftp.belnet.be/mirrors/ftp.suse.com/suse/i386/10.0/.../media
media ######################################## [ 8%]

Fetching information for 'SUSE 10.0 OpenSource Repository'...
-> http://download.opensuse.org/distribution/SL-10.0-OSS/inst-source/.../media
media ######################################## [ 13%]

Fetching information for 'Guru 3rd party package repository'...
-> http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.0/media.1/media
media ######################################## [ 17%]
-> http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.0/content
content ######################################## [ 21%]
-> http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.0/setup/descr/packages
packages ######################################## [ 26%]
-> http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.0/setup/.../packages.en
packages.en ######################################## [ 30%]

Fetching information for 'Packman 3rd Party Package Repository'...
-> http://packman.inode.at/suse/10.0/media.1/media
media ######################################## [ 34%]

Fetching information for 'SUSE Linux Online Updates'...
-> ftp://ftp.suse.com/pub/suse/update/10.0/repodata/repomd.xml
repomd.xml ######################################## [ 39%]
-> ftp://ftp.suse.com/pub/suse/update/10.0/repodata/primary.xml.gz
-> ftp://ftp.suse.com/pub/suse/update/10.0/repodata/filelists.xml.gz
primary.xml.gz ######################################## [ 43%]
filelists.xml.gz ######################################## [ 47%]

Updating cache... ######################################## [100%]

Channels have 735 new packages.
Saving cache...

linux:~ # smart upgrade
Loading cache...
Updating cache... ######################################## [100%]

Computing transaction...

Upgrading packages (40):
MozillaFirefox kipi-plugins
MozillaFirefox-translations libcddb
MozillaThunderbird libevent
alsa libgphoto2
alsa-firmware libmusicbrainz
alsa-tools libsndfile
amarok libtunepimp
amarok-libvisual libvorbis
amarok-xine libxml2
curl libxslt
digikam openobex
digikamimageplugins openssh
dvd+rw-tools openssh-askpass
gettext openssl
gimp perl-DBD-SQLite
gtk-qt-engine python
imlib2 rar
imlib2-loaders screen
jack suse-release-oss
k3b susehelp

Installing packages (16):
ImageMagick-Magick++ libmtp portaudio18
kdemultimedia3-sound libnjb-snapshot portaudio18-devel
libffmpeg0 libtunepimp-mad postgresql-libs
libgpod libtunepimp-mp4 ruby
libifp libvisual04
libmpcdec mysql-shared

Removing packages (1):
amarok-helix

109.6MB of package files are needed. 124.9MB will be used.

Confirm changes? (Y/n): rm /var/lib/smart/channels/*

Saving cache...

linux:~ # rm /varlib/smart/cache
rm: cannot remove `/varlib/smart/cache': No such file or directory
linux:~ # rpm -q smart smart-gui python-gtk
smart-0.42-14.guru.suse100
smart-gui-0.42-14.guru.suse100
python-gtk-2.8.6-2
linux:~ #

Gruß
Sonja Kurtenbach
 
Woher hast du denn das Paket python-gtk?
Die aktuelle Version für SuSE Linux 10.0 ist: python-gtk-2.8.0-3

Poste mal die Ausgabe von
Code:
smart channel --show
 
OP
A

Anonymous

Gast
Hallo,
ich habe nochmals die Datei gtk-python updated. Leider klappt es immer noch
nicht.
Nachfolgend die Channel-Liste:
linux:~ # smart channel --show
[suse-extra]
type = yast2
name = SUSE Linux extra proprietary packages
baseurl = http://ftp.belnet.be/mirrors/ftp.suse.com/suse/i386/10.0/inst-source-extra

[suse]
type = yast2
name = SUSE 10.0 OpenSource Repository
baseurl = http://download.opensuse.org/distribution/SL-10.0-OSS/inst-source

[guru]
type = yast2
name = Guru 3rd party package repository
baseurl = http://ftp.gwdg.de/pub/linux/misc/suser-guru/rpm/10.0

[suse-mozilla]
type = rpm-md
name = Latest mozilla.org packages
disabled = yes
baseurl = ftp://ftp.suse.com/pub/projects/mozilla/10.0

[suse-kde]
type = rpm-md
name = Latest KDE packages
disabled = yes
baseurl = http://software.opensuse.org/download/KDE:/KDE3/SUSE_Linux_10.0

[rpm-sys]
type = rpm-sys
name = RPM System

[suse-wine]
type = rpm-md
name = Latest wine packages
disabled = yes
baseurl = http://software.opensuse.org/download/Emulators:/Wine/SUSE_Linux_10.0/

[packman]
type = yast2
name = Packman 3rd Party Package Repository
baseurl = http://packman.inode.at/suse/10.0

[suse-update]
type = rpm-md
name = SUSE Linux Online Updates
baseurl = ftp://ftp.suse.com/pub/suse/update/10.0/

[suse-kde-backports]
type = rpm-md
name = Current KDE applications
disabled = yes
baseurl = http://software.opensuse.org/download/KDE:/Backports/SUSE_Linux_10.0

[suse-java]
type = yast2
name = SUSE 10.0 Java Repository
baseurl = http://download.opensuse.org/distribution/SL-10.0-OSS/inst-source-java

Gruß
Sonja Kurtenbach
 
Die channels sehen soweit ganz gut aus.

Sonja Kurtenbach schrieb:
ich habe nochmals die Datei gtk-python updated.
Wie hast du das Paket geupdatet? Richtige Version?

Deinstallier das Paket mal:
Code:
rpm -e --nodeps python-gtk
(Die Option --nodeps ist notwendig, weil smart-gui von python-gtk abhängt - ansonsten ganz vorsichtig mit dieser Option umgehen)

Anschließend wieder installieren:
Code:
rpm -Uhv http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/SL-10.0-OSS/inst-source/suse/i586/python-gtk-2.8.0-3.i586.rpm
 
OP
A

Anonymous

Gast
Hallo,
jetzt habe ich es endlich mal geschafft.
Habe gtk-python nach der Anweisung gelöscht, und anschließend wieder
neu installiert.
Er kam eine ganze Latte an Fehlermeldungen:
linux:~ # rpm -e --nodeps python-gtk
linux:~ # rpm -Uhv /home/Sonja/Programme/python-gtk-2.8.0-3.i586.rpm
Preparing... ########################################### [100%]
file /usr/lib/pkgconfig/pygobject-2.0.pc from install of python-gtk-2.8.0-3 conflicts with file from package python-gobject-2.10.1-2
file /usr/lib/python2.4/site-packages/gtk-2.0/dsextras.py from install of python-gtk-2.8.0-3 conflicts with file from package python-gobject-2.10.1-2
file /usr/lib/python2.4/site-packages/gtk-2.0/dsextras.pyc from install of python-gtk-2.8.0-3 conflicts with file from package python-gobject-2.10.1-2
file /usr/lib/python2.4/site-packages/gtk-2.0/dsextras.pyo from install of python-gtk-2.8.0-3 conflicts with file from package python-gobject-2.10.1-2
file /usr/lib/python2.4/site-packages/gtk-2.0/gobject.so from install of python-gtk-2.8.0-3 conflicts with file from package python-gobject-2.10.1-2
file /usr/lib/python2.4/site-packages/pygtk.py from install of python-gtk-2.8.0-3 conflicts with file from package python-gobject-2.10.1-2
file /usr/lib/python2.4/site-packages/pygtk.pyc from install of python-gtk-2.8.0-3 conflicts with file from package python-gobject-2.10.1-2
file /usr/lib/python2.4/site-packages/pygtk.pyo from install of python-gtk-2.8.0-3 conflicts with file from package python-gobject-2.10.1-2
Wie gehe ich jetzt weiter vor ?
Danke im Voraus.
Gruß
Sonja Kurtenbach
 
Wo genau hast du das Paket python-gobject-2.10.1-2 denn überhaupt her?
Es gibt kein python-gobject-Paket für SuSE 10.0. (zumindest finde ich keines)

Deinstallier das Paket mal wieder:
Code:
rpm -e python-gobject
Dann nochmal versuchen python-gtk zu installieren.

Und: Hast du noch weitere Pakte installiert die nicht zu deiner SuSE-Version passen?
 

Grothesk

Ultimate Guru
Im Factory-Tree gibt es sowas:
http://software.opensuse.org/download/jarpack/factory/repodata/repoview/python-gobject-0-2.10.1-1.10.html

Bitte Factory rausnehmen!
 
OP
A

Anonymous

Gast
Hallo,
jetzt habe ich die beiden Dateien auf die genannten Versionen geändert,
aber die Fehlermeldung ist immer noch die gleiche.
Hier mal der Post von python -c "import gtk":
linux:~ # python -c "import gtk"
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 37, in ?
from _gtk import *
ImportError: /usr/lib/libcairo.so.2: undefined symbol: glitz_create_drawable
Was kann ich denn jetzt noch tun ?
Gruß
Sonja Kurtenbach
 
OP
A

Anonymous

Gast
Ach ja,
ich habe noch vergessen.
Bei der Installation von python-gtk kam diese Fehlermedlung:
linux:~ # rpm -Uhv /home/Sonja/Programme/python-gtk-2.8.0-3.i586.rpm
Preparing... ########################################### [100%]
package python-gtk-2.8.0-3 is already installed
file /usr/lib/pkgconfig/pygobject-2.0.pc from install of python-gtk-2.8.0-3 conflicts with file from package python-gobject-2.10.1-1.10
Gruß
Sonja Kurtenbach
 
Sonja Kurtenbach schrieb:
jetzt habe ich die beiden Dateien auf die genannten Versionen geändert,
Welche beiden Dateien denn?

Bitte, alles der Reihe nach und nicht planlos alle Befehle in der Konsole ausführen!

Was ist denn jetzt überhaupt installiert?
Alle installierten Pakete die python im Namen haben anzeigen lassen:
Code:
rpm -qa | grep python
Ausgabe bitte posten.
 
OP
A

Anonymous

Gast
Hallo,
hier der Post:
rpm -qa | grep python:
kdebindings3-python-3.5.5-1.1
python-numeric-24.0-2
python-gtk-2.8.0-3
python-xml-2.4.1-3
python-gobject-2.10.1-1.10
python-2.4.1-3
python-qt-3.5.5-1.1
rpm-python-4.1.1-222
python-elementtree-1.2.6-2
python-cairo-1.2.0-1
Gruß
Sonja Kurtenbach
 
python-gobject ist immer noch installiert.

Also:
python-gobject deinstallieren:
Code:
rpm -e python-gobject
Zur Sicherheit python-gtk auch nochmal deinstallieren:
Code:
rpm -e --nodeps python-gtk
Und python-gtk sauber installieren:
Code:
rpm -Uhv http://ftp.tu-chemnitz.de/pub/linux/opensuse/distribution/SL-10.0-OSS/inst-source/suse/i586/python-gtk-2.8.0-3.i586.rpm

Falls Fehler auftreten: Abbrechen und die Meldungen posten.
 
OP
A

Anonymous

Gast
Hallo,
jetzt habe ich nochmal die beiden Dateien deinstalliert und installiert.
Außerdem mal den PC neu gestartet,
eine Konsole geöffnet, den Aufruf smart --gui gemacht,
leider immer noch der gleiche Fehler.
Hier nochmal der Post:
linux:~ # smart --gui
error: System has no support for gtk python interface

linux:~ # rpm -qa | grep python
kdebindings3-python-3.5.5-1.1
python-numeric-24.0-2
python-xml-2.4.1-3
python-gobject-2.10.1-1.10
python-2.4.1-3
python-qt-3.5.5-1.1
rpm-python-4.1.1-222
python-gtk-2.8.0-3
python-elementtree-1.2.6-2
python-cairo-1.2.0-1

Jetzt bin ich doch schon kurz vor der Verzweiflung ?

Was kann ich denn jetzt noch machen ?

Gruß
Sonja Kurtenbach
 
python-cairo-1.2.0-1 ist auch eins dieser Fremdpakete.

Also: Weg damit
Code:
rpm -e python-cairo

Anschließend:
Code:
python -c "import gtk"
 
OP
A

Anonymous

Gast
Hallo,
danke für die geduldige Hilfe.
Nach dem Löschen von gtk-cairo klappt es jetzt.
Super, jetzt bin ich richtig glücklich.
Danke nochmals.
Gruß
Sonja Kurtenbach
 
Schön. :D

Dann markier den Thread bitte noch als "gelöst".
(Deinen ersten Beitrag editieren und ein [gelöst] zum Titel hinzufügen)

Und immer daran denken:
Pakete am besten nur über den Paketmanager - mit den passenden Quellen für deine Distribution/Version - installieren.
 
Oben