From owner-freebsd-questions Tue Jan 8 8: 1:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from operamail.com (operamail.infinite.com [199.29.68.126]) by hub.freebsd.org (Postfix) with ESMTP id 39C6337B404 for ; Tue, 8 Jan 2002 08:01:18 -0800 (PST) Received: from bro5637 [206.191.70.3] (hogtown@operamail.com) by operamail.com; Tue, 8 Jan 2002 11:01:17 -0500 X-WM-Posted-At: operamail.com; Tue, 8 Jan 02 11:01:17 -0500 Message-ID: <005f01c1985e$67837220$660f129f@bro5637> From: "Steve Brown" To: "Joe & Fhe Barbish" Cc: "fbsd" References: Subject: Re: install package from pre-downloaded tgz file? Date: Tue, 8 Jan 2002 11:06:15 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 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 Sort of. But if you're trying to install "pkg_A" which depends on "pkg_B", pkg_add will first check to see if you have "pkg_B" installed. If you have it, it doesn't need to get it again, otherwise needs "pkg_B"'s .tgz file. "man pkg_add" shows you the "-t" option which can override the default "temporary staging area" in /var/tmp/instmp.XXXXXX . This looks like just what you're after; I've not tried it yet so let me know if it works without blowing up your system ;-) Steve ----- Original Message ----- From: "Joe & Fhe Barbish" To: "Steve Brown" Cc: "FBSD Questions" Sent: January 8, 2002 10:18 AM Subject: RE: install package from pre-downloaded tgz file? > 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? > > 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? > > Thanks > Joe > > -----Original Message----- > From: Steve Brown [mailto:freebsd@prayforwind.com] > Sent: Tuesday, January 08, 2002 9:35 AM > To: Joe & Fhe Barbish > Cc: fbsd > Subject: Re: install package from pre-downloaded tgz file? > > pkg_add needs the whole filename if you install it from local disk, and it > finds it if the file is in your current directory. (I usually pull it down > to my home dir as an ordinary user, su to pkg_add it, exit back to normal > user to delete the .tgz file, try the app) > > ----- Original Message ----- > From: "Joe & Fhe Barbish" > To: "FBSD Questions" > Sent: January 8, 2002 8:50 AM > Subject: install package from pre-downloaded tgz file? > > > > When I tried to pkg_add -rv pkg-name got message that > > file could not be found on FTP server xxxxx or server > > could not be reached or no access allowed. > > Before these messages it also said passive ftp enabled. > > I then used FBSD web/ports to locate the package and > > downloaded to a win box and then moved it to FBSD. > > I can not get pkg_add to find and use this package tgz file. > > > > Does the package tgz file have to be in some directory for > > the pkg_add to find it? IF so where? > > > > How do I get pkg_add to use the local package.tgz file > > to install from? > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message