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

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

 



On Sun, Feb 9, 2014 at 8:24 PM, Stephen Davies <sdavies@xxxxxxxxxx> 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 trouble, including the errors
you're experiencing.

Try moving /usr/local/bin/python out of the way if it exists and make
sure there's no $PYTHONPATH set in your environment.

If that fails try reinstalling rpm and rpm-python:
sudo rpm -Uvh --replacepkgs \
http://dl.fedoraproject.org/pub/archive/fedora/linux/updates/17/x86_64/rpm-4.9.1.3-8.fc17.x86_64.rpm
\
http://dl.fedoraproject.org/pub/archive/fedora/linux/updates/17/x86_64/rpm-libs-4.9.1.3-8.fc17.x86_64.rpm
\
http://dl.fedoraproject.org/pub/archive/fedora/linux/updates/17/x86_64/rpm-python-4.9.1.3-8.fc17.x86_64.rpm

-T.C.
-- 
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