Thank you Jan, but the time of my server is right. Even if I delete the content of this folder (/var/cache/rhn/reposync/centos-x86_64-6-updates), the file is locally generated with the same problem.<div><br></div><div>Nilton.<br>

<div><br><div class="gmail_quote">2012/7/23 Nilton Moura <span dir="ltr"><<a href="mailto:redhat@nmoura.eti.br" target="_blank">redhat@nmoura.eti.br</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Thank you Jan.<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">2012/7/23 Jan Pazdziora <span dir="ltr"><<a href="mailto:jpazdziora@redhat.com" target="_blank">jpazdziora@redhat.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Sat, Jul 21, 2012 at 07:17:28PM -0300, Nilton Moura wrote:<br>
> Hi people.<br>
><br>
> I'm experiencing a strange problem when I try to sync a repo. When I type:<br>
><br>
> # /usr/bin/spacewalk-repo-sync --channel centos-x86_64-6-updates --type yum<br>
> --url=<a href="http://centos.pop.com.br/6/updates/x86_64" target="_blank">http://centos.pop.com.br/6/updates/x86_64</a><br>
><br>
> It creates the folder and the files under<br>
> /var/cache/rhn/reposync/centos-x86_64-6-updates, but the repomd.xml differs<br>
> from the same at the above --url. The url in --url parameter is the same in<br>
> the GUI, repository configuration. The repomd.xml on <a href="http://centos.pop.com.br" target="_blank">centos.pop.com.br</a> date<br>
> from 20-Jul-2012, but the file created date from 'Apr 16'. So, it can't<br>
<br>
</div>The created file is generated locally on the Spacewalk server, based<br>
on the actual content of the channel. So my guess is the time of your<br>
Spacewalk server is wrong, set to April 16.<br>
<span><font color="#888888"><br>
--<br>
Jan Pazdziora<br>
Principal Software Engineer, Satellite Engineering, Red Hat<br>
</font></span></blockquote></div><br>
</div></div></blockquote></div><br></div></div>