Creating an INDEX file for local tbz packages

Randy Pratt rpratt1950 at earthlink.net
Mon Feb 7 15:30:23 PST 2005


On Mon, 07 Feb 2005 22:31:34 +0100
Edward Lichtner <lichtner at 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 directory.
> >> 
> >> Any clue how I should do it ?
> > 
> > Hi Edward.
> > 
> > I got a clue for you. ENVIRONMENT in pkg_add(1).
> > 
> > May you be well and add just enough packages.
> > 
> > 
> > Cheers,
> > Björn Sjöberg 
> > 
> > --
> > On the Internet, nobody knows you're a dog.
> > - Peter Steiner
> 
> Thanks for the clue Björn. The Environment section of the man page indicates
> I have to add the path to the tbz files in the PKG_PATH variable. But there
> 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 variable
> ? Did I miss something out?
> Edward
> 

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
-- 


More information about the freebsd-newbies mailing list