'module' object has no attribute 'RPMSENSE_GREATER'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux