[svn] r4711 - trunk/tools/yam/docs

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Sun Sep 3 16:32:22 CEST 2006


Author: dag
Date: 2006-09-03 16:32:21 +0200 (Sun, 03 Sep 2006)
New Revision: 4711

Modified:
   trunk/tools/yam/docs/redhat-network.txt
Log:
Updates for RHN documentation.

Modified: trunk/tools/yam/docs/redhat-network.txt
===================================================================
--- trunk/tools/yam/docs/redhat-network.txt	2006-09-01 16:10:05 UTC (rev 4710)
+++ trunk/tools/yam/docs/redhat-network.txt	2006-09-03 14:32:21 UTC (rev 4711)
@@ -97,6 +97,35 @@
 your system to the channels you require.
 
 
+Configuring up2date sources
+---------------------------
+If you encounter the following message:
+
+	Traceback (most recent call last):
+	  File "/usr/bin/yam", line 1364, in ?
+	    main()
+	  File "/usr/bin/yam", line 1247, in main
+	    mirror(dist.repos[repo], srcdir, dist)
+	  File "/usr/bin/yam", line 819, in mirror
+	    mirrorrhn(url, path, dist)
+	  File "/usr/bin/yam", line 1099, 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, inlistPackages
+	    return self.handlers[channel['type']].listPackages(channel, msgCallback, progressCallback)
+	KeyError: 'up2date'
+
+you need to configure up2date by adding or enabling the following line in
+/etc/sysconfig/rhn/sources
+
+	up2date default
+
+Especially on a system that wasn't using RHN or on CentOS this is a manual
+change you have to make. yam doesn't really care, but the up2date
+implementation it is using simply requires it.
+
+
 List of RHN channels
 --------------------
 For a complete and up-to-date list of available channels, check the RHN



More information about the svn-commits mailing list