From owner-freebsd-questions Thu Jan 31 15:23:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.mango-bay.com (mail.mango-bay.com [208.206.15.12]) by hub.freebsd.org (Postfix) with ESMTP id 573D137B402 for ; Thu, 31 Jan 2002 15:22:50 -0800 (PST) Received: from barbish ([63.70.155.104]) by mail.mango-bay.com (Post.Office MTA v3.5.3 release 223 ID# 0-52377U2500L250S0V35) with SMTP id com; Thu, 31 Jan 2002 18:26:22 -0500 From: "Joe & Fhe Barbish" To: "Dan Nelson" Cc: "FBSD" Subject: RE: Change default ftp site for pkg_add Date: Thu, 31 Jan 2002 18:22:46 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020131231705.GC39396@dan.emsphone.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jan 31), Joe & Fhe Barbish said: > Dan wrote: > > In the last episode (Jan 31), Joe & Fhe Barbish said: > > > How do I tell pkg_add to use a different default ftp site. > > > > man pkg_add, in the ENVIRONMENT section. > > I do not see anything in man page environment section > that talks about changing the default ftp location. > I read the man page first before posting question and > I have reread it and I still see nothing about ftp location. Please don't top post. From the pkg_add manpage, ENVIRONMENT section: The environment variable PACKAGEROOT specifies an alternate location for pkg_add to fetch from. The fetch URL is built using this environment variable and the automatic directory logic that pkg_add uses when the -r option is invoked. An example setting would be "ftp://ftp3.FreeBSD.org". The environment variable PACKAGESITE specifies an alternate location for pkg_add to fetch from. This variable subverts the automatic directory logic that pkg_add uses when the -r option is invoked. Thus it should be a complete URL to the remote package file(s). -- Dan Nelson dnelson@allantgroup.com Hay MY man page for version 4.4 does not say that. I used man pkg_add. Did you do some other command? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message