Creating an INDEX file for local tbz packages

Edward Lichtner lichtner at 9online.fr
Mon Feb 7 14:53:05 PST 2005


> 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



More information about the freebsd-newbies mailing list