[et-mgmt-tools] Error during cobbler reposync

Adrian Revill adrian.revill at shazamteam.com
Tue Feb 26 09:49:51 UTC 2008


Hi,
I am just starting with cobbler and i have setup a mirror of rhn 
repository rhn://rhel-x86_64-server-5 and i am often getting the error

Traceback (most recent call last):
   File "/usr/bin/reposync", line 196, in ?
     main()
   File "/usr/bin/reposync", line 190, in main
     path = repo.getPackage(pkg)
   File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 447, in 
getPackage
     cache=cache
   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
cobbler reposync failed

If i re-run cobbler reposync it continues without error. Any ideas?

regards

adrian






More information about the et-mgmt-tools mailing list