Yum Error

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

 



Hi:
 
I have tried the centos forums and they have not helped, they suggested posting to the yum mailing list.   So:
 
I am running CentOS 5.2
 
Yum errors when I try "yum update":
 
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.main(sys.argv[1:])
File "/usr/share/yum-cli/yummain.py", line 85, in main
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 163, in getOptionsConfig
disabled_plugins=self.optparser._splitArg(opts.disableplugins))
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 162, in _getConfig
startupconf.pluginconfpath,disabled_plugins)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 314, in doPluginSetup
plugin_types, confpath, disabled_plugins)
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 145, in __init__
self._importplugins(types)
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 186, in _importplugins
self._loadplugin(modulefile, types)
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 195, in _loadplugin
conf = self._getpluginconf(modname)
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 277, in _getpluginconf
except ParsingError, e:
NameError: global name 'ParsingError' is not defined
 
Info about the system:
 
Here is the output of rpm -qa yum\* rpm\* python\* sql\*|sort

python-2.4.3-21.el5
python-elementtree-1.2.6-5
python-iniparse-0.2.3-4.el5
python-ldap-2.2.0-2.1
python-numeric-23.7-2.2.2
python-sqlite-1.1.7-1.2.1
python-urlgrabber-3.1.0-2
rpm-4.4.2-48.el5
rpm-build-4.4.2-48.el5
rpmforge-release-0.3.6-1.el5.rf
rpm-libs-4.4.2-48.el5
rpm-python-4.4.2-48.el5
sqlite-3.3.6-2
yum-3.2.8-9.el5.centos.1
yum-fastestmirror-1.1.10-9.el5.centos
yum-metadata-parser-1.1.2-2.el5
yum-priorities-1.1.10-9.el5.centos
yum-updatesd-0.9-2.el5
yum-utils-1.1.10-9.el5.centos
 
After I did:

rpm -Uvh --force *.rpm
Preparing... ########################################### [100%]
1:sqlite ########################################### [ 9%]
2:rpm ########################################### [ 18%]
3:rpm-python ########################################### [ 27%]
4:python-sqlite ########################################### [ 36%]
5:yum-metadata-parser ########################################### [ 45%]
6:python-elementtree ########################################### [ 55%]
7:m2crypto ########################################### [ 64%]
8:python-urlgrabber ########################################### [ 73%]
9:yum ########################################### [ 82%]
10:yum-updatesd ########################################### [ 91%]
11:yum-utils ########################################### [100%]

From these rpms:

m2crypto-0.16-6.el5.2.i386.rpm rpm-4.4.2-48.el5.i386.rpm yum-metadata-parser-1.1.2-2.el5.i386.rpm
python-elementtree-1.2.6-5.i386.rpm rpm-python-4.4.2-48.el5.i386.rpm yum-updatesd-0.9-2.el5.noarch.rpm
python-sqlite-1.1.7-1.2.1.i386.rpm sqlite-3.3.6-2.i386.rpm yum-utils-1.1.10-9.el5.centos.noarch.rpm
python-urlgrabber-3.1.0-2.noarch.rpm yum-3.2.8-9.el5.centos.1.noarch.rpm

Can you help?



Guy Ueland



_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux