Yum errors after failed update through Software Update
Now, I am currently using RHEL 5.6, but I read that if it's a YUM issue I should post here, so if I'm wrong, please let me know.
I was using Software Update and the machine got interrupted, now I can't run Software Update without an Exception Occured error, and when I try to do yum update, or any yum command, it spews me with this:
sh-3.2# yum update
Loaded plugins: rhnplugin, security
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 157, in main
File "/usr/share/yum-cli/cli.py", line 187, in getOptionsConfig
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 665, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 254, in _getConfig
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/rhnplugin.py", line 144, in init_hook
repo = RhnRepo(channel)
File "/usr/lib/yum-plugins/rhnplugin.py", line 219, in __init__
self.metadata_cookie = 'cookie'
AttributeError: can't set attribute
Any suggestions at all?
in the yum log file will be the very last thing to install
reading through all the log files might pinpoint it to
you might need to manually download it from RHN and force the rpm install using rpm
-- MIGHT ? maybe ?
that looks like a python error also so python might be the problem ?
instead of "update " can you run "clean all"
I DO hope you did install yum-utility before all this
|All times are GMT -5. The time now is 08:11 AM.|