Re: Error installing postgresq91-python package - Mailing list pgsql-general

From PgSQL
Subject Re: Error installing postgresq91-python package
Date
Msg-id CAFyoL=Un-1M1-FqCruVxbacekpV9jq5hHvROnA6pavK+okJvHA@mail.gmail.com
Whole thread Raw
In response to Re: Error installing postgresq91-python package  (Martin Gregorie <martin@gregorie.org>)
Responses Re: Error installing postgresq91-python package  (Martin Gregorie <martin@gregorie.org>)
List 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]
<[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.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Parse message is not generating a ParseOk response
Next
From: PgSQL
Date:
Subject: Re: Error installing postgresq91-python package