From owner-freebsd-questions Tue Jan 8 7:21:14 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 94F8237B41F for ; Tue, 8 Jan 2002 07:20:53 -0800 (PST) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.11.6/8.11.4) id g08FKcY12551; Tue, 8 Jan 2002 16:20:38 +0100 (CET) (envelope-from stijn) Date: Tue, 8 Jan 2002 16:20:37 +0100 From: Stijn Hoop To: Joe & Fhe Barbish Cc: Steve Brown , FBSD Questions Subject: Re: install package from pre-downloaded tgz file? Message-ID: <20020108162037.H68209@pcwin002.win.tue.nl> References: <004501c19851$c3bcfc80$660f129f@bro5637> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="cPi+lWm09sJ+d57q" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from barbish@a1poweruser.com on Tue, Jan 08, 2002 at 10:18:16AM -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 --cPi+lWm09sJ+d57q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 > said it needed other packages that were missing.=20 > I thought when I selected a package install it was a=20 > complete pre complied working environment ready to use=20 > as is after install completes. What I think I see happening=20 > is a package does not include any of it's required dependents=20 > pre-compiled into the package. That the package will still=20 > require it's dependents, but it needs the packaged versions=20 > 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=20 > other dependent packages it tries to but them in /var=20 > directory tree and not /usr directory tree. /usr has 1.7G free=20 > space and /var has 18M free space and all the dependents fill=20 > up the /var so the pkg_add terminates due to ran out of space. =20 >=20 > Is there some way to tell pkg_add to use /usr to stage package=20 > install instead of /var? =20 Yes, see pkg_add(1): The environment variables PKG_TMPDIR and TMPDIR, in that order, are ta= ken 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 --=20 In the force if Yoda's so strong, construct a sentence with words in the proper order then why can't he? --cPi+lWm09sJ+d57q 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 iD8DBQE8Ow5FY3r/tLQmfWcRAkxkAJ41Z2AZ4dJ/iuUMCMLorh3q8WxJSQCaAkO4 R+De5chkxXwLlYDbOK2Xdp0= =eDRW -----END PGP SIGNATURE----- --cPi+lWm09sJ+d57q-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message