Christian Andersson wrote:
I'd suggest that you use rsync(1) for this kind of mirroring. It has the features you request and works with uni-kl.de. Moreover, it is *probably* more efficient than http and *probably* not as buggy as wget. A quick look at its man-page and a small number of experiments will soon get you up and running.
Thank you Christian, unfortunately, rsync isn't possible since I'm in a multitier network and the only access to external servers is by using with http/ftp proxies. :-( Is someone using wget to mirror SuSE updates without getting this problem?
BR /Ch
José M. Fandiño wrote:
hello,
I'm using a internal mirror machine for updates and wget is used by scripts to download all the packages, however it isn't deleting the old versions of those packages.
with this line I get all the updates:
wget --proxy=on -R"*=*" -P /mirrors -nH --no-parent --mirror \ http://ftp.uni-kl.de/pub/linux/suse/i386/update/9.1/rpm/src
but, I finish with the old packages in addition to the new one.
suse:/mirrors/pub/linux/suse/i386/update/9.1/rpm/src # ls -1 kernel-source*rpm kernel-source-2.6.5-7.104.src.rpm kernel-source-2.6.5-7.108.src.rpm kernel-source-2.6.5-7.111.19.src.rpm kernel-source-2.6.5-7.111.30.src.rpm kernel-source-2.6.5-7.111.5.src.rpm kernel-source-2.6.5-7.111.src.rpm kernel-source-2.6.5-7.145.src.rpm kernel-source-2.6.5-7.147.src.rpm kernel-source-2.6.5-7.151.src.rpm kernel-source-2.6.5-7.75.src.rpm kernel-source-2.6.5-7.95.src.rpm
is it possible to do a _real_mirror_ with wget? am I missing something?
-- -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT d- s+:+() a31 C+++ UBL+++$ P+ L+++ E--- W++ N+ o++ K- w--- O+ M+ V- PS+ PE+ Y++ PGP+>+++ t+ 5 X+$ R- tv-- b+++ DI D++>+++ G++ e- h+(++) !r !z ------END GEEK CODE BLOCK------