Re: Error installing postgresq91-python package

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
Thread:
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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sergey Konoplev 2012-03-11 13:10:54 Re: permission denied to create extension "ltree" Must be superuser to create this extension.
Previous Message Martin Gregorie 2012-03-10 21:59:19 Re: Error installing postgresq91-python package