Linux yum安装apt错误

Linux yum安装apt错误,linux,yum,apt,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()(64b

我在安装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

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

为什么要在RedHat Enterprise Linux上安装apt?顺便说一句,这个问题不是针对stackoverflow,而是针对superuser。因为我想安装php5 dev和php mongo驱动程序。解决方案是:首先:yum install php安装php5;其次:yum install php devel安装phpize;第三:sudo pecl install mongo安装php mongo驱动程序,感谢您的帮助解决方案是:首先:yum安装php以安装php5;其次:yum安装php-devel以安装phpize;第三:sudo-pecl安装mongo以安装php-mongo驱动程序。无论如何,感谢您的帮助