Le 2018-09-16 03:33, Michael Ayres a écrit :
Thanks to everyone who has replied in helping me. I have read up on
the man pages and I understand what I need; it is:

1) I want to install some packages on OpenBSD 6.0 which I have
operational on a Parallels VM on my precious MacBookPro High Sierra.

are you using 6.0? If so, it's no longer supported and packages are not
available anymore.

2) I want to set a environmental variable PKG_PATH to the ftp site to
get packages.
  2.a) I am trying to set it to
https://ftp.openbsd.org/pub/OpenBSD/6.3/packages/i386/
<https://ftp.openbsd.org/pub/OpenBSD/6.3/packages/i386/>, which has an
index of packages I might want to get. I will later put that
PKG_PATH in the start up file so it is always set each time I boot up
OpenBSD.

Are you using i386 architecture in your VM?

3) My PKG_PATH string [
https://ftp.openbsd.org/pub/OpenBSD/6.3/packages/i386/
<https://ftp.openbsd.org/pub/OpenBSD/6.3/packages/i386/> ] does not
seem to work. An example I refer to includes some wild cards, “%”,
which I can’t seem to get right.k The example I am working from is at:
https://linux-audit.com/updating-all-openbsd-packages-with-pkg_add/
<https://linux-audit.com/updating-all-openbsd-packages-with-pkg_add/>
and one example it uses is passing a variable for name and arch -s,
which I have not set.

http://man.openbsd.org/installurl

https://ftp.openbsd.org/pub/OpenBSD is a right content for the file



4) What is a correct string i should use to set my PKG_PATH variable
to get packages from location at 2a above?


use /etc/installurl instead of PKG_PATH

Reply via email to