Para qualquer um que tenha o mesmo problema, siga as etapas deste site: link
Funcionou para mim.
Estou tentando instalar o php-pdo mas ele sempre falha por causa do php-common
bash-3.2# yum install php-pdo
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: fedora-epel.mirror.lstn.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pdo.i386 0:5.1.6-40.el5_9 set to be updated
--> Processing Dependency: php-common = 5.1.6-40.el5_9 for package: php-pdo
--> Finished Dependency Resolution
php-pdo-5.1.6-40.el5_9.i386 from base has depsolving problems
--> Missing Dependency: php-common = 5.1.6-40.el5_9 is needed by package php-pdo-5.1.6-40.el5_9.i386 (base)
Error: Missing Dependency: php-common = 5.1.6-40.el5_9 is needed by package php-pdo-5.1.6-40.el5_9.i386 (base)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
Instalando o php-common eu recebo:
bash-3.2# yum install php-common
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: fedora-epel.mirror.lstn.net
Setting up Install Process
Package matching php-common-5.1.6-40.el5_9.i386 already installed. Checking for update.
Nothing to do
Pesquisei aqui e no google, mas não consegui encontrar nada que funcionasse
EDIT : novos repositórios adicionados:
bash-3.2# yum install php-common
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* addons: mirror.raystedman.net
* base: mirror.5ninesolutions.com
* centosplus: mirror.anl.gov
* contrib: yum.singlehop.com
* epel: fedora-epel.mirror.lstn.net
* extras: centos.unmeteredvps.net
* update: mirror.team-cymru.org
addons | 1.9 kB 00:00
base | 1.1 kB 00:00
centosplus | 1.9 kB 00:00
centosplus/primary_db | 53 kB 00:01
contrib | 1.9 kB 00:00
contrib/primary_db | 1.1 kB 00:00
epel | 3.6 kB 00:00
extras | 2.1 kB 00:00
nginx | 2.5 kB 00:00
update | 1.9 kB 00:00
update/primary_db | 84 kB 00:04
updates | 1.9 kB 00:00
Setting up Install Process
Package matching php-common-5.1.6-40.el5_9.i386 already installed. Checking for update.
Nothing to do
E então ...
bash-3.2# yum install php-pdo
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository addons is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* addons: mirror.raystedman.net
* base: centos.mirror.lstn.net
* centosplus: mirror.anl.gov
* contrib: yum.singlehop.com
* epel: fedora-epel.mirror.lstn.net
* extras: centos.unmeteredvps.net
* update: mirrors.loosefoot.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pdo.i386 0:5.1.6-40.el5_9 set to be updated
--> Processing Dependency: php-common = 5.1.6-40.el5_9 for package: php-pdo
--> Finished Dependency Resolution
php-pdo-5.1.6-40.el5_9.i386 from base has depsolving problems
--> Missing Dependency: php-common = 5.1.6-40.el5_9 is needed by package php-pdo-5.1.6-40.el5_9.i386 (base)
Error: Missing Dependency: php-common = 5.1.6-40.el5_9 is needed by package php-pdo-5.1.6-40.el5_9.i386 (base)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
Para qualquer um que tenha o mesmo problema, siga as etapas deste site: link
Funcionou para mim.
Parece que você desativou todos os repositórios além de "epel". Você tem que habilitar "base" e "atualizações" se quiser que o yum funcione.
E você deve mudar para pacotes php53 * no CentOS5.