yum install apt错误

时间:2013-03-13 14:09:20

标签: linux yum apt

安装apt时出现以下错误。 我似乎缺少需要包装。

Error: Package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64 (rpmforge)
               Requires: librpm-4.4.so()(64bit)
    Error: Package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64 (rpmforge)
               Requires: librpmio-4.4.so()(64bit)
    Error: Package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64 (rpmforge)
               Requires: librpmdb-4.4.so()(64bit)

之前有人遇到过类似的事吗? 我是否需要逐个安装丢失的软件包?

感谢。

[root@db8 src]# uname -r
2.6.32-279.22.1.el6.x86_64




[root@db8 src]# yum install apt
 Loaded plugins: fastestmirror, refresh-packagekit
 Loading mirror speeds from cached hostfile
 * base: centos.vipernetworksystems.com
 * extras: mirror.sanctuaryhost.com
 * rpmforge: mirror.us.leaseweb.net
 * updates: mirror.linux.duke.edu
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package apt.x86_64 0:0.5.15lorg3.94a-5.el5.rf will be installed
--> Processing Dependency: librpmio-4.4.so()(64bit) for package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64
--> Processing Dependency: libreadline.so.5()(64bit) for package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64
--> Processing Dependency: librpm-4.4.so()(64bit) for package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64
--> Processing Dependency: librpmdb-4.4.so()(64bit) for package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64
--> Running transaction check
---> Package apt.x86_64 0:0.5.15lorg3.94a-5.el5.rf will be installed
--> Processing Dependency: librpmio-4.4.so()(64bit) for package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64
--> Processing Dependency: librpm-4.4.so()(64bit) for package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64
--> Processing Dependency: librpmdb-4.4.so()(64bit) for package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64
---> Package compat-readline5.x86_64 0:5.2-17.1.el6 will be installed
--> Finished Dependency Resolution
Error: Package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64 (rpmforge)
           Requires: librpm-4.4.so()(64bit)
Error: Package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64 (rpmforge)
           Requires: librpmio-4.4.so()(64bit)
Error: Package: apt-0.5.15lorg3.94a-5.el5.rf.x86_64 (rpmforge)
           Requires: librpmdb-4.4.so()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

1 个答案:

答案 0 :(得分:0)

首先尝试安装/更新rpm-libs-4.4。如果在rpmforge release repo中找不到,请尝试epel release。