Error installing postgresq91-python package

Lists: Postg윈 토토SQL :
From: Clodoaldo Neto <clodoaldo(dot)pinto(dot)neto(at)gmail(dot)com>
To: PostgreSQL - General ML <pgsql-general(at)postgresql(dot)org>
Subject: Error installing postgresq91-python package
Date: 2012-02-28 13:33:49
Message-ID: CA+Z73LGp9NfR7An5o9MDYywdVH=+_6Xtu7ue3QdCpAnY9=-PeQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg윈 토토SQL :

Error installing postgresq91-python package in Centos 6 x86_64 from the
pgdg Centos repo:

[root(at)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(at)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


From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: clodoaldo(dot)pinto(dot)neto(at)gmail(dot)com
Cc: PostgreSQL - General ML <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error installing postgresq91-python package
Date: 2012-02-28 20:54:44
Message-ID: 1330462484.2123.33.camel@lenovo01-laptop03.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general


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


From: Clodoaldo Neto <clodoaldo(dot)pinto(dot)neto(at)gmail(dot)com>
To: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
Cc: PostgreSQL - General ML <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error installing postgresq91-python package
Date: 2012-02-29 11:03:10
Message-ID: CA+Z73LFEYBCSGbYqE9Ndyta6eYOpqiDn9RNN7HyaCEhCeX+XzQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Em 28 de fevereiro de 2012 17:54, Devrim GÜNDÜZ <devrim(at)gunduz(dot)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
>


From: PgSQL <glupiado(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Error installing postgresq91-python package
Date: 2012-03-10 03:48:24
Message-ID: 1331351304992-5552193.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg사설 토토SQL

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(at)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.


From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: PgSQL <glupiado(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error installing postgresq91-python package
Date: 2012-03-10 17:42:56
Message-ID: 4F5B92A0.8080706@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg토토 사이트SQL

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(at)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(dot)klaver(at)gmail(dot)com


From: PgSQL <glupiado(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Error installing postgresq91-python package
Date: 2012-03-10 17:59:47
Message-ID: CAFyoL=WsiEdCEPCwTFR93OMY9FuvehigHOfEc_fCNnwT04MtTg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

Thanks.

You can see:

root(at)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(at)s1 [/000/yuyuyum/2012/2012]#

2012/3/10, Adrian Klaver-3 [via PostgreSQL]
<ml-node+s1045698n5553349h63(at)n5(dot)nabble(dot)com>:
>
>
> 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(at)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(dot)klaver(at)gmail(dot)com
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> 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
> http://postgresql.1045698.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5521831&code=Z2x1cGlhZG9AZ21haWwuY29tfDU1MjE4MzF8MTI1NjAwMzI0MA==

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


From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: PgSQL <glupiado(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error installing postgresq91-python package
Date: 2012-03-10 21:28:38
Message-ID: 4F5BC786.6060907@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

On 03/10/2012 09:59 AM, PgSQL wrote:
> Thanks.
>
> You can see:
>
> root(at)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(at)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(dot)klaver(at)gmail(dot)com


From: PgSQL <glupiado(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Error installing postgresq91-python package
Date: 2012-03-10 21:51:52
Message-ID: CAFyoL=WcORqE3qDRUL-Xqjf3=vHmoPo8gwfu+jS25Q1fy6GQLg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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]
<ml-node+s1045698n5553696h20(at)n5(dot)nabble(dot)com>:
>
>
> On 03/10/2012 09:59 AM, PgSQL wrote:
>> Thanks.
>>
>> You can see:
>>
>> root(at)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(at)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(dot)klaver(at)gmail(dot)com
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> 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
> http://postgresql.1045698.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5521831&code=Z2x1cGlhZG9AZ21haWwuY29tfDU1MjE4MzF8MTI1NjAwMzI0MA==

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


From: Martin Gregorie <martin(at)gregorie(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Error installing postgresq91-python package
Date: 2012-03-10 21:59:19
Message-ID: 1331416759.1760.59.camel@zappa.gregorie.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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(at)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(at)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


From: PgSQL <glupiado(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Error installing postgresq91-python package
Date: 2012-03-10 22:08:55
Message-ID: CAFyoL=Un-1M1-FqCruVxbacekpV9jq5hHvROnA6pavK+okJvHA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

>>>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]
<ml-node+s1045698n5553745h39(at)n5(dot)nabble(dot)com>:
>
>
> 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(at)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(at)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 (pgsql-general(at)postgresql(dot)org)
> 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
> http://postgresql.1045698.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5521831&code=Z2x1cGlhZG9AZ21haWwuY29tfDU1MjE4MzF8MTI1NjAwMzI0MA==

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


From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: PgSQL <glupiado(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error installing postgresq91-python package
Date: 2012-03-11 20:51:37
Message-ID: 4F5D1059.9030305@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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(dot)klaver(at)gmail(dot)com


From: Martin Gregorie <martin(at)gregorie(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Error installing postgresq91-python package
Date: 2012-03-12 13:04:18
Message-ID: 1331557458.15175.9.camel@zappa.gregorie.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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


From: PgSQL <glupiado(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Error installing postgresq91-python package
Date: 2012-03-12 14:17:33
Message-ID: CAFyoL=UEFYgFrmP44QEGaVyhYsrQOMqKih6-jm6Gb0afD5AgXg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general

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]
<ml-node+s1045698n5557665h59(at)n5(dot)nabble(dot)com>:
>
>
> 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 (pgsql-general(at)postgresql(dot)org)
> 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
> http://postgresql.1045698.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5521831&code=Z2x1cGlhZG9AZ21haWwuY29tfDU1MjE4MzF8MTI1NjAwMzI0MA==

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