[root@spacewalk ~]# rm -rf /var/cache/rhn/reposync/centos_54_x64_updates-centos_54_64_updates<br>[root@spacewalk ~]# /usr/bin/spacewalk-repo-sync --channel centos_54_x64_updates                                --url <a href="http://mirror.centos.org/centos-5/5.4/updates/x86_64/">http://mirror.centos.org/centos-5/5.4/updates/x86_64/</a>                              --type yum --label centos_54_64_updates<br>
Repo <a href="http://mirror.centos.org/centos-5/5.4/updates/x86_64/">http://mirror.centos.org/centos-5/5.4/updates/x86_64/</a> has 436 packages.<br>No new packages to download.<br>Sync complete<br><br>[root@spacewalk ~]# wget -O - <a href="http://mirror.centos.org/centos-5/5.4/updates/x86_64/RPMS/">http://mirror.centos.org/centos-5/5.4/updates/x86_64/RPMS/</a> | grep -i ".rpm" | wc -l<br>
--2010-01-08 12:25:50--  <a href="http://mirror.centos.org/centos-5/5.4/updates/x86_64/RPMS/">http://mirror.centos.org/centos-5/5.4/updates/x86_64/RPMS/</a><br>Resolving mirror.centos.org... 92.48.127.134<br>Connecting to <a href="http://mirror.centos.org">mirror.centos.org</a>|92.48.127.134|:80... connected.<br>
HTTP request sent, awaiting response... 200 OK<br>Length: unspecified [text/html]<br>Saving to: `STDOUT'<br><br>    [ <=>                                                                                                                ] 125,627     --.-K/s   in 0.07s   <br>
<br>2010-01-08 12:25:50 (1.73 MB/s) - `-' saved [125627]<br><br>494<br><br>No joy there.....<br><br><div class="gmail_quote">2010/1/8 Michael Mraka <span dir="ltr"><<a href="mailto:michael.mraka@redhat.com">michael.mraka@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">James Hogarth wrote:<br>
% Scratch that - looks like it could be some kind of caching issue but I have<br>
<div class="im">% no idea where....<br>
%<br>
% wget shows the correct timestamps and content from the box and yet the<br>
% updates released last night for centos appear in wget but repo sync does not<br>
% see them<br>
%<br>
% does reposync use any client caching itself of any kind?<br>
<br>
</div>Reposync utilizes yum libraries, so yes it does caching.<br>
Try rm -rf /var/cache/rhn/reposync/* .<br>
<br>
% > /usr/bin/spacewalk-repo-sync --channel<br>
<div class="im">% > rhel5_x86_64_spacewalk_client                              --url<br>
% > <a href="http://spacewalk.redhat.com/yum/0.7-client/RHEL/5/x86_64/" target="_blank">http://spacewalk.redhat.com/yum/0.7-client/RHEL/5/x86_64/</a><br>
% > --type yum --label rhel5_x86_64_spacewalk_client<br>
% > Repo <a href="http://spacewalk.redhat.com/yum/0.7-client/RHEL/5/x86_64/" target="_blank">http://spacewalk.redhat.com/yum/0.7-client/RHEL/5/x86_64/</a> has 22<br>
% > packages.<br>
% > No new packages to download.<br>
% > Sync complete<br>
% ><br>
% > Checking the page manually I count 23.....<br>
% ><br>
% > Initially I thought it an http cache issue but wget shows the correct<br>
% > content on that box - and other reposync's (epel and centos updates for<br>
% > instance) are syncing correctly according to the logs.<br>
% ><br>
% > Thoughts?<br>
<br>
</div>Regards,<br>
Michael<br>
<font color="#888888"><br>
--<br>
Michael Mráka<br>
Satellite Engineering, Red Hat<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</font></blockquote></div><br>