的CentOS 6.5的yum PHP 35年5月5日我跑yum install php-xml
尝试运行安装PHP的XML得到错误
收到错误消息:
Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: mirrors.nwsuaf.edu.cn * epel: mirrors.opencas.cn * extras: mirrors.pubyun.com * remi-safe: mirror.awanti.com * updates: mirrors.pubyun.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package php-xml.x86_64 0:5.3.3-46.el6_7.1 will be installed --> Processing Dependency: php-common(x86-64) = 5.3.3-46.el6_7.1 for package: php-xml-5.3.3-46.el6_7.1.x86_64 --> Finished Dependency Resolution Error: Package: php-xml-5.3.3-46.el6_7.1.x86_64 (updates) Requires: php-common(x86-64) = 5.3.3-46.el6_7.1 Installed: php-common-5.5.35-1.el6.remi.x86_64 (@remi-php55) php-common(x86-64) = 5.5.35-1.el6.remi Available: php-common-5.3.3-40.el6_6.x86_64 (base) php-common(x86-64) = 5.3.3-40.el6_6 Available: php-common-5.3.3-46.el6_6.x86_64 (updates) php-common(x86-64) = 5.3.3-46.el6_6 Available: php-common-5.3.3-46.el6_7.1.x86_64 (updates) php-common(x86-64) = 5.3.3-46.el6_7.1 You could try using --skip-broken to work around the problem ** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows: php5-xmlreader-5.5.14-38.1.x86_64 has missing requires of php5 = ('0', '5.5.14', None) php5-xmlreader-5.5.14-38.1.x86_64 has missing requires of php5-dom = ('0', '5.5.14', None)
我寻找了很久净。但没用。请帮助或尝试提供一些想法如何实现此目的
不知道哪里PHP5-的XMLReader从何而来,但你需要删除它。 –