pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_chk: updating installed packages w/ FTP?



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://.
> 
> 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



Home | Main Index | Thread Index | Old Index