Re: pkg_add on OpenBSD 6.1, fresh install

2017-04-12 Thread Maurice McCarthy
On Tue, Apr 11, 2017 at 04:43:27PM -0600 or thereabouts, Anathae Townsend wrote:
> I have done a fresh install of 6.1 (downloaded it today, from
> ftp.openbsd.org/pub/OpenBSD/6.1/amd64 as the file install61.fs (I live in
> Edmonton, Alberta, that's why I use the source ftp)) and was trying to
> install some packages...
> 
> When I type in pkg_add -v http://ftp.openbsd.org/%m/joe (as an example),
> pkg_add reports joe not found.  If instead I do pkg_add -v
> http://ftp.openbsd.org/pub/OpenBSD/6.1/packages/amd64/joe, it works.  
> 
> Admittedly, I am running this from the root login... am I doing something
> wrong?
> 
> Anathae
> 

$ man pkg.conf
...
Special sequences â%a, %c, %m, %v will be expanded to
package architecture, OS version or snapshots,
full mirror pathâand OS version respectively.
... 

"%m" is the _whole _path



pkg_add on OpenBSD 6.1, fresh install

2017-04-11 Thread Anathae Townsend
I have done a fresh install of 6.1 (downloaded it today, from
ftp.openbsd.org/pub/OpenBSD/6.1/amd64 as the file install61.fs (I live in
Edmonton, Alberta, that's why I use the source ftp)) and was trying to
install some packages...

When I type in pkg_add -v http://ftp.openbsd.org/%m/joe (as an example),
pkg_add reports joe not found.  If instead I do pkg_add -v
http://ftp.openbsd.org/pub/OpenBSD/6.1/packages/amd64/joe, it works.  

Admittedly, I am running this from the root login... am I doing something
wrong?

Anathae