On Fridayen den 9 November 2001 11.49, Borsenkow Andrej wrote: > > On Fridayen den 9 November 2001 10.58, Borsenkow Andrej wrote: > > > > On Fridayen den 9 November 2001 10.28, Borsenkow Andrej wrote: > > > > > ftp.uninett.no - @ERROR: chroot failed > > > > > > > > this one works for me. > > > > > > Yes, but no more as > > > > > > rsync rsync://ftp.uninett.no/Mandrake-devel/ > > > > > > but as > > > > > > rsync rsync://ftp.uninett.no/Mandrake-new/Mandrake-devel/ > > > > > > These f*** mirror maintainers. We are supposed to have virtual > > > directories in rsync exactly to hide real layout :( > > > > Yes, I agree totally, I wrote about this yesterday, and it's becoming > > a > > > pain > > in the *ss. I'm using the "troels.rsync5.pl" script which works very > > well > > > except for erasing all packages when these damn mirror maintainers > > can't > > > get > > it right. > > > > Maybe a person with great perl skills could fix the script to not > > erase if > > > the mirror is f*cked up? > > [root@cooker root]# grep rsync_options ~/bin/sync-cooker > my $rsync_options = '--delete'; > > > man rsync: > > ... > -b, --backup make backups (default ~ suffix) > --backup-dir make backups into this directory > ... > --max-delete=NUM don't delete more than NUM files > ... > > You got an idea? :-) > > Actually, max-delete is good; using this script, you never delete way > too many files (as rpms are renamed). May be it makes sense to use it by > default.
Aha!!!! Great stuff! I think I use the --backup-dir switch until the rsync admin has stopped their evil deeds. Hmm, I just tried this but then my ignore file was ignored. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | Oden Eriksson, Deserve-IT Networks, Jokkmokk, Sweden. | Mandrake Linux release 8.2 (Cooker) for i586 | Current uptime with kernel 2.4.13-4mdksmp: 23:42 | cpu0 @ 814.28 bm, fan 4166 rpm, temp +31.0°C | cpu1 @ 815.92 bm, fan 4066 rpm, temp +30°C