From owner-freebsd-questions@FreeBSD.ORG Wed Nov 30 12:18:28 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 134FB106566C for ; Wed, 30 Nov 2011 12:18:28 +0000 (UTC) (envelope-from alexander.kapshuk@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 976E78FC16 for ; Wed, 30 Nov 2011 12:18:27 +0000 (UTC) Received: by eekc13 with SMTP id c13so445001eek.13 for ; Wed, 30 Nov 2011 04:18:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PSfWtAWz/WVUuJhC5+unUpQ6SWhSHJSbgTvbkDocue0=; b=MiWK+vbV06gRcRLRqrbxRc7Ke5pD151N228GZusYXAKdDgA9JBJ6fzGM9TKca9L3zp h0lPgFIECLZBg3PjZjcMDB4HUaCof3V49ru4f0ztzv05wJ1CWlJK7VjaEZR17PgUPBzf vnG1Mi6L7QfqUDLZDJ/CsCgVgrp6G/dGyM52w= MIME-Version: 1.0 Received: by 10.216.180.70 with SMTP id i48mr261741wem.16.1322655506431; Wed, 30 Nov 2011 04:18:26 -0800 (PST) Received: by 10.216.161.84 with HTTP; Wed, 30 Nov 2011 04:18:25 -0800 (PST) In-Reply-To: References: Date: Wed, 30 Nov 2011 14:18:25 +0200 Message-ID: From: Alexander Kapshuk To: Edgar Rodolfo Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions Subject: Re: 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 12:18:28 -0000 you may want to define the PACKAGESITE variable in the .cshrc file in your $HOME; On Wed, Nov 30, 2011 at 1:27 PM, Edgar Rodolfo wrote: > 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >