Date: Tue, 8 Jan 2002 10:54:24 -0500 From: "Joe & Fhe Barbish" <barbish@a1poweruser.com> To: "Stijn Hoop" <stijn@win.tue.nl> Cc: "FBSD Questions" <questions@FreeBSD.ORG> Subject: RE: install package from pre-downloaded tgz file? Message-ID: <LPBBIGIAAKKEOEJOLEGOEELMCLAA.barbish@a1poweruser.com> In-Reply-To: <20020108162037.H68209@pcwin002.win.tue.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
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."
I this is true then why did me pkg_add use /var/tmp and run out of
space when /usr has 1.7G?
Is pkg_add pkg-name -PKG_TMPDIR="/usr" the correct command format?
-----Original Message-----
From: Stijn Hoop [mailto:stijn@win.tue.nl]
Sent: Tuesday, January 08, 2002 10:21 AM
To: Joe & Fhe Barbish
Cc: Steve Brown; FBSD Questions
Subject: Re: install package from pre-downloaded tgz file?
On Tue, Jan 08, 2002 at 10:18:16AM -0500, Joe & Fhe Barbish wrote:
> Yes this worked just like you said. But when it ran it
> said it needed other packages that were missing.
> I thought when I selected a package install it was a
> complete pre complied working environment ready to use
> as is after install completes. What I think I see happening
> is a package does not include any of it's required dependents
> pre-compiled into the package. That the package will still
> require it's dependents, but it needs the packaged versions
> of it's dependents. Am I correct in this?
Yes - the dependencies are separate packages, which you need to fetch
separately. If you put them in the same directory pkg_add will automatically
find them.
> Another thing I saw was when pkg_add tries to download the
> other dependent packages it tries to but them in /var
> directory tree and not /usr directory tree. /usr has 1.7G free
> space and /var has 18M free space and all the dependents fill
> up the /var so the pkg_add terminates due to ran out of space.
>
> Is there some way to tell pkg_add to use /usr to stage package
> install instead of /var?
Yes, see pkg_add(1):
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 directo-
ries named lack sufficient space, then pkg_add will use the first of
/var/tmp, /tmp or /usr/tmp with sufficient space.
HTH,
--Stijn
--
In the force if Yoda's so strong, construct a sentence with words in
the proper order then why can't he?
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?LPBBIGIAAKKEOEJOLEGOEELMCLAA.barbish>
