Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Feb 2005 18:30:14 -0500
From:      Randy Pratt <rpratt1950@earthlink.net>
To:        Edward Lichtner <lichtner@9online.fr>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: Creating an INDEX file for local tbz packages
Message-ID:  <20050207183014.7697acde.rpratt1950@earthlink.net>
In-Reply-To: <BE2D9CC6.209E%lichtner@9online.fr>
References:  <20050206195540.GA93364@cypher.bohemen.se> <BE2D9CC6.209E%lichtner@9online.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 07 Feb 2005 22:31:34 +0100
Edward Lichtner <lichtner@9online.fr> 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



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