instalando
yum install php-xml, me dio este error:
Error: Missing Dependency: php-common = 5.2.4-3 is needed by package php-xml
y en otro servidor:
...
php-xmlrpc-5.2.5-7.fc9.i386 from fedora has depsolving problems
--> Missing Dependency: php-common = 5.2.5-7.fc9 is needed by package php-xmlrpc-5.2.5-7.fc9.i386 (fedora)
Error: Missing Dependency: php-common = 5.2.5-7.fc9 is needed by package php-xmlrpc-5.2.5-7.fc9.i386 (fedora)
resolvi haciendo:
yum erase php common
yum install php-xml
yum install -y pgfouine php php-cli php-mysql php-pdo php-pgsql (o sea, todos los paquetes que desinstalo el php-common)
aqui la copia del shell:
# yum install php-xml
fedora | 2.1 kB 00:00
updates | 2.6 kB 00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package php-xml.i386 0:5.2.4-3 set to be updated
--> Processing Dependency: libexslt.so.0 for package: php-xml
--> Processing Dependency: php-common = 5.2.4-3 for package: php-xml
--> Processing Dependency: libxslt.so.1 for package: php-xml
--> Running transaction check
---> Package libxslt.i386 0:1.1.22-1.fc8 set to be updated
---> Package php-xml.i386 0:5.2.4-3 set to be updated
--> Processing Dependency: php-common = 5.2.4-3 for package: php-xml
--> Finished Dependency Resolution
Error: Missing Dependency: php-common = 5.2.4-3 is needed by package php-xml
[root@216-55-156-207 ~]# yum erase php-common
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package php-common.i386 0:5.2.6-2.fc8 set to be erased
--> Processing Dependency: php-common = 5.2.6-2.fc8 for package: php-pdo
--> Processing Dependency: php-common = 5.2.6-2.fc8 for package: php-cli
--> Processing Dependency: php-common = 5.2.6-2.fc8 for package: php-mysql
--> Processing Dependency: php-common = 5.2.6-2.fc8 for package: php-pgsql
--> Processing Dependency: php-common = 5.2.6-2.fc8 for package: php
--> Running transaction check
---> Package php-cli.i386 0:5.2.6-2.fc8 set to be erased
---> Package php-mysql.i386 0:5.2.6-2.fc8 set to be erased
---> Package php.i386 0:5.2.6-2.fc8 set to be erased
---> Package php-pgsql.i386 0:5.2.6-2.fc8 set to be erased
---> Package php-pdo.i386 0:5.2.6-2.fc8 set to be erased
--> Processing Dependency: /usr/bin/php for package: pgfouine
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package pgfouine.noarch 0:1.0-2.fc8 set to be erased
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Removing:
php-common i386 5.2.6-2.fc8 installed 616 k
Removing for dependencies:
pgfouine noarch 1.0-2.fc8 installed 985 k
php i386 5.2.6-2.fc8 installed 3.1 M
php-cli i386 5.2.6-2.fc8 installed 6.0 M
php-mysql i386 5.2.6-2.fc8 installed 172 k
php-pdo i386 5.2.6-2.fc8 installed 108 k
php-pgsql i386 5.2.6-2.fc8 installed 125 k
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 0 Package(s)
Remove 7 Package(s)
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : php-cli ######################### [1/7]
Erasing : php-mysql ######################### [2/7]
Erasing : php ######################### [3/7]
Erasing : php-pgsql ######################### [4/7]
Erasing : php-pdo ######################### [5/7]
Erasing : php-common ######################### [6/7]
warning: /etc/php.ini saved as /etc/php.ini.rpmsave
Erasing : pgfouine ######################### [7/7]
Removed: php-common.i386 0:5.2.6-2.fc8
Dependency Removed: pgfouine.noarch 0:1.0-2.fc8 php.i386 0:5.2.6-2.fc8 php-cli.i 386 0:5.2.6-2.fc8 php-mysql.i386 0:5.2.6-2.fc8 php-pdo.i386 0:5.2.6-2.fc8 php-pg sql.i386 0:5.2.6-2.fc8
Complete!
[root@216-55-156-207 ~]# yum install php-xml
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package php-xml.i386 0:5.2.4-3 set to be updated
--> Processing Dependency: libexslt.so.0 for package: php-xml
--> Processing Dependency: php-common = 5.2.4-3 for package: php-xml
--> Processing Dependency: libxslt.so.1 for package: php-xml
--> Running transaction check
---> Package libxslt.i386 0:1.1.22-1.fc8 set to be updated
---> Package php-common.i386 0:5.2.4-3 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
php-xml i386 5.2.4-3 fedora 94 k
Installing for dependencies:
libxslt i386 1.1.22-1.fc8 fedora 522 k
php-common i386 5.2.4-3 fedora 221 k
Transaction Summary
=============================================================================
Install 3 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 836 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): php-xml-5.2.4-3.i386.rpm | 94 kB 00:00
(2/3): php-common-5.2.4-3.i386.rpm | 221 kB 00:00
(3/3): libxslt-1.1.22-1.fc8.i386.rpm | 522 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: php-common ######################### [1/3]
Installing: libxslt ######################### [2/3]
Installing: php-xml ######################### [3/3]
Installed: php-xml.i386 0:5.2.4-3
Dependency Installed: libxslt.i386 0:1.1.22-1.fc8 php-common.i386 0:5.2.4-3
Complete!
[root@216-55-156-207 ~]# yum install -y pgfouine php php-cli php-mysql php-pdo php-pgsql
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package php-mysql.i386 0:5.2.4-3 set to be updated
---> Package php.i386 0:5.2.4-3 set to be updated
---> Package php-cli.i386 0:5.2.4-3 set to be updated
---> Package php-pdo.i386 0:5.2.4-3 set to be updated
---> Package php-pgsql.i386 0:5.2.4-3 set to be updated
---> Package pgfouine.noarch 0:1.0-2.fc8 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
pgfouine noarch 1.0-2.fc8 fedora 251 k
php i386 5.2.4-3 fedora 1.3 M
php-mysql i386 5.2.4-3 fedora 80 k
php-pgsql i386 5.2.4-3 fedora 64 k
Installing for dependencies:
php-cli i386 5.2.4-3 fedora 2.5 M
php-pdo i386 5.2.4-3 fedora 60 k
Transaction Summary
=============================================================================
Install 6 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 4.2 M
Downloading Packages:
(1/6): pgfouine-1.0-2.fc8.noarch.rpm | 251 kB 00:00
(2/6): php-pgsql-5.2.4-3.i386.rpm | 64 kB 00:00
(3/6): php-pdo-5.2.4-3.i386.rpm | 60 kB 00:00
(4/6): php-cli-5.2.4-3.i386.rpm | 2.5 MB 00:04
(5/6): php-5.2.4-3.i386.rpm | 1.3 MB 00:02
(6/6): php-mysql-5.2.4-3.i386.rpm | 80 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: php-pdo ######################### [1/6]
Installing: php-cli ######################### [2/6]
Installing: php-mysql ######################### [3/6]
Installing: php ######################### [4/6]
Installing: php-pgsql ######################### [5/6]
Installing: pgfouine ######################### [6/6]
Installed: pgfouine.noarch 0:1.0-2.fc8 php.i386 0:5.2.4-3 php-mysql.i386 0:5.2.4-3 php-pgsql.i386 0:5.2.4-3
Dependency Installed: php-cli.i386 0:5.2.4-3 php-pdo.i386 0:5.2.4-3
Complete!