Subject: Re: pkg_chk: updating installed packages w/ FTP?
To: None <pkgsrc-users@NetBSD.org>
From: None <joerg@britannica.bec.de>
List: pkgsrc-users
Date: 04/30/2006 16:08:34
On Sat, Apr 29, 2006 at 06:36:42PM +0200, Hubert Feyrer wrote:
> On Sat, 29 Apr 2006, Jeremy C. Reed wrote:
> >I don't use it myself. But I read recently on a DragonFly list:
> >
> >>pkg_chk -P ftp://binary/url -abg (generate pkg_chk.conf if nonexistent)
> >>
> >>pkg_chk -P ftp://binary/url -abf (fetch all needed packages)
> >>
> >>pkg_chk -P //wherever/previous/step/put/binaries -abu (upgrade)
> >
> >The -P sets PACKAGES and code has support for http://|ftp://.">ftp://.">http://|ftp://.
> 
> Can you give a working (tested) example here?
> 
> Already the first command fails for me, and it's not clear to me what 
> EXACTLY I have to to give to -P - I know that pkg_add is picky with 
> PKG_PATH, so I've tried what came to my mind, with little success:

You might hit the summary file problem, which is currently not produced
by default as part of mk/bulk/upload. All/pkg_chk-summary must exist for
pkg_chk to work with binary remote repositories.

Joerg