Seite 1 von 3
Abhängigkeitsproblem für "Python-Twisted"
Verfasst: 15 Dez 2015, 09:17
von Havok2333
Hallo zusammen,
nachdem die Update-Repos von CentOS 7 wieder ein wenig kaputt waren, hatte ich heute morgen ein "yum update" durchgeführt.
Leider gibt es wieder ein Abhängigkeitsproblem mit einem der Pakete:
Fehler: Paket: python-Twisted-12.0.0-24.2.x86_64 (@home_uibmz_opsi_opsi40)
Benötigt: /bin/python
Entfernen: python-2.7.5-18.el7_1.1.x86_64 (@updates)
Nicht gefunden
Aktualisiert durch: python-2.7.5-34.el7.x86_64 (base)
Nicht gefunden
Sie können versuchen, mit --skip-broken das Problem zu umgehen.
--Skip-Broken klappt leider nicht, bzw. würde das entsprechende Programm dann einfach nicht installieren.
Viele Grüße,
Havok
Re: Abhängigkeitsproblem für "Python-Twisted"
Verfasst: 15 Dez 2015, 09:28
von m.radtke
Hi,
ist python2 installiert?
bzw wo liegt die python binary?
Re: Abhängigkeitsproblem für "Python-Twisted"
Verfasst: 15 Dez 2015, 10:45
von Havok2333
which python
=> /usr/bin/python
Denke nicht, dass es python 2 ist. Aber sicher bin ich mir nicht.
Re: Abhängigkeitsproblem für "Python-Twisted"
Verfasst: 15 Dez 2015, 16:55
von m.radtke
Hallo,
bitte mal dieses Paket versuchen
http://download.opensuse.org/repositori ... x86_64.rpm
Feed back ist erwünscht
Re: Abhängigkeitsproblem für "Python-Twisted"
Verfasst: 16 Dez 2015, 09:05
von Havok2333
Das Problem hat sich heute morgen geklärt. Mir war eingefallen, dass es dafür schon mal einen Thread gab.
Es hat da geholfen, das bestehende Python-Twisted-Paket zu entfernen und dann über Yum erneut zu installeren.
viewtopic.php?f=7&t=7655&hilit=CentOS&start=10
Danke trotzdem für deine Zeit...
... und sorry für den Repost...

Re: Abhängigkeitsproblem für "Python-Twisted"
Verfasst: 16 Dez 2015, 15:06
von SisterOfMercy
Can you please give a hint how to install this with yum?
I've first tried updating without the opsi repository, then tried updating only from the opsi repository (this worked, but the error remains after trying to update the rest).
I've tried to only enable the opsi-testing repo, but it tries to find the 'old' package first, python-Twisted-12.0.0-24.2.x86_64.rpm
Ok, so I've also downloaded that package, with curl, to try a local install. Something about that it is not an update for any current installed package.
I would've copied the exact error messages, but that stupid putty session exploded again.
Uninstalling python-Twisted give a lot of other packages that will be removed too, can't be right as well.
I did notice that CentOS6 has a different version of this package available: python-Twisted-12.0.0-24.3.x86_64.rpm, from june 2015.
Re: Abhängigkeitsproblem für "Python-Twisted"
Verfasst: 22 Dez 2015, 12:14
von n.wenselowski
Hi SisterOfMercy,
SisterOfMercy hat geschrieben:
Can you please give a hint how to install this with yum?
rpm -i should do the trick.
SisterOfMercy hat geschrieben:Uninstalling python-Twisted give a lot of other packages that will be removed too, can't be right as well.
There is a option
--no-deps (or something like that) IIRC that does leave depending packages in place.
- Niko
Re: Abhängigkeitsproblem für "Python-Twisted"
Verfasst: 22 Dez 2015, 15:09
von SisterOfMercy
n.wenselowski hat geschrieben:There is a option --no-deps (or something like that) IIRC that does leave depending packages in place.
Ah, well, it seems there is no such option for yum.
I'm always holding back a bit before doing anything with rpm as it's possible to do quite a bit of damage with it.
So on CentOS7 it's this:
Code: Alles auswählen
rpm --nodeps -e python-Twisted
yum upgrade -v
yum install python-Twisted
Re: Abhängigkeitsproblem für "Python-Twisted"
Verfasst: 04 Jan 2016, 15:58
von ueluekmen
Hi,
bei RPM-Paketen ist es etwas kurios. Die letzte Versionsnummer vergibt der Buildservice wie er lustig ist und erhöht die auch mal ganz gerne. Dann kommt es drauf an, wie schnell die Mirrors nachgezogen werden. "Ich vermute" dass es eine interne Fehlerkorrektur gibt, die aber nicht überall zieht, deshalb ist ein und das selbe Paket manchmal in der Version .1 manchmal in Version .2
Der yum'my ist manchmal nicht so clever und verschluckt sich dann. Der tip mit rpm -i ist schon ganz gut, manchmal geht es nicht anders. Am besten immer erst installieren, sollten dann zwei Versionen installiert sein, die ältere wieder deinstallieren. Klingt bescheuert, aber manchmal hilft nichts anderes. Sorry
Re: Abhängigkeitsproblem für "Python-Twisted"
Verfasst: 13 Jan 2016, 08:13
von Havok2333
Frohes Neues Jahr zusammen
Als ich aus dem Urlaub kam musste ich leider feststellen, dass der Trick, das Python-Twisted mir rpm zu löschen und anschließend mit yum wieder zu installeren, nicht geklappt hat. Nach einem Server-Neustart (Kernel-Updates, etc..) funktionierten die beiden OPSI-Services nicht mehr (Opsiconfd + Opsipxeconfd). Konnte dann die Server-Konfiguration mithilfe eines Snapshots zurück setzen.
Bei einem Yum Update bekomme ich nach wie vor die folgende Meldung:
Fehler: Paket: python-Twisted-12.0.0-24.2.x86_64 (@home_uibmz_opsi_opsi40)
Benötigt: /bin/python
Entfernen: python-2.7.5-18.el7_1.1.x86_64 (@updates)
Nicht gefunden
Aktualisiert durch: python-2.7.5-34.el7.x86_64 (base)
Nicht gefunden
Sie können versuchen, mit --skip-broken das Problem zu umgehen.
Sie könnten Folgendes versuchen: rpm -Va --nofiles --nodigest
Grüße,
Havok