Subject: Re: Missing distfile for pkg_install?
To: Jan Schaumann <email@example.com>
From: Frederick Bruckman <firstname.lastname@example.org>
Date: 06/21/2002 14:53:51
On Fri, 21 Jun 2002, Jan Schaumann wrote:
> I encountered the same problem a few days ago -- I was using a
> MASTER_SITE_OVERRID in /etc/mk.conf, and it appears that my mirror did
> not contain pkg_install in LOCAL_PORTS. In fact, IIRC, 'make fetch'
> only looked in /pub/NetBSD/packages/distfiles/ on the mirror, not in
You must not have FAILOVER_FETCH set. MASTER_SITE_OVERRIDE is always
listed first, so if you only go to one site, that'll be the one.
BTW, if the mirror isn't on your own LAN or WAN, better (kinder) to
keep the load on it down, by setting MASTER_SITE_BACKUP to the mirror,
instead of MASTER_SITE_OVERRIDE. If you also set FAILOVER_FETCH=yes,
you'll automatically fall back to the mirror if the MASTER_SITE is
down or returning an error for the file. [If the mirror is on your
WAN, then you would want to use MASTER_SITE_OVERRIDE, but
FAILOVER_FETCH would still be useful for newer files that
hadn't been mirrored yet.]