我正在尝试使用 YUM 在 CentOS 上安装 Apache 和 PHP,但一直出现这些错误。有人知道哪里出了问题吗?谢谢!
Loading mirror speeds from cached hostfile
* c5-testing: dev.centos.org
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package httpd.i386 0:2.2.8-1.el5s2.centos set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
httpd i386 2.2.8-1.el5s2.centos c5-testing 1.0 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 1.0 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
Package perl-libapreq needs perl(Apache::Table), this is not available.
Package perl-libapreq needs perl(mod_perl) >= 1.17, this is not available.
Package perl-libapreq needs perl(mod_perl) >= 1.17, this is not available.
Package apache-devel needs apache = 1.3.41, this is not available.
Complete!
bash-3.2#
答案1
您正在使用测试存储库 (c5-testing)。请查看目录 /etc/yum.repos.d 的内容... 通常,一旦您禁用此存储库,问题就会消失。
答案2
命令是什么?
尝试这个:
yum -y 更新 httpd
高血压