yum 需要旧版本的软件包作为依赖项

Sar*_*use 8 yum fedora latex

我已经通过官方网站安装了 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
Run Code Online (Sandbox Code Playgroud)

Nil*_*ils 6

  1. 您可以尝试使用--skip-broken来解决该问题
  2. 联系 TEX-Developers 并将其报告为错误
  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
Run Code Online (Sandbox Code Playgroud)

应该管用。