From owner-freebsd-questions Sun Feb 24 17:23:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from smnolde.com (att-98-60-141.atl.mediaone.net [24.98.60.141]) by hub.freebsd.org (Postfix) with ESMTP id 7E05437B402 for ; Sun, 24 Feb 2002 17:23:39 -0800 (PST) Received: from bsd ([192.168.10.7] helo=bsd.smnolde.com) by smnolde.com with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.30 #1) id 16f9rf-000Ldw-00; Sun, 24 Feb 2002 20:23:39 -0500 Received: from scott by bsd.smnolde.com with local (Exim 3.33 #1) id 16f9re-000BCW-00; Sun, 24 Feb 2002 20:23:38 -0500 Date: Sun, 24 Feb 2002 20:23:38 -0500 From: "Scott M. Nolde" To: Joe & Fhe Barbish Cc: FBSDQ Subject: Re: pkg_add save package tar file Message-ID: <20020224202338.A42480@smnolde.com> References: <20020224140711.C529@smnolde.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from barbish@a1poweruser.com on Sun, Feb 24, 2002 at 07:00:02PM -0500 X-Disclaimer: If you can read this you're looking for too much Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Joe & Fhe Barbish(barbish@a1poweruser.com)@2002.02.24 19:00:02 +0000: > I checked those 3 places and the package tar is not there. > My interpretation of what the man page says about environment > variables PKG_TMPDIR and TMPDIR, as this is where the tar is > uncompressed into and files played with before being put > in final locations. After the package is installed this area > must be cleared because it was empty. > > Does pkg_add have a pre-fetch option like the make command does? pkg_add will fetch the package before installing. I've usually seen the files in /var/tmp. See /etc/defaults/make.conf for the PKG_TMPDIR or TMPDIR if they're defined there. Using pkg_add -r package will fetch and install the dependencies for the desired package. If you have drive space and the cpu time, why not use the ports collection and build from source? > > -----Original Message----- > From: Scott M. Nolde [mailto:scott@smnolde.com] > Sent: Sunday, February 24, 2002 2:07 PM > To: Joe & Fhe Barbish > Cc: FBSDQ > Subject: Re: pkg_add save package tar file > > Joe & Fhe Barbish(barbish@a1poweruser.com)@2002.02.24 13:20:04 +0000: > > When I use pkg_add -r lynx to retrieve & install the lynx > > package tar file, I can not find the lynx package tar file > > in /usr/ports/distfiles after the install is completed. > > > > How do I tell pkg_add to save the tar file? > > > > >From the manpage for pkg_add: > The environment variables PKG_TMPDIR and TMPDIR, in that order, are > taken to name temporary directories where pkg_add will attempt to > create its staging area in. If these variables are not present or > if the directories named lack sufficient space, then pkg_add will > use the first of /var/tmp, /tmp or /usr/tmp with sufficient space. > > So, be sure to check /var/tmp, /tmp or /usr/tmp. > > -- > Scott Nolde > GPG Key 0xD869AB48 -- Scott Nolde GPG Key 0xD869AB48 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message