Re: 'module' object has no attribute 'RPMSENSE_GREATER'

2014-02-16 Thread Stephen Davies
Finally made time to try your suggestions. All went OK until I got to the reload stage when it complained about a bunch of 32-bit dependencies. I changed the rpm -Uhv command to restrict it to 64-bit rpm's but still get: warning: python-2.7.3-7.2.fc17.x86_64.rpm: Header V3 RSA/SHA256 Signature,

Re: 'module' object has no attribute 'RPMSENSE_GREATER'

2014-02-16 Thread T.C. Hollingsworth
On Sun, Feb 16, 2014 at 7:58 PM, Stephen Davies sdav...@sdc.com.au wrote: Finally made time to try your suggestions. All went OK until I got to the reload stage when it complained about a bunch of 32-bit dependencies. I changed the rpm -Uhv command to restrict it to 64-bit rpm's but still

Re: 'module' object has no attribute 'RPMSENSE_GREATER'

2014-02-16 Thread Stephen Davies
Got there!! :-)) As well as hiding everything pythonesque in /usr/local, I had to do the same with /usr/lib and then force-load the basic pythin RPMs. Then I had to manually download five more RPMs before I could rpm -Uhv --force --nodeps python* to get the python requirements for yum and

Re: 'module' object has no attribute 'RPMSENSE_GREATER'

2014-02-12 Thread T.C. Hollingsworth
On Tue, Feb 11, 2014 at 9:46 PM, Stephen Davies sdav...@sdc.com.au wrote: I think I need to start with force reloading of the original Python setup. Could you please advise on how to do this. It will be a lot easier if you have another Fedora system or virtual machine with a working yum. If

Re: 'module' object has no attribute 'RPMSENSE_GREATER'

2014-02-12 Thread Stephen Davies
Sounds good to me. I do have another box with a properly working Fedora 20. I shall use that as you suggest. (I shall update this box to 20 as soon as the rest is sorted.) Thank you very much again for your help. Cheers, Stephen On Wednesday, February 12, 2014 07:08:50 PM T.C. Hollingsworth

Re: 'module' object has no attribute 'RPMSENSE_GREATER'

2014-02-11 Thread Stephen Davies
The /usr/local/bin version of python came from my manually building and installing Python 2.7.6 as part of my attempts to build FreeCAD. If I hide all of the /usr/local/bin and /usr/local/lib Python components, the original is unable to find modules - even if I set PYTHONPATH and PYTHONHOME.

Re: 'module' object has no attribute 'RPMSENSE_GREATER'

2014-02-11 Thread T.C. Hollingsworth
On Tue, Feb 11, 2014 at 7:14 PM, Stephen Davies sdav...@sdc.com.au wrote: The /usr/local/bin version of python came from my manually building and installing Python 2.7.6 as part of my attempts to build FreeCAD. If I hide all of the /usr/local/bin and /usr/local/lib Python components, the

Re: 'module' object has no attribute 'RPMSENSE_GREATER'

2014-02-11 Thread Stephen Davies
It seems that my fiddling with Python from source has zapped at least parts of the original. I can find no combination of bin and lib that does everything properly. I can set up for /usr/bin and /usr/lib and /usr/lib64 (which does exist and has python2.7) or /usr/local/bin and /usr/local/lib

Re: 'module' object has no attribute 'RPMSENSE_GREATER'

2014-02-10 Thread Rick Stevens
55, in module flags = {GT: rpm.RPMSENSE_GREATER, AttributeError: 'module' object has no attribute 'RPMSENSE_GREATER' I have managed to upgrade to Fedora 17 using DVDs but now neither yum nor fedup work. The yum error is unchanged and fedup gives effectively the same error: [root@mustang

Re: 'module' object has no attribute 'RPMSENSE_GREATER'

2014-02-10 Thread Stephen Davies
, AttributeError: 'module' object has no attribute 'RPMSENSE_GREATER' I have managed to upgrade to Fedora 17 using DVDs but now neither yum nor fedup work. The yum error is unchanged and fedup gives effectively the same error: [root@mustang ~]# fedup --network 18 Traceback (most

Re: 'module' object has no attribute 'RPMSENSE_GREATER'

2014-02-10 Thread T.C. Hollingsworth
On Sun, Feb 9, 2014 at 8:24 PM, Stephen Davies sdav...@sdc.com.au wrote: File /usr/local/lib/python2.7/site-packages/yum/__init__.py, line 55, in Notice the /usr/local above? That means you have another Python installation on your system that is getting used over the system Python, which can

Re: 'module' object has no attribute 'RPMSENSE_GREATER'

2014-02-10 Thread Stephen Davies
Thank you very much. I'm tied up with work today but will try your suggestions ASAP. Cheers, Stephen On Monday, February 10, 2014 05:14:00 PM T.C. Hollingsworth wrote: On Sun, Feb 9, 2014 at 8:24 PM, Stephen Davies sdav...@sdc.com.au wrote: File

'module' object has no attribute 'RPMSENSE_GREATER'

2014-02-09 Thread Stephen Davies
: rpm.RPMSENSE_GREATER, AttributeError: 'module' object has no attribute 'RPMSENSE_GREATER' I have managed to upgrade to Fedora 17 using DVDs but now neither yum nor fedup work. The yum error is unchanged and fedup gives effectively the same error: [root@mustang ~]# fedup --network 18 Traceback (most recent call