From owner-freebsd-questions@FreeBSD.ORG Wed Nov 30 16:58:13 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 6355A1065688 for ; Wed, 30 Nov 2011 16:58:13 +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 F10278FC1B for ; Wed, 30 Nov 2011 16:58:12 +0000 (UTC) Received: by eaai12 with SMTP id i12so1341344eaa.13 for ; Wed, 30 Nov 2011 08:58:12 -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 :content-type; bh=+EnPiJR/ixkpe2igjhaj973GPg2g8bqBAXiO5vWZ53w=; b=FZ2YPiZ5iBb4C1MtmBqlwNJBAdb9PW49RueanAU6GABJqK5RECfvDofz1UAG2hJLaR /nWqqKfWnTzyJmtxXW5pERFguSr+txd+Ec6ctRFSSjjtYcHBBjffTTlPjZiJNG9occmV PJc2n4kePSdpHXPnTI6kQw1xGUfaLS1Nm9aIM= MIME-Version: 1.0 Received: by 10.227.206.82 with SMTP id ft18mr1272625wbb.21.1322672291831; Wed, 30 Nov 2011 08:58:11 -0800 (PST) Received: by 10.216.202.147 with HTTP; Wed, 30 Nov 2011 08:58:11 -0800 (PST) In-Reply-To: References: Date: Wed, 30 Nov 2011 11:58:11 -0500 Message-ID: From: Edgar Rodolfo To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 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 16:58:13 -0000 2011/11/30, Alexander Kapshuk : > you may want to define the PACKAGESITE variable in the .cshrc file in your > $HOME; > Thank. this is correct: echo 'setenv PACKAGESITE "ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages..../Latest/"' >> /root/.cshrc > > 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" >> > -- Edguitar ;) http://cybernautape.blogspot.com