Date: Sun, 24 Feb 2002 20:23:38 -0500 From: "Scott M. Nolde" <scott@smnolde.com> To: Joe & Fhe Barbish <barbish@a1poweruser.com> Cc: FBSDQ <questions@FreeBSD.ORG> Subject: Re: pkg_add save package tar file Message-ID: <20020224202338.A42480@smnolde.com> In-Reply-To: <LPBBIGIAAKKEOEJOLEGOMELJCIAA.barbish@a1poweruser.com>; from barbish@a1poweruser.com on Sun, Feb 24, 2002 at 07:00:02PM -0500 References: <20020224140711.C529@smnolde.com> <LPBBIGIAAKKEOEJOLEGOMELJCIAA.barbish@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020224202338.A42480>