From owner-freebsd-newbies@FreeBSD.ORG Mon Feb 7 23:30:23 2005 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB47A16A4CE for ; Mon, 7 Feb 2005 23:30:23 +0000 (GMT) Received: from smtpauth01.mail.atl.earthlink.net (smtpauth01.mail.atl.earthlink.net [209.86.89.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5603843D49 for ; Mon, 7 Feb 2005 23:30:23 +0000 (GMT) (envelope-from rpratt1950@earthlink.net) Received: from [204.215.32.27] (helo=kt.weeble.com) by smtpauth01.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1CyIKd-0005tV-T1; Mon, 07 Feb 2005 18:30:19 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=test1; d=earthlink.net; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=io3DhTCrdzwmzgIjKISX3sIHmEoAkM7xYUFf8NE8Vn0fx3kMMViruVghjVuTeX8f; Date: Mon, 7 Feb 2005 18:30:14 -0500 From: Randy Pratt To: Edward Lichtner Message-Id: <20050207183014.7697acde.rpratt1950@earthlink.net> In-Reply-To: References: <20050206195540.GA93364@cypher.bohemen.se> X-Mailer: Sylpheed version 1.0.1 (GTK+ 1.2.10; i386-portbld-freebsd4.11) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-ELNK-Trace: 96132b9c1759af1df21c5f5255d6c174239a348a220c2609a126a814cc95210ba1e1398f5b5c0b4c666fa475841a1c7a350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 204.215.32.27 cc: ibs@bohemen.se cc: freebsd-newbies@freebsd.org Subject: Re: Creating an INDEX file for local tbz packages X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2005 23:30:23 -0000 On Mon, 07 Feb 2005 22:31:34 +0100 Edward Lichtner wrote: > > On Sun, Feb 06, 2005 at 01:26:26PM +0100, Edward Lichtner wrote: > >> I then tried to install a package using : pkg_add /pkg/fr-kde-i18n-3.3= .0.tbz > >> I get a message that some needed packages cannot be found. But these > >> packages are actually in the /pkg directory. I assume I have to create= an > >> INDEX file inside /pkg to tell pkg_add what is available in the direct= ory. > >>=20 > >> Any clue how I should do it ? > >=20 > > Hi Edward. > >=20 > > I got a clue for you. ENVIRONMENT in pkg_add(1). > >=20 > > May you be well and add just enough packages. > >=20 > >=20 > > Cheers, > > Bj=F6rn Sj=F6berg=20 > >=20 > > -- > > On the Internet, nobody knows you're a dog. > > - Peter Steiner >=20 > Thanks for the clue Bj=F6rn. The Environment section of the man page indi= cates > I have to add the path to the tbz files in the PKG_PATH variable. But the= re > is no indication of the syntax to do this. PKG_PATH does not appear to be= a > command with a man page. Any input as to how I update the PKG_PATH variab= le > ? Did I miss something out? > Edward >=20 The FreeBSD Handbook section on "Shells" has some information on setting ENV variables which may be enough to get you going: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/shells.html HTH, Randy --=20