SCIENTIFIC-LINUX-USERS Archives

April 2013

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Elias Persson <[log in to unmask]>
Reply To:
Elias Persson <[log in to unmask]>
Date:
Thu, 4 Apr 2013 14:58:13 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
On 2013-04-04 10:58, Darren Reddick wrote:
> Hi,
> Having problems installing python-simplejson on Scientific Linux release 6.3
> (Carbon) x86_64.
> I get the following error message from "yum localinstall":
>
> Error: Package: python-simplejson-2.0.7-2.el5.x86_64
> (/python-simplejson-2.0.7-2.el5.x86_64)
>             Requires: python(abi) = 2.4
>             Installed: python-2.6.6-29.el6_2.2.x86_64
> (@anaconda-ScientificLinux-201208021154.x86_64)
>                 python(abi) = 2.6
>   You could try using --skip-broken to work around the problem
>   You could try running: rpm -Va --nofiles --nodigest
>
> This sounds like python-simplejson requires an older version of the python
> package to be installed.
>
> Yet i have had no problems installing this package on the equivalent Oracle
> Linux and Redhat distribution (6.3 x86_64) which both have very similar
> python versions installed - python-2.6.6-29.el6_3.3.x86_64.
>
> Is there any way to work around this?
> Also is there an easy way to query what specfifc version of python(abi) is
> installed on a system using rpm or yum?
>
> Thanks,
> Darren
>


Is there a reason for installing that particular version of simplejson?
Seeing as 2.0.9 is available in the sl repo...


To query what a pakage (e.g. python) provides, do:

   rpm -q --provides python

Pipe through grep or less or whatever if needed.


(apologies for double reply, somehow missed the "reply all" button)

ATOM RSS1 RSS2