我的服务器使用 CentOS 6.5,存储库如下:
- 宫内节育系统
- 埃佩尔
- CES-标准-*
- 基础/升级/附加
当我今天尝试更新时(我已经有一段时间没有更新此服务器了),我收到以下错误:
---> Package perl-Clone.x86_64 0:0.31-3.1.el6 will be installed
---> Package perl-DBI.x86_64 0:1.616-1.of.el5 will be an update
--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-DBI-1.616-1.of.el5.x86_64
---> Package perl-MLDBM.noarch 0:2.04-1.of.el5 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-MLDBM-2.04-1.of.el5.noarch
--> Processing Dependency: perl(FreezeThaw) for package: perl-MLDBM-2.04-1.of.el5.noarch
---> Package perl-SQL-Statement.noarch 0:1.33-1.of.el5 will be installed
--> Processing Dependency: perl(Params::Util) >= 1.00 for package: perl-SQL-Statement-1.33-1.of.el5.noarch
--> Processing Dependency: perl(Params::Util) for package: perl-SQL-Statement-1.33-1.of.el5.noarch
--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-SQL-Statement-1.33-1.of.el5.noarch
---> Package perl-YAML.noarch 0:0.72-1.el5.rf will be installed
---> Package subversion-perl.x86_64 0:1.6.11-10.el6_5 will be installed
--> Running transaction check
---> Package git.x86_64 0:1.7.11.3-1.el5.rf will be an update
--> Processing Dependency: libcurl.so.3()(64bit) for package: git-1.7.11.3-1.el5.rf.x86_64
---> Package perl-DBI.x86_64 0:1.616-1.of.el5 will be an update
--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-DBI-1.616-1.of.el5.x86_64
---> Package perl-FreezeThaw.noarch 0:0.5001-1.of.el5 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-FreezeThaw-0.5001-1.of.el5.noarch
---> Package perl-MLDBM.noarch 0:2.04-1.of.el5 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-MLDBM-2.04-1.of.el5.noarch
---> Package perl-Params-Util.x86_64 0:1.07-1.of.el5 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-Params-Util-1.07-1.of.el5.x86_64
---> Package perl-SQL-Statement.noarch 0:1.33-1.of.el5 will be installed
--> Processing Dependency: perl(:MODULE_COMPAT_5.8.8) for package: perl-SQL-Statement-1.33-1.of.el5.noarch
--> Finished Dependency Resolution
Error: Package: perl-DBI-1.616-1.of.el5.x86_64 (ces-standard)
Requires: perl(:MODULE_COMPAT_5.8.8)
Error: Package: perl-Params-Util-1.07-1.of.el5.x86_64 (ces-standard)
Requires: perl(:MODULE_COMPAT_5.8.8)
Error: Package: perl-FreezeThaw-0.5001-1.of.el5.noarch (ces-standard-noarch)
Requires: perl(:MODULE_COMPAT_5.8.8)
Error: Package: git-1.7.11.3-1.el5.rf.x86_64 (ces-standard-deps)
Requires: libcurl.so.3()(64bit)
Error: Package: perl-MLDBM-2.04-1.of.el5.noarch (ces-standard-noarch)
Requires: perl(:MODULE_COMPAT_5.8.8)
Error: Package: perl-SQL-Statement-1.33-1.of.el5.noarch (ces-standard-noarch)
Requires: perl(:MODULE_COMPAT_5.8.8)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我使用 IOS 存储库来获取 PHP5.5,所以我可以理解它会发生冲突,但错误涉及我从未使用过的 PERL...
我应该在存储库邮件列表中报告此问题吗?我可以尝试skip-boken
,但我不认为这是一个好的解决方案。
答案1
不确定这是否对您有帮助,但请查看此链接:
https://serverfault.com/questions/401504/munin-on-centos-6-missing-perl-module-compat-5-8-8
在我看来,您为 el5 而不是 el6 安装了许多 perl rpm,这可能就是您收到这些错误的原因。