Yum fails with ImportError: cannot import name _
Issue
- Running yum update fails with the following traceback:
# yum update
Traceback (most recent call last):
File "/usr/bin/yum", line 28, in ?
import yummain
File "/usr/share/yum-cli/
", line 28, in ?
from yum import plugins
File "/usr/lib/python2.4/site-packages/yum/
", line 38, in ?
from yum import _
ImportError: cannot import name _
Environment
- Red Hat Enterprise Linux 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
