Subject: pkg_add and wget
To: None <netbsd-users@netbsd.org>
From: Joel CARNAT <joel@carnat.net>
List: netbsd-users
Date: 07/21/2005 22:07:23
-- Hi,
I'm trying to pkg_add using wget to fetch the packages.
In my /etc/mk.conf, I have :
**********
.if exists(/usr/pkg/bin/wget)
FETCH_CMD=wget
.endif
**********
but this is only used in pkgsrc :(

I also tried `FETCH_CMD=wget pkg_add
ftp://ftp2.fr.netbsd.org/pub/NetBSD/packages/pkgsrc-2005Q2/NetBSD-2.0/i386/All/suse_x11-9.1nb2.tgz`,
but I got :
**********
wget: Invalid --execute command `tv'
pkg_add: expect1 failed, rc=0
pkg_add: ftp_start() failed
**********

Anyone knows if/how I can use wget with pkg_add ?
TIA,
    Jo
,- This mail runs ------.
`- NetBSD/squirrelmail -'