From owner-freebsd-questions Tue Jan 8 7:58:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by hub.freebsd.org (Postfix) with ESMTP id 6950037B416 for ; Tue, 8 Jan 2002 07:58:23 -0800 (PST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.11.6/8.11.4) id g08FwLd50170; Tue, 8 Jan 2002 16:58:21 +0100 (CET) (envelope-from stijn) Date: Tue, 8 Jan 2002 16:58:21 +0100 From: Stijn Hoop To: Joe & Fhe Barbish Cc: FBSD Questions Subject: Re: install package from pre-downloaded tgz file? Message-ID: <20020108165820.I68209@pcwin002.win.tue.nl> References: <20020108162037.H68209@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="AH+kv8CCoFf6qPuz" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from barbish@a1poweruser.com on Tue, Jan 08, 2002 at 10:54:24AM -0500 X-Bright-Idea: Let's abolish HTML mail! 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 --AH+kv8CCoFf6qPuz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 08, 2002 at 10:54:24AM -0500, Joe & Fhe Barbish wrote: > In my cvsupfile I set the environment variables PKG_TMPDIR > and TMPDIR to /usr. I thought this set those values permanently? > Are you saying these values only stay set for the duration of > the run and have to be set every time I access the FBSD cvsup > source tree? No, you need to set environment variables in your ~/.login or ~/.profile to make them 'permanent'. See the manual page for your shell ('man tcsh' for the FreeBSD default shell). > You said "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." That was a quote from the manual page. See 'man pkg_add'. > I this is true then why did me pkg_add use /var/tmp and run out of > space when /usr has 1.7G? I don't know; obviously the manual page is incorrect about this. You should send a problem report so that this information can be corrected. You can do this using the 'send-pr' command or online at http://www.freebsd.org/send-pr.html. > Is pkg_add pkg-name -PKG_TMPDIR=3D"/usr" the correct command format? No, use this: env PKG_TMPDIR=3D/usr/tmp pkg_add pkg-name Make sure /usr/tmp exists, is writable, and is empty. I do not recommend using /usr for this. HTH, --Stijn --=20 The rain it raineth on the just And also on the unjust fella, But chiefly on the just, because The unjust steals the just's umbrella. --AH+kv8CCoFf6qPuz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8OxccY3r/tLQmfWcRAroDAJ90+dElUIRFwR7AsyJaBIwmM9fx0gCfXbqG hFiw9NbVUKmdilBDV6EwZ2o= =C+iP -----END PGP SIGNATURE----- --AH+kv8CCoFf6qPuz-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message