在安装 iRedMail 时,我遇到了一些问题,我的一些旧软件包是由 Remi repo 安装或更新的。我现在已经禁用了 epel 和 remi repos,运行后yum update all
,尝试安装 iRedMail 时仍然出现此错误。
Error: Package: php-pecl-apc-3.1.9-2.el6.x86_64 (base)
Requires: php(zend-abi) = 20090626
Installed: php-common-5.4.30-1.el6.remi.x86_64 (@remi)
php(zend-abi) = 20100525-x86-64
Available: php-common-5.3.3-26.el6.x86_64 (base)
php(zend-abi) = 20090626
Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
php(zend-abi) = 20090626
Error: Package: php-ldap-5.3.3-27.el6_5.x86_64 (updates)
Requires: php-common(x86-64) = 5.3.3-27.el6_5
Installed: php-common-5.4.30-1.el6.remi.x86_64 (@remi)
php-common(x86-64) = 5.4.30-1.el6.remi
Available: php-common-5.3.3-26.el6.x86_64 (base)
php-common(x86-64) = 5.3.3-26.el6
Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
php-common(x86-64) = 5.3.3-27.el6_5
Error: Package: php-pecl-apc-3.1.9-2.el6.x86_64 (base)
Requires: php(api) = 20090626
Installed: php-common-5.4.30-1.el6.remi.x86_64 (@remi)
php(api) = 20100412-x86-64
Available: php-common-5.3.3-26.el6.x86_64 (base)
php(api) = 20090626
Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
php(api) = 20090626
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
有什么方法可以替换这些包吗?我原本想卸载它们,但我担心这会对我现有的服务器配置造成问题。
谢谢!
答案1
错误的方式,您必须启用 remi repo,因为您已经从 remi 安装了 php。如果您在启用 remi 的情况下安装 iRedMail 时遇到问题,那么您最好发布该错误。