Date: Sat, 18 Jul 1998 10:32:06 +1000 (EST) From: Andrew MacIntyre <andymac@bullseye.apana.org.au> To: Sue Blake <sue@welearn.com.au> Cc: Thomas Dean <tomdean@ix.netcom.com>, freebsd-questions@FreeBSD.ORG Subject: Re: little package mysteries Message-ID: <Pine.BSF.3.96.980718102447.28429A-100000@bullseye.apana.org.au> In-Reply-To: <19980718001734.19076@welearn.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 18 Jul 1998, Sue Blake wrote:
> When it tries to install another package (having first established that
> that other package has not already been installed), where, oh where,
> does it look for that package. Where does it expect the package to be
> physically located. Not the record of its being installed, I mean the
> actual package.
My reading of man pkg_add leads me to the expectation that the PKG_PATH
environment variable would control the search path for the specified (on
cmd line) package, as well as packages required by that package.
> If it can't find a required package, will the installation be cancelled
> or will it proceed with a warning? Or could it be made to go either
> way, and if that is the case, what determines which way it goes?
The section of the pkg_add manpage dealing with the -f option infers that
without it, a missing required package is a fatal error. With it, it will
still attempt to find the required package, but not being able to find it
is not fatal so the pkg_add proceeds to install the specified package.
Does this help any?
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: andrew.macintyre@aba.gov.au (work) | Snail: PO Box 370
andymac@bullseye.apana.org.au (play) | Belconnen ACT 2616
Fido: Andrew MacIntyre, 3:620/243.18 | Australia
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980718102447.28429A-100000>
