我正在尝试在 CentOs 6.5 中安装 squirrelmail,但出现以下错误。
# yum install squirrelmail -y
.....
---> Package tmpwatch.x86_64 0:2.9.16-4.el6 will be installed
--> Running transaction check
---> Package php.x86_64 0:5.3.3-27.el6_5 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-5.3.3
--> Processing Dependency: php-cli(x86-64) = 5.3.3-27.el6_5 for package: php-5.3.3-27
---> Package php-mbstring.x86_64 0:5.3.3-27.el6_5 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-mbstr
---> Package php-pear.noarch 1:1.9.4-4.el6 will be installed
--> Finished Dependency Resolution
Error: Package: php-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.27-1.el6.remi.x86_64 (@remi)
php-common(x86-64) = 5.4.27-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-mbstring-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.27-1.el6.remi.x86_64 (@remi)
php-common(x86-64) = 5.4.27-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-5.3.3-27.el6_5.x86_64 (updates)
Requires: php-cli(x86-64) = 5.3.3-27.el6_5
Installed: php-cli-5.4.27-1.el6.remi.x86_64 (@remi)
php-cli(x86-64) = 5.4.27-1.el6.remi
Available: php-cli-5.3.3-26.el6.x86_64 (base)
php-cli(x86-64) = 5.3.3-26.el6
Available: php-cli-5.3.3-27.el6_5.x86_64 (updates)
php-cli(x86-64) = 5.3.3-27.el6_5
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@ioi ~]#
我不明白为什么会出现错误。
我已经尝试过使用--skip-broke
和rpm -Va --nofiles --nodigest
但它没有解决问题。我有 PHP-FPM php-common 和 php-cli 运行任何人都知道如何解决这个问题?