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.
--
I have found more information unde up2date's log: up2date Unable to import repomd support so repomd support will not be available What does it means?? carlopmart wrote:> 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. >-- CL Martinez carlopmart {at} gmail {d0t} com