From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 06:22:04 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6F6A16A4B3 for ; Tue, 21 Oct 2003 06:22:04 -0700 (PDT) Received: from falcon.midgard.homeip.net (h76n3fls24o1048.bredband.comhem.se [213.67.148.76]) by mx1.FreeBSD.org (Postfix) with SMTP id 67FD343F93 for ; Tue, 21 Oct 2003 06:22:02 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: (qmail 58005 invoked by uid 1001); 21 Oct 2003 13:22:00 -0000 Date: Tue, 21 Oct 2003 15:22:00 +0200 From: Erik Trulsson To: Dinesh Nadarajah Message-ID: <20031021132159.GA57958@falcon.midgard.homeip.net> Mail-Followup-To: Dinesh Nadarajah , freebsd-questions@freebsd.org References: <20031021122742.4495.qmail@web80403.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031021122742.4495.qmail@web80403.mail.yahoo.com> User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: Where is the config file? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2003 13:22:04 -0000 On Tue, Oct 21, 2003 at 05:27:42AM -0700, Dinesh Nadarajah wrote: > I would like to know where pkg_add keeps its configuration file? I mean > when I execute the command 'pkg_add -r bzip2' how does it know that it > needs to fetch it from ftp://ftp.freebsd.org/...../packages-4-stable/ > as opposed to packages-4-current? There isn't any configuration file. pkg_add determines the directory name to be used from the version of FreeBSD that is is running under. > > Also, along the same note, I searched through the handbook but could > not find any information on how to convert a 4-STABLE to a 4-CURRENT. I > want to only use CURRENT software not update my kernel to CURRENT. Is > this possible? Since 4-STABLE is newer than 4-CURRENT, I don't see why you would want to do that. 4-CURRENT was the name used to refer to the development branch of FreeBSD after the 3.x branch had been created and before 4.0-RELEASE had been made. After 4.0-RELEASE had been made the development branch was called 5-CURRENT. 4-STABLE is the branch that all the 4.x releases come from. > > If pkg_add -r is provided a URL to a CURRENT directory, would it fetch > all dependencies from the same directory or would it revert to its > configured URL to fetch the dependencies? > > Thanks in advance. If you want to override where pkg_add fetches packages from you can set the PACKAGEROOT and PACKAGESITE environment variables to appropriate values as described in the pkg_add(1) manpage. -- Erik Trulsson ertr1013@student.uu.se