Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2002 16:58:21 +0100
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Joe & Fhe Barbish <barbish@a1poweruser.com>
Cc:        FBSD Questions <questions@freebsd.org>
Subject:   Re: install package from pre-downloaded tgz file?
Message-ID:  <20020108165820.I68209@pcwin002.win.tue.nl>
In-Reply-To: <LPBBIGIAAKKEOEJOLEGOEELMCLAA.barbish@a1poweruser.com>; from barbish@a1poweruser.com on Tue, Jan 08, 2002 at 10:54:24AM -0500
References:  <20020108162037.H68209@pcwin002.win.tue.nl> <LPBBIGIAAKKEOEJOLEGOEELMCLAA.barbish@a1poweruser.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020108165820.I68209>