From owner-freebsd-questions@FreeBSD.ORG Wed Nov 30 11:27:22 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10EFA1065670 for ; Wed, 30 Nov 2011 11:27:22 +0000 (UTC) (envelope-from cybernautape@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9A3798FC0A for ; Wed, 30 Nov 2011 11:27:21 +0000 (UTC) Received: by eaai12 with SMTP id i12so796473eaa.13 for ; Wed, 30 Nov 2011 03:27:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=xrKl37m/Pm5ppUie7uz+OXtesfU4OFWkrPDxRy/UWTo=; b=KqFZVzjzhG0UvRahwW9zYagzNMReLdrYB+/809yRyos5nSveuG8B1PmWnyFSyepFb5 SngDN1xcDgvtZp3RVn1OERe6M5Bgo8ydRHuMVHqvwV7D5/uINYZ5kFa04sxazlj24Lre OtoTIbsOGGXw7BgBkRguXJABaRvldC+Q/Vbgw= MIME-Version: 1.0 Received: by 10.216.139.9 with SMTP id b9mr226437wej.80.1322652440433; Wed, 30 Nov 2011 03:27:20 -0800 (PST) Received: by 10.216.202.147 with HTTP; Wed, 30 Nov 2011 03:27:20 -0800 (PST) Date: Wed, 30 Nov 2011 06:27:20 -0500 Message-ID: From: Edgar Rodolfo To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: Setenv PACKAGESITE thepathtoftp, in boot time how to do it? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2011 11:27:22 -0000 Hi guys, currently i have a machine with freebsd 9 rc2, for default when i try to use pkg_add -r wget, for example, i can not install because the path is freebsd# pkg_add -r xscreensaver Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-current/Latest/xscreensaver.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-current/Latest/xscreensaver.tbz' by URL but i put : freebsd# setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest/ freebsd# pkg_add -r xscreensaver Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest/xscreensaver.tbz... Done. it works, pero i want to use for default, without put again it, when the machine reboot and i want to use again pkg i am puting the path manually :(, what is the file when i should put the path? to use pkg_add -r package?, without put again PACKAGESITE?, thank in advance! http://cybernautape.blogspot.com