Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Enterprise Linux 5 »

Re: [rhelv5-list] yum errors

Vishal Gaikwad

2008-01-22

Replies:

Author LoginPost Reply
Tim Evans wrote:
> yum's suddenly started throwing errors...
>
> # uname -a
> Linux s31e066 2.6.18-53.1.4.el5 #1 SMP Wed Nov 14 10:37:33 EST 2007 i686
> i686 i386 GNU/Linux
>
> # yum list updates
> Loading "installonlyn" plugin
> Loading "rhnplugin" plugin
> Setting up repositories
> 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 102, in main
>   result, resultmsgs = do()
>  File "/usr/share/yum-cli/cli.py", line 359, in doCommands
>   return self.yum_cli_commands[self.basecmd].doCommand(self,
> self.basecmd, sel f.extcmds)
>  File "/usr/share/yum-cli/yumcommands.py", line 160, in doCommand
>   ypl = base.returnPkgLists(extcmds)
>  File "/usr/share/yum-cli/cli.py", line 863, in returnPkgLists
>   ypl = self.doPackageLists(pkgnarrow=pkgnarrow)
>  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 988, in
> doPackag eLists
>   self.doRepoSetup()
>  File "/usr/share/yum-cli/cli.py", line 102, in doRepoSetup
>   yum.YumBase.doRepoSetup(self, thisrepo=thisrepo)
>  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 299, in
> doRepoSe tup
>   repo.setup(self.conf.cache)
>  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 503, in setup
>   self._loadRepoXML(text=self)
>  File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 530, in
> _loadRepo XML
>   cache=self.http_caching == 'all')
>  File "/usr/lib/yum-plugins/rhnplugin.py", line 209, in _getFile
>   start, end, copy_local, checkfunc, text, reget, cache)
>  File "/usr/lib/yum-plugins/rhnplugin.py", line 298, in
> _noExceptionWrappingGet
>   return result
> UnboundLocalError: local variable 'result' referenced before assignment
>  
Known issue: https://bugzilla.redhat.com/show_bug.cgi?id=378911
The bug also has a unsupported test package attached.
> Anyone know what's wrong? Thanks.
>
>  


--
Vishal Gaikwad, RHCE.
Red Hat Global Support Services Pune, India.

_______________________________________________
rhelv5-list mailing list
rhelv5-list@(protected)
https://www.redhat.com/mailman/listinfo/rhelv5-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.