[Spacewalk-list] Re: Error on package upgrade

Deevee devee at nerd.com
Fri Nov 7 01:24:04 UTC 2008


Upgrading python on the client fixed this problem.

-dv


On Nov 4, 2008, at 4:29 PM, Deevee wrote:

> I have one system that I scheduled a package upgrade for.  Once I  
> scheduled it, I ran rhn_check on the client and this was the end  
> result.  Is there any other data I could provide to help pinpoint  
> this problem?  The client and the server are both CentOS 5.
>
>
> [Tue Nov  4 13:38:12 2008] up2date Traceback (most recent call  
> last):  File "/usr/sbin/rhn_check", line 273, in __run_action     
> (status, message, data) = CheckCli.__do_call(method, params)  File "/ 
> usr/sbin/rhn_check", line 266, in __do_call    retval =  
> method(*params)  File "packages.py", line 246, in update  File  
> "packages.py", line 279, in runTransaction  File "packages.py", line  
> 301, in _run_yum_action  File "packages.py", line 55, in __init__   
> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 306,  
> in doRepoSetup    repo.setup(self.conf.cache)   File "/usr/lib/ 
> python2.4/site-packages/yum/yumRepo.py", line 498, in setup    raise  
> Errors.RepoError, ('Cannot open/read repomd.xml file for repository:  
> %s' % self)yum.Errors.RepoError: Cannot open/read repomd.xml file  
> for repository: centos5-x86_64-base
> [Tue Nov  4 13:38:12 2008] up2date D: Sending back response ((6,),  
> 'Fatal error in Python code occured', {})
> [Tue Nov  4 13:38:12 2008] up2date D: do_call  
> packages.checkNeedUpdate ('rhnsd=1',)
> [Tue Nov  4 13:38:12 2008] up2date D: Called refresh_rpmlist
> [Tue Nov  4 13:38:12 2008] up2date Updating package profile
> [Tue Nov  4 13:38:13 2008] up2date D: local action status:  (0,  
> 'rpmlist refreshed', {})
>
> Thank you.
>
> -dv




More information about the Spacewalk-list mailing list