Thread: Error installing postgresq91-python package

Error installing postgresq91-python package

From
Clodoaldo Neto
Date:
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

Re: Error installing postgresq91-python package

From
Devrim GÜNDÜZ
Date:
Hi,

On Tue, 2012-02-28 at 10:33 -0300, Clodoaldo Neto wrote:

<snip>

> 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
<snip>

What is unusual here? I'd probably add a Conflicts: line, so that the
error would appear before the installation. Is that what you want?

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Attachment

Re: Error installing postgresq91-python package

From
Clodoaldo Neto
Date:
Em 28 de fevereiro de 2012 17:54, Devrim GÜNDÜZ <devrim@gunduz.org> escreveu:

Hi,

On Tue, 2012-02-28 at 10:33 -0300, Clodoaldo Neto wrote:

<snip>

> 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
<snip>

What is unusual here? I'd probably add a Conflicts: line, so that the
error would appear before the installation. Is that what you want?

Not sure. It was just in case you had already done something like that and didn't know it was not working.

Clodoaldo
 
Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Re: Error installing postgresq91-python package

From
PgSQL
Date:
Hi.

When I run

yum install postgresql91-python

resul is:

# yum install postgresql91-python
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.lug.udel.edu
 * extras: mirror.7x24web.net
 * updates: centos.mirror.choopa.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package postgresql91-python.i686 0:4.0-2PGDG.rhel6 will be installed
--> Processing Dependency: mx for package:
postgresql91-python-4.0-2PGDG.rhel6.i
686
--> Finished Dependency Resolution
Error: Package: postgresql91-python-4.0-2PGDG.rhel6.i686 (pgdg91)
           Requires: mx
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@282968 ~]#


this is terrible to my.

Any help please ?

Error: Package: postgresql91-python-4.0-2PGDG.rhel6.i686 (pgdg91)
           Requires: mx

I no find nothing about this.

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Error-installing-postgresq91-python-package-tp5521831p5552193.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Re: Error installing postgresq91-python package

From
Adrian Klaver
Date:
On 03/09/2012 07:48 PM, PgSQL wrote:
> Hi.
>
> When I run
>
> yum install postgresql91-python
>
> resul is:
>
> # yum install postgresql91-python
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
>   * base: mirror.lug.udel.edu
>   * extras: mirror.7x24web.net
>   * updates: centos.mirror.choopa.net
> Setting up Install Process
> Resolving Dependencies
> -->  Running transaction check
> --->  Package postgresql91-python.i686 0:4.0-2PGDG.rhel6 will be installed
> -->  Processing Dependency: mx for package:
> postgresql91-python-4.0-2PGDG.rhel6.i
> 686
> -->  Finished Dependency Resolution
> Error: Package: postgresql91-python-4.0-2PGDG.rhel6.i686 (pgdg91)
>             Requires: mx
>   You could try using --skip-broken to work around the problem
>   You could try running: rpm -Va --nofiles --nodigest
> [root@282968 ~]#
>
>
> this is terrible to my.
>
> Any help please ?
>
> Error: Package: postgresql91-python-4.0-2PGDG.rhel6.i686 (pgdg91)
>             Requires: mx
>
> I no find nothing about this.

I am guessing related to this:

http://www.egenix.com/products/python/mxBase/

I don't use Fedora but I would assume:

yum install mx

would solve the dependency.
>





--
Adrian Klaver
adrian.klaver@gmail.com

Re: Error installing postgresq91-python package

From
PgSQL
Date:
Thanks.

You can see:

root@s1 [/000/yuyuyum/2012/2012]# yum install mx
Traceback (most recent call last):
  File "/usr/bin/yum", line 4, in ?
    import yum
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 50, in ?
    import comps
  File "/usr/lib/python2.4/site-packages/yum/comps.py", line 23, in ?
    iterparse = cElementTree.iterparse
AttributeError: 'module' object has no attribute 'iterparse'
root@s1 [/000/yuyuyum/2012/2012]#


2012/3/10, Adrian Klaver-3 [via PostgreSQL]
<[hidden email]>:

>
>
> On 03/09/2012 07:48 PM, PgSQL wrote:
>> Hi.
>>
>> When I run
>>
>> yum install postgresql91-python
>>
>> resul is:
>>
>> # yum install postgresql91-python
>> Loaded plugins: fastestmirror
>> Loading mirror speeds from cached hostfile
>>   * base: mirror.lug.udel.edu
>>   * extras: mirror.7x24web.net
>>   * updates: centos.mirror.choopa.net
>> Setting up Install Process
>> Resolving Dependencies
>> -->  Running transaction check
>> --->  Package postgresql91-python.i686 0:4.0-2PGDG.rhel6 will be installed
>> -->  Processing Dependency: mx for package:
>> postgresql91-python-4.0-2PGDG.rhel6.i
>> 686
>> -->  Finished Dependency Resolution
>> Error: Package: postgresql91-python-4.0-2PGDG.rhel6.i686 (pgdg91)
>>             Requires: mx
>>   You could try using --skip-broken to work around the problem
>>   You could try running: rpm -Va --nofiles --nodigest
>> [root@282968 ~]#
>>
>>
>> this is terrible to my.
>>
>> Any help please ?
>>
>> Error: Package: postgresql91-python-4.0-2PGDG.rhel6.i686 (pgdg91)
>>             Requires: mx
>>
>> I no find nothing about this.
>
> I am guessing related to this:
>
> http://www.egenix.com/products/python/mxBase/
>
> I don't use Fedora but I would assume:
>
> yum install mx
>
> would solve the dependency.
>>
>
>
>
>
>
> --
> Adrian Klaver
> [hidden email]
>
> --
> Sent via pgsql-general mailing list ([hidden email])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://postgresql.1045698.n5.nabble.com/Error-installing-postgresq91-python-package-tp5521831p5553349.html
>
> To unsubscribe from Error installing postgresq91-python package, visit
>

View this message in context:
Re: Error installing postgresq91-python package
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Re: Error installing postgresq91-python package

From
Adrian Klaver
Date:
On 03/10/2012 09:59 AM, PgSQL wrote:
> Thanks.
>
> You can see:
>
> root@s1 [/000/yuyuyum/2012/2012]# yum install mx
> Traceback (most recent call last):
> File "/usr/bin/yum", line 4, in ?
> import yum
> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 50, in ?
> import comps
> File "/usr/lib/python2.4/site-packages/yum/comps.py", line 23, in ?
> iterparse = cElementTree.iterparse
> AttributeError: 'module' object has no attribute 'iterparse'
> root@s1 [/000/yuyuyum/2012/2012]#

A yum problem with Python 2.4. A test on my Ubuntu machine confirmed
that the iterparse function is not included in cElementTree shipped with
Python 2.4 even though it is supported from 2.2+  In my previous post I
erroneously said you where on Fedora, not Centos.  Might want to file a
bug report with the CentOS folks. Is there another mechanism to install
mx, other than yum in the mean time?

>


--
Adrian Klaver
adrian.klaver@gmail.com

Re: Error installing postgresq91-python package

From
Martin Gregorie
Date:
On Sat, 2012-03-10 at 13:28 -0800, Adrian Klaver wrote:
> On 03/10/2012 09:59 AM, PgSQL wrote:
> > Thanks.
> >
> > You can see:
> >
> > root@s1 [/000/yuyuyum/2012/2012]# yum install mx
> > Traceback (most recent call last):
> > File "/usr/bin/yum", line 4, in ?
> > import yum
> > File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 50, in ?
> > import comps
> > File "/usr/lib/python2.4/site-packages/yum/comps.py", line 23, in ?
> > iterparse = cElementTree.iterparse
> > AttributeError: 'module' object has no attribute 'iterparse'
> > root@s1 [/000/yuyuyum/2012/2012]#
>
> A yum problem with Python 2.4. A test on my Ubuntu machine confirmed
> that the iterparse function is not included in cElementTree shipped with
> Python 2.4 even though it is supported from 2.2+  In my previous post I
> erroneously said you where on Fedora, not Centos.  Might want to file a
> bug report with the CentOS folks. Is there another mechanism to install
> mx, other than yum in the mean time?
>
If the OP can identify and download the relevant .rpm file it should be
possible to install mx with the rpm utility.

The next time yum is used it will complain that the package database was
updated outside of it but that can be ignored: this happens every time I
upgrade Opera, which is distributed for Fedora as a manually applied
RPM.


Martin



Re: Error installing postgresq91-python package

From
PgSQL
Date:
>>>If the OP can identify and download the relevant .rpm file


I download this packages:

wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/elfutils-0.137-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/elfutils-libs-0.137-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/elfutils-libelf-0.137-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/elfutils-libs-0.137-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/expat-1.95.8-8.3.el5_5.3.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/gmp-4.1.4-10.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/libxml2-2.6.26-2.1.12.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/libxml2-python-2.6.26-2.1.12.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/m2crypto-0.16-8.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/python-2.4.3-44.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/readline-5.1-3.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/rpm-4.4.2.3-22.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/rpm-libs-4.4.2.3-22.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/rpm-python-4.4.2.3-22.el5.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/sqlite-3.3.6-5.i386.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/yum-3.2.22-37.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/yum-NetworkManager-dispatcher-1.1.16-16.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/yum-fastestmirror-1.1.16-16.el5.centos.noarch.rpm
wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm



But YUM conyinue whitout run.

2012/3/10, Martin Gregorie-2 [via PostgreSQL]
<[hidden email]>:

>
>
> On Sat, 2012-03-10 at 13:28 -0800, Adrian Klaver wrote:
>> On 03/10/2012 09:59 AM, PgSQL wrote:
>> > Thanks.
>> >
>> > You can see:
>> >
>> > root@s1 [/000/yuyuyum/2012/2012]# yum install mx
>> > Traceback (most recent call last):
>> > File "/usr/bin/yum", line 4, in ?
>> > import yum
>> > File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 50, in ?
>> > import comps
>> > File "/usr/lib/python2.4/site-packages/yum/comps.py", line 23, in ?
>> > iterparse = cElementTree.iterparse
>> > AttributeError: 'module' object has no attribute 'iterparse'
>> > root@s1 [/000/yuyuyum/2012/2012]#
>>
>> A yum problem with Python 2.4. A test on my Ubuntu machine confirmed
>> that the iterparse function is not included in cElementTree shipped with
>> Python 2.4 even though it is supported from 2.2+  In my previous post I
>> erroneously said you where on Fedora, not Centos.  Might want to file a
>> bug report with the CentOS folks. Is there another mechanism to install
>> mx, other than yum in the mean time?
>>
> If the OP can identify and download the relevant .rpm file it should be
> possible to install mx with the rpm utility.
>
> The next time yum is used it will complain that the package database was
> updated outside of it but that can be ignored: this happens every time I
> upgrade Opera, which is distributed for Fedora as a manually applied
> RPM.
>
>
> Martin
>
>
>
> --
> Sent via pgsql-general mailing list ([hidden email])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://postgresql.1045698.n5.nabble.com/Error-installing-postgresq91-python-package-tp5521831p5553745.html
>
> To unsubscribe from Error installing postgresq91-python package, visit
>

View this message in context:
Re: Error installing postgresq91-python package
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Re: Error installing postgresq91-python package

From
PgSQL
Date:
Thanks..

>>>Is there another mechanism to install mx, other than yum in the mean time?

I unknow if exist.

But I need YUM in my CentOs 5.7

:'(

Any command, any form please???

2012/3/10, Adrian Klaver-3 [via PostgreSQL]
<[hidden email]>:

>
>
> On 03/10/2012 09:59 AM, PgSQL wrote:
>> Thanks.
>>
>> You can see:
>>
>> root@s1 [/000/yuyuyum/2012/2012]# yum install mx
>> Traceback (most recent call last):
>> File "/usr/bin/yum", line 4, in ?
>> import yum
>> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 50, in ?
>> import comps
>> File "/usr/lib/python2.4/site-packages/yum/comps.py", line 23, in ?
>> iterparse = cElementTree.iterparse
>> AttributeError: 'module' object has no attribute 'iterparse'
>> root@s1 [/000/yuyuyum/2012/2012]#
>
> A yum problem with Python 2.4. A test on my Ubuntu machine confirmed
> that the iterparse function is not included in cElementTree shipped with
> Python 2.4 even though it is supported from 2.2+  In my previous post I
> erroneously said you where on Fedora, not Centos.  Might want to file a
> bug report with the CentOS folks. Is there another mechanism to install
> mx, other than yum in the mean time?
>
>>
>
>
> --
> Adrian Klaver
> [hidden email]
>
> --
> Sent via pgsql-general mailing list ([hidden email])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://postgresql.1045698.n5.nabble.com/Error-installing-postgresq91-python-package-tp5521831p5553696.html
>
> To unsubscribe from Error installing postgresq91-python package, visit
>

View this message in context:
Re: Error installing postgresq91-python package
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Re: Error installing postgresq91-python package

From
Adrian Klaver
Date:
On 03/10/2012 01:51 PM, PgSQL wrote:
> Thanks..
>
>  >>>Is there another mechanism to install mx, other than yum in the mean
> time?
>
> I unknow if exist.
>
> But I need YUM in my CentOs 5.7
>
> :'(
>
> Any command, any form please???
>

I'm afraid I am not going to be much help here. I would probably cause
more damage than good. I would suggest you ask on a CentOS forum.

--
Adrian Klaver
adrian.klaver@gmail.com

Re: Error installing postgresq91-python package

From
Martin Gregorie
Date:
On Sat, 2012-03-10 at 14:08 -0800, PgSQL wrote:
> >>>If the OP can identify and download the relevant .rpm file
>
Have you checked the CentOS bugzilla to see if the yum failure has been
reported? You should raise a bug report if it isn't there: if nobody
reports a bug its unlikely to get fixed.

>
> I download this packages:
>
When you download rpms manually, you use the rpm command to install
the rpm packages, not yum.

> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/elfutils-0.137-3.el5.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/elfutils-libs-0.137-3.el5.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/elfutils-libelf-0.137-3.el5.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/elfutils-libs-0.137-3.el5.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/expat-1.95.8-8.3.el5_5.3.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/gmp-4.1.4-10.el5.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/libxml2-2.6.26-2.1.12.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/libxml2-python-2.6.26-2.1.12.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/m2crypto-0.16-8.el5.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/python-2.4.3-44.el5.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/readline-5.1-3.el5.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/rpm-4.4.2.3-22.el5.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/rpm-libs-4.4.2.3-22.el5.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/rpm-python-4.4.2.3-22.el5.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/sqlite-3.3.6-5.i386.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/yum-3.2.22-37.el5.centos.noarch.rpm
> wget
http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/yum-NetworkManager-dispatcher-1.1.16-16.el5.centos.noarch.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/yum-fastestmirror-1.1.16-16.el5.centos.noarch.rpm
> wget http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm
>
Why did you download these? Only five of them appear to have anything to
do with Python and four to be connected with yum.

Which, if any, of them contain mx?

Hint: try using "rpm -qip filename.rpm" or "rpm -qilp filename.rpm" to
see what is in them.

In my Fedora15 installation the mx package is in the mx and mx-devel
packages: running "yum info '*mx*'" told me that.


Martin



Re: Error installing postgresq91-python package

From
PgSQL
Date:
Thanks Martin.

Sure!, I download this packages to same folder, but I used:

rpm -Uvh *.rpm

to install all this packages.

PD:
mi ingles es pobre, mi lenguaje es español.

Gracias

2012/3/12, Martin Gregorie-2 [via PostgreSQL]
<[hidden email]>:

>
>
> On Sat, 2012-03-10 at 14:08 -0800, PgSQL wrote:
>> >>>If the OP can identify and download the relevant .rpm file
>>
> Have you checked the CentOS bugzilla to see if the yum failure has been
> reported? You should raise a bug report if it isn't there: if nobody
> reports a bug its unlikely to get fixed.
>
>>
>> I download this packages:
>>
> When you download rpms manually, you use the rpm command to install
> the rpm packages, not yum.
>
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/elfutils-0.137-3.el5.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/elfutils-libs-0.137-3.el5.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/elfutils-libelf-0.137-3.el5.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/elfutils-libs-0.137-3.el5.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/expat-1.95.8-8.3.el5_5.3.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/gmp-4.1.4-10.el5.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/libxml2-2.6.26-2.1.12.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/libxml2-python-2.6.26-2.1.12.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/m2crypto-0.16-8.el5.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/python-2.4.3-44.el5.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/python-urlgrabber-3.1.0-6.el5.noarch.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/readline-5.1-3.el5.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/rpm-4.4.2.3-22.el5.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/rpm-libs-4.4.2.3-22.el5.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/rpm-python-4.4.2.3-22.el5.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/sqlite-3.3.6-5.i386.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/yum-3.2.22-37.el5.centos.noarch.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/yum-NetworkManager-dispatcher-1.1.16-16.el5.centos.noarch.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/yum-fastestmirror-1.1.16-16.el5.centos.noarch.rpm
>> wget
>> http://mirror.centos.org/centos-5/5.7/os/i386/CentOS/yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm
>>
> Why did you download these? Only five of them appear to have anything to
> do with Python and four to be connected with yum.
>
> Which, if any, of them contain mx?
>
> Hint: try using "rpm -qip filename.rpm" or "rpm -qilp filename.rpm" to
> see what is in them.
>
> In my Fedora15 installation the mx package is in the mx and mx-devel
> packages: running "yum info '*mx*'" told me that.
>
>
> Martin
>
>
>
> --
> Sent via pgsql-general mailing list ([hidden email])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://postgresql.1045698.n5.nabble.com/Error-installing-postgresq91-python-package-tp5521831p5557665.html
>
> To unsubscribe from Error installing postgresq91-python package, visit
>

View this message in context:
Re: Error installing postgresq91-python package
Sent from the PostgreSQL - general mailing list archive at Nabble.com.