[Spacewalk-list] Something odd in reposync....

James Hogarth james.hogarth at gmail.com
Fri Jan 8 12:29:58 UTC 2010


[root at spacewalk ~]# rm -rf
/var/cache/rhn/reposync/centos_54_x64_updates-centos_54_64_updates
[root at spacewalk ~]# /usr/bin/spacewalk-repo-sync --channel
centos_54_x64_updates                                --url
http://mirror.centos.org/centos-5/5.4/updates/x86_64/
--type yum --label centos_54_64_updates
Repo http://mirror.centos.org/centos-5/5.4/updates/x86_64/ has 436 packages.
No new packages to download.
Sync complete

[root at spacewalk ~]# wget -O -
http://mirror.centos.org/centos-5/5.4/updates/x86_64/RPMS/ | grep -i ".rpm"
| wc -l
--2010-01-08 12:25:50--
http://mirror.centos.org/centos-5/5.4/updates/x86_64/RPMS/
Resolving mirror.centos.org... 92.48.127.134
Connecting to mirror.centos.org|92.48.127.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `STDOUT'

    [
<=>
] 125,627     --.-K/s   in 0.07s

2010-01-08 12:25:50 (1.73 MB/s) - `-' saved [125627]

494

No joy there.....

2010/1/8 Michael Mraka <michael.mraka at redhat.com>

> James Hogarth wrote:
> % Scratch that - looks like it could be some kind of caching issue but I
> have
> % no idea where....
> %
> % wget shows the correct timestamps and content from the box and yet the
> % updates released last night for centos appear in wget but repo sync does
> not
> % see them
> %
> % does reposync use any client caching itself of any kind?
>
> Reposync utilizes yum libraries, so yes it does caching.
> Try rm -rf /var/cache/rhn/reposync/* .
>
> % > /usr/bin/spacewalk-repo-sync --channel
> % > rhel5_x86_64_spacewalk_client                              --url
> % > http://spacewalk.redhat.com/yum/0.7-client/RHEL/5/x86_64/
> % > --type yum --label rhel5_x86_64_spacewalk_client
> % > Repo http://spacewalk.redhat.com/yum/0.7-client/RHEL/5/x86_64/ has 22
> % > packages.
> % > No new packages to download.
> % > Sync complete
> % >
> % > Checking the page manually I count 23.....
> % >
> % > Initially I thought it an http cache issue but wget shows the correct
> % > content on that box - and other reposync's (epel and centos updates for
> % > instance) are syncing correctly according to the logs.
> % >
> % > Thoughts?
>
> Regards,
> Michael
>
> --
> Michael Mráka
> Satellite Engineering, Red Hat
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20100108/b0ac2d30/attachment.htm>


More information about the Spacewalk-list mailing list