From owner-freebsd-questions Sun Feb 24 16: 0:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.mango-bay.com (mail.mango-bay.com [208.206.15.12]) by hub.freebsd.org (Postfix) with ESMTP id 2C11E37B400 for ; Sun, 24 Feb 2002 16:00:06 -0800 (PST) Received: from barbish ([63.70.155.111]) by mail.mango-bay.com (Post.Office MTA v3.5.3 release 223 ID# 0-52377U2500L250S0V35) with SMTP id com; Sun, 24 Feb 2002 19:04:33 -0500 From: "Joe & Fhe Barbish" To: "Scott M. Nolde" Cc: "FBSDQ" Subject: RE: pkg_add save package tar file Date: Sun, 24 Feb 2002 19:00:02 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020224140711.C529@smnolde.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal 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 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? -----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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message