<html><body><div style="color:#000; background-color:#fff; font-family:garamond, new york, times, serif;font-size:12pt">Thanks Paul for the clarification.<br><br>See the following commands and outputs please. There is no .repo file available (all enabled=0), then where the 'yum list' come from? I am confused:<br><br># yum clean all && yum clean metadata && yum clean dbcache<br>Loaded plugins: rhnplugin, security<br>Cleaning up Everything<br>Loaded plugins: rhnplugin, security<br>0 metadata files removed<br>0 sqlite files removed<br>0 metadata files removed<br>Loaded plugins: rhnplugin, security<br>0 sqlite files removed<br><br># grep enabled=1 /etc/yum.conf<br>#<br># grep enabled=1 /etc/yum.repos.d/*<br>#<br><br># yum list | more<br>Loaded plugins: rhnplugin, security<br>Installed Packages<br>Deployment_Guide-en-US.noarch             
 5.8-1.el5               installed<br>GConf2.i386                                2.14.0-9.el5            installed<br>GConf2.x86_64                              2.14.0-9.el5            installed<br>GConf2-devel.i386                          2.14.0-9.el5           
 installed<br>GConf2-devel.x86_64                        2.14.0-9.el5            installed<br>ImageMagick.i386                           6.2.8.0-15.el5_8        installed<br>ImageMagick.x86_64                         6.2.8.0-15.el5_8        installed<br>MAKEDEV.x86_64                            
 3.23-1.2                installed<br>............................................................................<br><br>Thanks.<br><br>nz<br><br><div><span><br></span></div><div><span></span></div><div> </div><div>nz<br><br></div>  <div style="font-family: garamond, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Paul Robert Marino <prmarino1@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> spacewalk-list@redhat.com; fnwsa@yahoo.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, October 16, 2012 4:39:41 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Spacewalk-list] How to set Spacewalk server as yum server<br> </font>
 </div> <br><div id="yiv1442120899"><div>Under the hood mrepo runs createrepo for you</div>
<div class="yiv1442120899gmail_quote">On Oct 16, 2012 3:35 PM,  <<a rel="nofollow" ymailto="mailto:fnwsa@yahoo.com" target="_blank" href="mailto:fnwsa@yahoo.com">fnwsa@yahoo.com</a>> wrote:<br><blockquote class="yiv1442120899gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-size:12pt;font-family:garamond, new york, times, serif;"><div><span>Hi,</span></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:garamond, new york, times, serif;"><br>
</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:garamond, new york, times, serif;">I believe that this is a good subject, but haven't found related info yet online about it. Sorry if the subject has already been discussed in this great mailing list before.<br>
</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:garamond, new york, times, serif;"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:garamond, new york, times, serif;">
I'd like to set our Spacewalk
 server as a Yum server, so clients can use yum command to install/upgrade single package. The Spacewalk server has been working well. Here is what I did on the client:</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:garamond, new york, times, serif;">
<br></div>spacewalkclient# cat /etc/yum.repos.d/spacewalk-client.repo<br>[spacewalk-client]<br>name=Spacewalk Client Tools<br>baseurl=<a rel="nofollow" target="_blank" href="http://spacewalkserver.ourdomain.com/mrepo/rhel_5_server-x86_64/RPMS.updates">http://spacewalkserver.ourdomain.com/mrepo/rhel_5_server-x86_64/RPMS.updates</a><br>
#gpgkey=<a rel="nofollow" target="_blank" href="http://spacewalk.redhat.com/yum/RPM-GPG-KEY-spacewalk-2012">http://spacewalk.redhat.com/yum/RPM-GPG-KEY-spacewalk-2012</a><br>enabled=1<br>gpgcheck=0<br><br><br>What else do I need to do to implement the job? I think I don't need to run '<font color="blue">createrepo</font>' command since repodata sub-directories have already been created by the spacewalk-mrepo sync process.<br>
<br>Thank you!<br><br><div>nz<br></div><br> <div style="font-family:garamond, new york, times, serif;font-size:12pt;"> </div>  </div></div><br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a rel="nofollow" ymailto="mailto:Spacewalk-list@redhat.com" target="_blank" href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a rel="nofollow" target="_blank" href="https://www.redhat.com/mailman/listinfo/spacewalk-list">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div>
</div><br><br> </div> </div>  </div></body></html>