On Wed, Aug 02, 2006 at 11:02:08AM +0200, the unit calling itself Marc Espie 
wrote:
> 
> > 3) both ftp sites *and* local packages can be specified in PKG_PATH
> 
> Of course ;-)
> 
> 
> > So perhaps if I had followed this sequence I could have avoided the 
> > problems I encountered:
> > 
> > # setenv PKG_PATH 
> > ftp://ftp3.usa.openbsd.org/pub/OpenBSD/3.9/packages/i386/;/usr/ports/packages/i386/all
> 
> Nope. What is that ; ?  Use : to separate elements, as usual. pkg_add is smart
> enough to desambiguate ftp:// from path separators.

thanks... the ";" is the same thing as "desambiguate" - a typo  :)
The following seems to work for me: 

# setenv PKG_PATH 
ftp://ftp3.usa.openbsd.org/pub/OpenBSD/3.9/packages/i386/:/usr/ports/packages/i386/all/
 
> Note that, in most cases, you can use `make update' to update the installation
> of existing packages.  `make update FORCE_UPDATE=Yes' will even force the
> update with precisely -F update -F updatedepends -F installed....
> 
> I'll make a note to add a quick description of make update to ports(7), since
> it's currently documented in bsd.port.mk(5), which is a bit too much for
> the average user....

Yes... I'm quite sure I would have never found it there ;)

Best Rgds,
J 

PS: ports and package management have come an incredibly long way since 
2.6. I understand you are largely responsible for these improvements - 
many thanks for your hard work!


Reply via email to