我在 Digitalocean 上运行 centos6 32 位 VPS。那里我想根据本教程安装php-gd,php-xml
但我得到这个错误。不知道为什么那些更新的 pkgs 没有解决!
#yum install php-mbstring php-gd php-xml
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.trouble-free.net
* epel: epel.mirror.constant.com
* extras: mirror.metrocast.net
* updates: centos.mirror.constant.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-gd.i686 0:5.3.3-23.el6_4 will be installed
--> Processing Dependency: php-common(x86-32) = 5.3.3-23.el6_4 for package: php- gd-5.3.3-23.el6_4.i686
---> Package php-mbstring.i686 0:5.3.3-23.el6_4 will be installed
--> Processing Dependency: php-common(x86-32) = 5.3.3-23.el6_4 for package: php- mbstring-5.3.3-23.el6_4.i686
---> Package php-xml.i686 0:5.3.3-23.el6_4 will be installed
--> Processing Dependency: php-common(x86-32) = 5.3.3-23.el6_4 for package: php- xml-5.3.3-23.el6_4.i686
--> Finished Dependency Resolution
Error: Package: php-gd-5.3.3-23.el6_4.i686 (updates)
Requires: php-common(x86-32) = 5.3.3-23.el6_4
Installed: php-common-5.4.19-1.el6.remi.i686 (@remi)
php-common(x86-32) = 5.4.19-1.el6.remi
Available: php-common-5.3.3-22.el6.i686 (base)
php-common(x86-32) = 5.3.3-22.el6
Available: php-common-5.3.3-23.el6_4.i686 (updates)
php-common(x86-32) = 5.3.3-23.el6_4
Error: Package: php-xml-5.3.3-23.el6_4.i686 (updates)
Requires: php-common(x86-32) = 5.3.3-23.el6_4
Installed: php-common-5.4.19-1.el6.remi.i686 (@remi)
php-common(x86-32) = 5.4.19-1.el6.remi
Available: php-common-5.3.3-22.el6.i686 (base)
php-common(x86-32) = 5.3.3-22.el6
Available: php-common-5.3.3-23.el6_4.i686 (updates)
php-common(x86-32) = 5.3.3-23.el6_4
Error: Package: php-mbstring-5.3.3-23.el6_4.i686 (updates)
Requires: php-common(x86-32) = 5.3.3-23.el6_4
Installed: php-common-5.4.19-1.el6.remi.i686 (@remi)
php-common(x86-32) = 5.4.19-1.el6.remi
Available: php-common-5.3.3-22.el6.i686 (base)
php-common(x86-32) = 5.3.3-22.el6
Available: php-common-5.3.3-23.el6_4.i686 (updates)
php-common(x86-32) = 5.3.3-23.el6_4
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest