On 2015-05-29, Bryan Horstmann-Allen <[email protected]> wrote:
> +------------------------------------------------------------------------------
>| On 2015-05-29 15:04:41, Riccardo Mottola wrote:
>| 
>> How do you manage PKG_PATH? just export it in .profile and be more careful 
>> when updating?
>
> PKG_PATH="ftp://ftp.openbsd.org/pub/OpenBSD/`uname -r`/packages/`uname -m`/"

This should use "arch -s", not "uname -m". It matters for some architectures.
Also http is generally recommended over ftp; it can be a *lot* faster.

Or using -current you can set something like this in pkg.conf (see the
manual for more):

installpath = http://somesite/pub/OpenBSD/%c/packages/%a/

Reply via email to