From owner-freebsd-questions Fri Jul 17 21:57:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA16911 for freebsd-questions-outgoing; Fri, 17 Jul 1998 21:57:25 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mail.exo.net.au (root@sky-valley.exo.net.au [203.14.230.103]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA16905 for ; Fri, 17 Jul 1998 21:57:18 -0700 (PDT) (envelope-from bullseye.apana.org.au!andymac@mail.exo.net.au) Received: by mail.exo.net.au id m0yxP1k-00056JC (Debian Smail-3.2 1996-Jul-4 #2); Sat, 18 Jul 1998 14:55:20 +1000 (EST) Received: from localhost (andymac@localhost) by bullseye.apana.org.au (8.8.8/8.8.8) with SMTP id KAA28716; Sat, 18 Jul 1998 10:32:06 +1000 (EST) (envelope-from andymac@bullseye.apana.org.au) Date: Sat, 18 Jul 1998 10:32:06 +1000 (EST) From: Andrew MacIntyre To: Sue Blake cc: Thomas Dean , freebsd-questions@FreeBSD.ORG Subject: Re: little package mysteries In-Reply-To: <19980718001734.19076@welearn.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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