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

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

 



On 02/09/2014 07:24 PM, Stephen Davies issued this missive:
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

Stephen, Fedora 17 has been dead for almost two years. Fedora 14 has
been dead for almost five years. You're not going to find a lot of help
here. Fedora is typically on a 6-month deployment. The support matrix
defines that the current release and the immediately preceding release
will be supported (right now that'd be F20 and F19). F18 stopped being
supported about a month after F20 came out.

If you want a free OS that looks like Red Hat and has a long life, go
with CentOS as its support matrix tracks Red Hat's. Fedora is very much
a "bleeding edge" release and you will continually be chasing this sort
of issue.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-   To understand recursion, you must first understand recursion.    -
----------------------------------------------------------------------
--
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