yum 需要舊版的套件作為依賴項

yum 需要舊版的套件作為依賴項

我已經透過以下方式安裝了 TexLive 2012官方網站並想要安裝依賴舊版本的 epydoc。但是,當我嘗試安裝依賴 texlive 的 epydoc 時,出現以下錯誤。

我怎樣才能解決這個問題?

; 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

答案1

  1. 您可以嘗試使用--skip-broken來解決該問題
  2. 聯絡 TEX 開發人員並將其報告為錯誤
  3. 如果你真的想的話可以試試看yum downgrade

更新:因為yum --skip-broken這裡不起作用:

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

應該管用。

答案2

您應該使用 Fedora 的軟體包,或使用 Jindrich Novy 的 TeXlibe 2012 的軟體包回購協議。不要混合,它們不能很好地協同工作(jnovy 使用其他目錄,它們根本找不到彼此)。

相關內容