Los comandos de Yum y system-config-network fallan con errores de python
Issue
-
Cuando trato de correr system-config-network obtengo el siguiente error
# system-config-network Error in sys.excepthook: Traceback (most recent call last): File "/usr/sbin/system-config-network-tui", line 119, in <lambda> PRG_NAME, PRG_VERSION) File "/usr/sbin/system-config-network-tui", line 109, in handleException text = text + joinfields(list, "") NameError: global name 'joinfields' is not defined Original exception was: Traceback (most recent call last): File "/usr/sbin/system-config-network-tui", line 122, in ? from netconfpkg import * File "/usr/share/system-config-network/netconfpkg/__init__.py", line 41, in ? GenClass_read_classfile(__path__[0] + "/" + _idl_file, mod = __netconfpkg) File "/usr/lib/python2.4/site-packages/rhpl/genClass.py", line 989, in GenClass_read_classfile __GenClass_read_classfile(boxpath, mod, OptLower) File "/usr/lib/python2.4/site-packages/rhpl/genClass.py", line 942, in __GenClass_read_classfile doc = xml.dom.minidom.parse(boxpath) File "/usr/lib/python2.4/site-packages/_xmlplus/dom/minidom.py", line 1914, in parse from xml.dom import expatbuilder File "/usr/lib/python2.4/site-packages/_xmlplus/dom/expatbuilder.py", line 32, in ? from xml.parsers import expat File "/usr/lib/python2.4/site-packages/_xmlplus/parsers/expat.py", line 4, in ? from pyexpat import * ImportError: /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so: undefined symbol: XML_StopParser
Mientras que cuando ejecuto yum este falla con el siguiente error.
# yum update
Loaded plugins: rhnplugin, security
/usr/lib/python2.4/xmllib.py:9: DeprecationWarning: The xmllib module is obsolete. Use xml.sax instead.
warnings.warn("The xmllib module is obsolete. Use xml.sax instead.", DeprecationWarning)
Environment
- Red Hat Enterprise Linux 5
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.
