Re: [CentOS] mirroring with lftp

2011-06-28 Thread Ljubomir Ljubojevic
John R Pierce wrote: > does someone have a script for maintaining a repo with lftp they'd like > to share? what I saw on the wiki wasn't very helpful. I am using mrepo, and for number of repos use lftp, but from mrepo's config. It downloads packages and then creates repositories for the web

[CentOS] mirroring with lftp

2011-06-27 Thread R P Herrold
On Mon, 27 Jun 2011, John R Pierce wrote: > does someone have a script for maintaining a repo with lftp they'd like > to share? what I saw on the wiki wasn't very helpful. [root@xps400 ~]# grep kernel *conf lftp-centos-4-updates.conf: ftp://mirrors.kernel.org/centos/4/updates/i386 \ lft

Re: [CentOS] mirroring with lftp

2011-06-27 Thread John R Pierce
On 06/27/11 3:46 PM, Ross Walker wrote: > does someone have a script for maintaining a repo with lftp they'd like > > to share? what I saw on the wiki wasn't very helpful. hmm. this seems to be working. cd /path/to/local/mirror lftp -c 'open ftp://mirrors.kernel.org/pub/ && mirror -c -

Re: [CentOS] mirroring with lftp

2011-06-27 Thread Ross Walker
On Jun 27, 2011, at 6:26 PM, John R Pierce wrote: > i've maintained a local centos repository at work using rsync, but it > seems the corp honchos have decided to block rsync at our firewall, plus > its never been 100% reliable, I'd get aborts on protocol errors > sometimes several times befor

[CentOS] mirroring with lftp

2011-06-27 Thread John R Pierce
i've maintained a local centos repository at work using rsync, but it seems the corp honchos have decided to block rsync at our firewall, plus its never been 100% reliable, I'd get aborts on protocol errors sometimes several times before pulling down a complete new distro update. i'm trying to