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, 29 Apr 2006, Hubert Feyrer wrote:
> I have installed a bunch of packages using pkg_add via FTP from
> pkgsrc-2005Q4. Now that pkgsrc-2006Q1 binary packages are out, I'd like
> to update all my installed packages.
>
> Is there a way to do that with pkg_chk? It seems -P can only point at
> local packages, but I'd like to use the binary packages on
> ftp.NetBSD.org ...
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://.
Jeremy C. Reed
echo '9,J8HD,fDGG8B@?:536FC5=8@I;C5?@H5B0D@5GBIELD54DL>@8L?:5GDEJ8LDG1' |\
sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'
Home |
Main Index |
Thread Index |
Old Index