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 fedup

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 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 get: Oops, sor

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-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 wro

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 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 you don't, you'll

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 an

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 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 original is unable

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. Am

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 wrote: > > File "/usr/local/lib/python2.7/site-packages/yum/__init__.py", line

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 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 cause all kinds of

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

2014-02-10 Thread Stephen Davies
ack.py", line 38, > > in > > > > import yum.depsolve > > > > File "/usr/local/lib/python2.7/site-packages/yum/depsolve.py", line 55, > > in > > > > flags = {"GT": rpm.RPMSENSE_GREATER, > > > > AttributeError: &#

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

2014-02-10 Thread Rick Stevens
kages/yum/depsolve.py", line 55, in 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 g

'module' object has no attribute 'RPMSENSE_GREATER'

2014-02-09 Thread Stephen Davies
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@mu