Subject: Re: Missing distfile for pkg_install?
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netbsd.org>
List: tech-pkg
Date: 06/21/2002 14:45:34
Alistair Crooks <agc@wasabisystems.com> wrote:
> On Fri, Jun 21, 2002 at 10:56:30AM -0700, Andrew Gillham wrote:
> > 
> > The latest pkgsrc tells me my 1.5.3_ALPHA system needs an updated pkg_install.
> > Unfortunately pkgsrc/pkgtools/pkg_install is looking for a distfile that is
> > not available?
> > => Couldn't fetch pkg_install-20020402.tar.gz - please try to retrieve this
> > => file manually into /usr/pkgsrc/distfiles/ and try again.
> > *** Error code 1
> 
> On ftp.netbsd.org:
> 
> -rw-rw-r--  1 martti     netbsd   81920 Jun  6 06:03 /ftp/pub/NetBSD/packages/distfiles/LOCAL_PORTS/pkg_install-20020402.tar.gz
> 
> What site are you trying to fetch the distfile from?

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
LOCAL_PORTS.

Once I used ftp.netbsd.org, it found it and was able to retrieve it.
I'll see if I find any more hints on why this happened... 

-Jan

-- 
http://www.netbsd.org -
         Multiarchitecture OS, no hype required.