Hi, Thanks for the reply (and to your reply Ken The) Yes. It's a package for Enterprise Linux systems from Oracle. You are right that I could go and get the python-simplejson from Scientific Linux. This issue is also affecting another 3rd party package (ovm-template-config-3.0-71.el5.noarch.rpm also from Oracle) which wont be available from the Scientific repository so I would like to try and get a workaround sorted.
Like I said I had no problems installing this on the RHEL and OEL equivalents. The only difference I can see being in a minor difference in the version of python installed: RHEL and OEL 6.3 : python.x86_64 2.6.6-29.el6_3.3 Scientific 6.3 : python.x86_64 2.6.6-29.el6_2.2 The output from "rpm -q --provides python | grep abi" on all 3 systems: RHEL, OEL and Scientific 6.3 : python(abi) = 2.6 python-abi = 2.6 This seems to imply that the installation should fail on all 3 systems as the package requires python(abi) = 2.4. Yet it succeeds on the non-Scientific Linux systems?!!? I have also tried the install using rpm. Thanks, Darren -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Elias Persson Sent: 04 April 2013 13:58 To: Reddick Darren (HEALTH AND SOCIAL CARE INFORMATION CENTRE - X26) Cc: [email protected] Subject: Re: Problems Installing python-simplejson 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) ******************************************************************************************************************** This message may contain confidential information. If you are not the intended recipient please inform the sender that you have received the message in error before deleting it. Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Thank you for your co-operation. NHSmail is the secure email and directory service available for all NHS staff in England and Scotland NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients NHSmail provides an email address for your career in the NHS and can be accessed anywhere ********************************************************************************************************************
