Date: Sat, 18 Jul 1998 15:31:36 +1000 From: Sue Blake <sue@welearn.com.au> To: Andrew MacIntyre <andymac@bullseye.apana.org.au> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: little package mysteries Message-ID: <19980718153136.63722@welearn.com.au> In-Reply-To: <Pine.BSF.3.96.980718102447.28429A-100000@bullseye.apana.org.au>; from Andrew MacIntyre on Sat, Jul 18, 1998 at 10:32:06AM %2B1000 References: <19980718001734.19076@welearn.com.au> <Pine.BSF.3.96.980718102447.28429A-100000@bullseye.apana.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 18, 1998 at 10:32:06AM +1000, Andrew MacIntyre wrote:
> 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?
A little. Now I can see how to provide a script external to the package
that can set up the environment and ensure that pkg_add runs with the
correct options.
Trouble is, I could have done the _whole_ installation with a script
easier than using a package. It's starting to look like if anybody
knows more than the tiny bit I know about how packages work, they're
not reading -questions.
I'll go hassle the people in some other mailing lists and report back.
--
Regards,
-*Sue*-
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?19980718153136.63722>
