rpm dependencies

F

flashGordon

Grünschnabel
Hi,

bin Linux-Neuling — das sei vorweg gesagt...
Ich beiße mir gerade die Zähne am RPM von Fedora Core 5 aus. Alles, was ich möchte, ist das java Paket updaten. Als Fehlermeldung beim Aufruf von
Code:
rpm -Uvh jre-1_5_0_07-linux-i586.rpm
erhalte ich dann einen haufen dependency-errors. Ist ja auch irgendwie klar, wenn Programme darauf zugreifen. Aber was muss ich nun tun? Soll ich alle Programme vorher beenden (wie?) oder gibt's da einen einfacheren Weg?

Hier die Ausgabe:
Code:
[root@fedora java]# rpm -Uvh jre-1_5_0_07-linux-i586.rpm
error: Failed dependencies:
        jaas is needed by (installed) tomcat5-server-lib-5.5.15-1jpp_6fc.i386
        java >= 0:1.4 is needed by (installed) jessie-1.0.1-3.i386
        java is needed by (installed) wsdl4j-1.5.1-1jpp_4fc.noarch
        java is needed by (installed) axis-1.2.1-2jpp_2fc.noarch
        java >= 0:1.4.2 is needed by (installed) tomcat5-common-lib-5.5.15-1jpp_6fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) jakarta-commons-logging-1.0.4-2jpp_10fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) xml-commons-apis-1.3.02-0.b2.7jpp_7fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) tomcat5-servlet-2.4-api-5.5.15-1jpp_6fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) jakarta-commons-collections-3.1-2jpp_5fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) jakarta-commons-beanutils-1.7.0-2jpp_6fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) jakarta-commons-digester-1.7-2jpp_10fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) tomcat5-jasper-5.5.15-1jpp_6fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) gnu-crypto-2.1.0-1jpp_2fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) jakarta-commons-el-1.0-4jpp_6fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) regexp-1.3-2jpp_7fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) tomcat5-jsp-2.0-api-5.5.15-1jpp_6fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) jakarta-commons-daemon-1.0-2jpp_4fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) xerces-j2-2.7.1-6jpp_7fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) ant-1.6.5-1jpp_7fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) xalan-j2-2.6.0-3jpp_9fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) mx4j-3.0.1-1jpp_9fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) jakarta-commons-modeler-1.1-4jpp_6fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) tomcat5-server-lib-5.5.15-1jpp_6fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) geronimo-specs-1.0-0.M2.2jpp_7fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) tomcat5-common-lib-5.5.15-1jpp_6fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) tomcat5-5.5.15-1jpp_6fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) jakarta-commons-validator-1.1.4-1jpp_5fc.i386
        java-gcj-compat >= 1.0.31 is needed by (installed) struts-1.2.8-2jpp_9fc.i386
        java-gcj-compat >= 1.0.43 is needed by (installed) eclipse-ecj-3.1.2-1jpp_15fc.i386
        java-sasl is needed by (installed) classpathx-mail-1.0-4jpp_5fc.noarch
        java-sasl is needed by (installed) gnu-crypto-2.1.0-1jpp_2fc.i386
        java-sasl is needed by (installed) jessie-1.0.1-3.i386
        java-sasl is needed by (installed) ldapjdk-4.17-1jpp_3fc.1.1.noarch
        jce is needed by (installed) classpathx-mail-1.0-4jpp_5fc.noarch
        jce is needed by (installed) gnu-crypto-2.1.0-1jpp_2fc.i386
        jce is needed by (installed) jessie-1.0.1-3.i386
        jce is needed by (installed) mx4j-3.0.1-1jpp_9fc.i386
        jdbc-stdext is needed by (installed) tomcat5-common-lib-5.5.15-1jpp_6fc.i386
        jdbc-stdext is needed by (installed) struts-1.2.8-2jpp_9fc.i386
        jndi is needed by (installed) ldapjdk-4.17-1jpp_3fc.1.1.noarch
        jndi is needed by (installed) tomcat5-common-lib-5.5.15-1jpp_6fc.i386
        jsse is needed by (installed) mx4j-3.0.1-1jpp_9fc.i386
        java-1.4.2-gcj-compat = 0:1.4.2.0-40jpp_83rh is needed by (installed) java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp_83rh.i386
 
Und warum aktualisierst du nicht mit yum? Wenn du schon nen einzelnes RPM nimmst, wirst du nicht drumrum kommen alle anderen abhaengigen Pakete auch zu aktualisieren oder halt mit Force-Optionen installieren, aber das kann maechtig nach hinten losgehen und dann geht evtl. garnichts mehr, was du an Java-Kram installiert hast.
 
Zuletzt bearbeitet:
erhalte ich dann einen haufen dependency-errors. Ist ja auch irgendwie klar, wenn Programme darauf zugreifen. Aber was muss ich nun tun? Soll ich alle Programme vorher beenden (wie?) oder gibt's da einen einfacheren Weg?
Das hat nichts damit zu tun, dass diese Programme laufen, sondern dass diese Programme auf Funktionen zugreifen die Bestandteil des java-Paketes sind.
Einzelne RPM's zu installieren kann hin- und wieder schon zu Tobsuchtsanfällen führen, daher rate ich Dir das was theton schon sagte. Nimm yum odere installiere dir apt4rpm und nimm dann dieses.
 
Ah, ok. Danke. Ich wollte halt nur alles mal ausprobieren und dachte rpm wäre eine gängige Methode, ein Paket upzudaten. Jetzt weiß ich jedenfalls, wie's theoretisch funktioniert und werd weiterhin yum benutzen.
Danke!
 
Yum, Yumex, rpm

Manuelle sich RPM zu installieren ist wie schon erwaehnt teilweise recht aufwendig, deswegen sollte man sich am besten mit Yum auseinander setzen als zusaetzliche Quelle wuerde ich noch unbedingt zu Livna raten http://rpm.livna.org, Yumex bietet dir eine Grafische Installer moeglichkeit ( yum install yumex ) hier bitte aufpassen das du dich nur auf 4 Quellen Core, Updates, Extras und Livna beziehst und nicht die Dev Quellen hinzuaktivierst so kann sich das System auch mal schnell verabschieden...
Fuer RPM ansonsten http://www.tu-chemnitz.de/docs/lindocs/RPM/


mfg ii
 

Ähnliche Themen

Gnome Classic Desktop: Home-Inhalt Icons ausblenden

Wieder mal Probleme mit yum

Fehlende Bibliotheken

Yast2 manuell installieren

Displayport + externer Monitor zeigt bei startx nichts erst bei DVI

Zurück
Oben