2007/3/12, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
pkg_add does all of this for you - without the need for a separate
FETCH_CMD or enclosing PKG_PATH in quotes.

The quotes are from export.

then you only need to do each time:
        pkg_add -iv <pkgname>
& it will be downloaded/installed as needed. on my box the above works
fine - i.e. retrieving packages via http:// is understood by pkg_add -
as documented/expected!

Aha. And why doesn't it work?

----------------
sudo pkg_add -iv wdiff
Error from http://ftp-stud.fht-esslingen.de/pub/OpenBSD/4.0/packages/i386/:
ftp: Writing -: Broken pipe
Can't find wdiff-0.5
/usr/sbin/pkg_add: wdiff-0.5:Fatal error
export
declare -x 
PKG_PATH="http://ftp-stud.fht-esslingen.de/pub/OpenBSD/4.0/packages/i386/";
----------------
It works with ftp, but ftp doesn't work because of the firewall.

Best
  Martin

Reply via email to