yum erfordert eine ältere Version eines Pakets als Abhängigkeit

yum erfordert eine ältere Version eines Pakets als Abhängigkeit

Ich habe TexLive 2012 über dasoffizielle Seiteund möchte epydoc installieren, das von einer älteren Version abhängt. Wenn ich jedoch versuche, epydoc zu installieren, das von Texlive abhängt, erhalte ich den folgenden Fehler.

Wie kann ich das beheben?

; sudo yum install epydoc     
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit, remove-
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit, remove-
              : with-leaves
Loading mirror speeds from cached hostfile
 * fedora: ftp.tudelft.nl
 * livna: rpm.livna.org
 * rpmfusion-free: ftp.upjs.sk
 * rpmfusion-free-updates: ftp.upjs.sk
 * rpmfusion-nonfree: ftp.upjs.sk
 * rpmfusion-nonfree-updates: ftp.upjs.sk
 * updates: ftp.tudelft.nl
Resolving Dependencies
--> Running transaction check
---> Package epydoc.noarch 0:3.0.1-9.fc15 will be installed
--> Processing Dependency: texlive-latex for package: epydoc-3.0.1-9.fc15.noarch
Package texlive-latex-2007-66.fc16.x86_64 is obsoleted by 1:tex-latex-svn23639-1
.noarch which is already installed
--> Processing Dependency: texlive-dvips for package: epydoc-3.0.1-9.fc15.noarch
Package texlive-dvips-2007-66.fc16.x86_64 is obsoleted by 1:tex-dvips-svn26765-1
.noarch which is already installed
--> Finished Dependency Resolution
Error: Package: epydoc-3.0.1-9.fc15.noarch (fedora)
           Requires: texlive-dvips
           Available: texlive-dvips-2007-65.fc16.x86_64 (fedora)
               texlive-dvips = 2007-65.fc16
           Available: texlive-dvips-2007-66.fc16.x86_64 (updates)
               texlive-dvips = 2007-66.fc16
Error: Package: epydoc-3.0.1-9.fc15.noarch (fedora)
           Requires: texlive-latex
           Available: texlive-latex-2007-65.fc16.x86_64 (fedora)
               texlive-latex = 2007-65.fc16
           Available: texlive-latex-2007-66.fc16.x86_64 (updates)
               texlive-latex = 2007-66.fc16
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Antwort1

  1. Sie können versuchen, --skip-brokendas Problem mit zu umgehen.
  2. Kontaktieren Sie die TEX-Entwickler und melden Sie dies als Fehler
  3. Wenn Sie wirklich wollen, können Sie versuchenyum downgrade

Aktualisieren: Da yum --skip-brokendas hier nicht funktioniert:

yumdonwloader epydoc-3.0.1-9.fc15.noarch
rpm -i --nodeps epydoc-3.0.1-9.fc15.noarch.rpm

Sollte arbeiten.

Antwort2

Sie sollten entweder die Pakete für Fedora oder die Pakete für TeXlibe 2012 von Jindrich Novy verwenden.repo. Nicht vermischen, sie funktionieren nicht gut zusammen (jnovy verwendet andere Verzeichnisse, sie finden sich überhaupt nicht).

verwandte Informationen