[CentOS] Using up2date to download channels on rhn

carlopmart

carlopmart at gmail.com
Tue Mar 14 17:24:46 UTC 2006


Hi all,

  i have a problem with centos's up2date tool. I have setup a central 
update server with yam (http://dag.wieers.com/home-made/yam/) under 
CentOS-4. When yam calls t up2date to download updates, up2date returns 
this error:

Traceback (most recent call last):
   File "/usr/bin/yam", line 1099, in ?
     main()
   File "/usr/bin/yam", line 983, in main
     mirror(dist.repos[repo], srcdir, dist)
   File "/usr/bin/yam", line 632, in mirror
     mirrorrhn(url, path, dist)
   File "/usr/bin/yam", line 870, in mirrorrhn
     package_list, type = rpcServer.doCall(repos.listPackages, channel, 
None, None)
   File "/usr/share/rhn/up2date_client/rpcServer.py", line 316, in doCall
     ret = apply(method, args, kwargs)
   File "/usr/share/rhn/up2date_client/repoDirector.py", line 21, in 
listPackages
     return self.handlers[channel['type']].listPackages(channel, 
msgCallback, progressCallback)
KeyError: 'up2date'

  How can I fix this?? Can up2date from centos download packages from 
rhn.redhat.com website?

Thanks.

-- 



More information about the CentOS mailing list