Error installing postgresq91-python package in Centos 6 x86_64 from the pgdg Centos repo:
[root@c6 yum.repos.d]# yum install postgresql91-python
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: centos.redeminastelecom.com.br
* epel: mirror.symnds.com
* extras: centos.pop.com.br
* updates: centos.pop.com.br
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package postgresql91-python.x86_64 0:4.0-2PGDG.rhel6 will be installed
--> Processing Dependency: mx for package: postgresql91-python-4.0-2PGDG.rhel6.x86_64
--> Running transaction check
---> Package mx.x86_64 0:3.1.1-6.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=======================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================
Installing:
postgresql91-python x86_64 4.0-2PGDG.rhel6 pgdg91 70 k
Installing for dependencies:
mx x86_64 3.1.1-6.el6 epel 4.0 M
Transaction Summary
=======================================================================================================================
Install 2 Package(s)
Total download size: 4.1 M
Installed size: 6.5 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 4.1 M
(1/2): mx-3.1.1-6.el6.x86_64.rpm | 4.0 MB 00:08
(2/2): postgresql91-python-4.0-2PGDG.rhel6.x86_64.rpm | 70 kB 00:00
-----------------------------------------------------------------------------------------------------------------------
Total 376 kB/s | 4.1 MB 00:11
Running rpm_check_debug
Running Transaction Test
Transaction Check Error:
file /usr/lib64/python2.6/site-packages/_pg.so from install of postgresql91-python-0:4.0-2PGDG.rhel6.x86_64 conflicts with file from package PyGreSQL-3.8.1-2.el6.x86_64
file /usr/lib64/python2.6/site-packages/pg.py from install of postgresql91-python-0:4.0-2PGDG.rhel6.x86_64 conflicts with file from package PyGreSQL-3.8.1-2.el6.x86_64
file /usr/lib64/python2.6/site-packages/pg.pyc from install of postgresql91-python-0:4.0-2PGDG.rhel6.x86_64 conflicts with file from package PyGreSQL-3.8.1-2.el6.x86_64
file /usr/lib64/python2.6/site-packages/pg.pyo from install of postgresql91-python-0:4.0-2PGDG.rhel6.x86_64 conflicts with file from package PyGreSQL-3.8.1-2.el6.x86_64
file /usr/lib64/python2.6/site-packages/pgdb.py from install of postgresql91-python-0:4.0-2PGDG.rhel6.x86_64 conflicts with file from package PyGreSQL-3.8.1-2.el6.x86_64
file /usr/lib64/python2.6/site-packages/pgdb.pyc from install of postgresql91-python-0:4.0-2PGDG.rhel6.x86_64 conflicts with file from package PyGreSQL-3.8.1-2.el6.x86_64
file /usr/lib64/python2.6/site-packages/pgdb.pyo from install of postgresql91-python-0:4.0-2PGDG.rhel6.x86_64 conflicts with file from package PyGreSQL-3.8.1-2.el6.x86_64
Error Summary
-------------
[root@c6 yum.repos.d]# yum list installed postgresql*
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
* base: centos.redeminastelecom.com.br
* epel: mirror.symnds.com
* extras: centos.pop.com.br
* updates: centos.pop.com.br
Installed Packages
postgresql90.x86_64 9.0.7-1PGDG.rhel6 @pgdg90
postgresql90-docs.x86_64 9.0.7-1PGDG.rhel6 @pgdg90
postgresql90-libs.x86_64 9.0.7-1PGDG.rhel6 @pgdg90
postgresql90-odbc.x86_64 09.00.0310-1PGDG.rhel6 @pgdg90
postgresql90-plpython.x86_64 9.0.7-1PGDG.rhel6 @pgdg90
postgresql90-server.x86_64 9.0.7-1PGDG.rhel6 @pgdg90
postgresql91.x86_64 9.1.3-1PGDG.rhel6 @pgdg91
postgresql91-libs.x86_64 9.1.3-1PGDG.rhel6 @pgdg91
postgresql91-plpython.x86_64 9.1.3-1PGDG.rhel6 @pgdg91
postgresql91-server.x86_64 9.1.3-1PGDG.rhel6 @pgdg91
Regards, Clodoaldo