I recently tried to build the FreeCAD application on my Fedora 14 installation.
Somehow that process broke yum so that now, any attempt to use yum gives:
[root@mustang ~]# yum --version Traceback (most recent call last): File "/bin/yum", line 4, in <module> import yum File "/usr/local/lib/python2.7/site-packages/yum/__init__.py", line 55, in <module> import rpmsack File "/usr/local/lib/python2.7/site-packages/yum/rpmsack.py", line 38, in <module> import yum.depsolve File "/usr/local/lib/python2.7/site-packages/yum/depsolve.py", line 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 ~]# fedup --network 18 Traceback (most recent call last): File "/bin/fedup", line 25, in <module> from fedup.download import FedupDownloader, YumBaseError File "/usr/local/lib/python2.7/site-packages/fedup/download.py", line 21, in <module> import yum File "/usr/local/lib/python2.7/site-packages/yum/__init__.py", line 55, in <module> import rpmsack File "/usr/local/lib/python2.7/site-packages/yum/rpmsack.py", line 38, in <module> import yum.depsolve File "/usr/local/lib/python2.7/site-packages/yum/depsolve.py", line 55, in <module> flags = {"GT": rpm.RPMSENSE_GREATER, AttributeError: 'module' object has no attribute 'RPMSENSE_GREATER'
I tried rebuilding yum from source (yum-3.4.3-31.fc17.src.rpm) but with no joy. Linux mustang 3.3.4-5.fc17.x86_64 #1 SMP Mon May 7 17:29:34 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
RPM version 4.9.1.3
TIA, Stephen Davies
--
|
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org