由于依赖性问题,无法安装phpmyadmin

时间:2014-02-10 05:02:57

标签: php linux phpmyadmin centos yum

我在尝试安装phpmyadmin时收到此错误。

有人可以帮我解决这个问题。我正在使用cent os 6.5。

我最近也做了yum更新。

[sonill@localhost html]$ sudo yum install phpmyadmin
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * base: ftp.iitm.ac.in
 * epel: ftp.jaist.ac.jp
 * extras: ftp.iitm.ac.in
 * rpmforge: mirror.us.leaseweb.net
 * updates: ftp.iitm.ac.in
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package phpmyadmin.noarch 0:2.11.11.3-2.el6.rf will be installed
--> Processing Dependency: php-mbstring >= 4.1.0 for package: phpmyadmin-2.11.11.3-2.el6.rf.noarch
--> Running transaction check
---> Package php-mbstring.i686 0:5.3.3-27.el6_5 will be installed
--> Processing Dependency: php-common(x86-32) = 5.3.3-27.el6_5 for package: php-mbstring-5.3.3-27.el6_5.i686
--> Finished Dependency Resolution
Error: Package: php-mbstring-5.3.3-27.el6_5.i686 (updates)
           Requires: php-common(x86-32) = 5.3.3-27.el6_5
           Installed: php-common-5.4.24-1.el6.remi.i686 (@remi)
               php-common(x86-32) = 5.4.24-1.el6.remi
           Available: php-common-5.3.3-26.el6.i686 (base)
               php-common(x86-32) = 5.3.3-26.el6
           Available: php-common-5.3.3-27.el6_5.i686 (updates)
               php-common(x86-32) = 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
[sonill@localhost html]$ 

1 个答案:

答案 0 :(得分:0)

您从Remi的存储库安装了 php-common-5.4 软件包,但该软件库现在未启用。因此,当yum尝试安装 php-mbstring 时,最新的它可以找到5.3(来自CentOS base / updates repos),它与 php-common-5.4并不能很好地协同工作。因此,您可能需要重新启用Remi的存储库并再次尝试或手动安装 php-mbstring-5.4 。我可以在这里看到包裹:

http://rpms.famillecollet.com/enterprise/6/remi/x86_64/