Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jan 2002 16:20:37 +0100
From:      Stijn Hoop <stijn@win.tue.nl>
To:        Joe & Fhe Barbish <barbish@a1poweruser.com>
Cc:        Steve Brown <freebsd@prayforwind.com>, FBSD Questions <questions@freebsd.org>
Subject:   Re: install package from pre-downloaded tgz file?
Message-ID:  <20020108162037.H68209@pcwin002.win.tue.nl>
In-Reply-To: <LPBBIGIAAKKEOEJOLEGOAELLCLAA.barbish@a1poweruser.com>; from barbish@a1poweruser.com on Tue, Jan 08, 2002 at 10:18:16AM -0500
References:  <004501c19851$c3bcfc80$660f129f@bro5637> <LPBBIGIAAKKEOEJOLEGOAELLCLAA.barbish@a1poweruser.com>

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

[-- Attachment #1 --]
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?

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8Ow5FY3r/tLQmfWcRAkxkAJ41Z2AZ4dJ/iuUMCMLorh3q8WxJSQCaAkO4
R+De5chkxXwLlYDbOK2Xdp0=
=eDRW
-----END PGP SIGNATURE-----
help

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