![在 Fedora 中安装 mercurial 时出现软件包依赖性错误](https://linux22.com/image/1293921/%E5%9C%A8%20Fedora%20%E4%B8%AD%E5%AE%89%E8%A3%85%20mercurial%20%E6%97%B6%E5%87%BA%E7%8E%B0%E8%BD%AF%E4%BB%B6%E5%8C%85%E4%BE%9D%E8%B5%96%E6%80%A7%E9%94%99%E8%AF%AF.png)
我正在尝试mercurial
使用 yum 在我的 Fedora 14 中安装并出现以下错误。请帮忙解决此问题。
yum --enablerepo=rpmforge --disablerepo=remi --disablerepo=fedora install mercurial.i386
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Repository fedora is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mercurial.i386 0:1.9.2-1.el5.rf set to be installed
--> Processing Dependency: python(abi) = 2.4 for package: mercurial-1.9.2-1.el5.rf.i386
--> Finished Dependency Resolution
Error: Package: mercurial-1.9.2-1.el5.rf.i386 (rpmforge)
Requires: python(abi) = 2.4
Installed: python-2.7-8.fc14.1.i686 (@fedora/$releasever)
python(abi) = 2.7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
答案1
永久删除 RPMForge 存储库数据。您不应该在 Feroda 机器上使用 EL 存储库。请注意您的操作系统的位数,i686
即 32 位。如果您遇到问题,请在 RH 的 Bugzilla 中记录错误,请求对存储库中的软件包进行版本升级。