LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-22-2011, 11:16 PM   #1
whitesleeve
LQ Newbie
 
Registered: Jul 2011
Posts: 1

Rep: Reputation: Disabled
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 ?
yummain.user_main(sys.argv[1:], exit_code=True)
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
base.getOptionsConfig(args)
File "/usr/share/yum-cli/cli.py", line 187, in getOptionsConfig
self.conf
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
self.plugins.run('init')
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?
 
Old 07-24-2011, 03:02 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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"
Code:
su -
yum clean all 
rpm --rebuilddb
if yum fails try the rpm command

I DO hope you did install yum-utility before all this

Last edited by John VV; 07-24-2011 at 03:03 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Yum update Errors Genocide_Hoax Linux - Newbie 4 06-30-2011 10:20 PM
yum update transaction check errors & mirror errors tonycunn Linux - Software 2 11-29-2010 08:16 AM
[SOLVED] yum update errors faizlo Fedora 10 10-26-2010 03:09 AM
yum update failed piforever Linux - Security 2 12-26-2005 09:06 PM
yum update failed piforever Fedora 6 12-24-2005 11:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration