[et-mgmt-tools] Error during cobbler reposync

Michael DeHaan mdehaan at redhat.com
Tue Feb 26 15:57:17 UTC 2008


Adrian Revill wrote:
> 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

The yum_rhn_plugin stuff was kind of tempramental in older versions of 
yum, though folks have found it to be working fine in later versions.  
Do you have the most recent yum and yum-utils?  (at least 1.04 or later 
for yum-utils?)

I haven't seen this exact error before, so versions of those packages 
(if already updated) might be useful ... and I can get this info to 
someone that
can address this.

--Michael
>
> 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
>
>
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools




More information about the et-mgmt-tools mailing list