From owner-freebsd-questions@FreeBSD.ORG Tue Sep 4 14:40:35 2007 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 2BD2816A417 for ; Tue, 4 Sep 2007 14:40:35 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.freebsd.org (Postfix) with ESMTP id E6ADD13C442 for ; Tue, 4 Sep 2007 14:40:32 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.1/8.14.1) id l84EeRRr096332; Tue, 4 Sep 2007 09:40:27 -0500 (CDT) (envelope-from dan) Date: Tue, 4 Sep 2007 09:40:27 -0500 From: Dan Nelson To: Kris Kennaway Message-ID: <20070904144027.GA3547@dan.emsphone.com> References: <46DCCC2C.7030402@greywether.com> <46DD1AF6.20900@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46DD1AF6.20900@FreeBSD.org> X-OS: FreeBSD 7.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Gary Affonso , freebsd-questions@freebsd.org Subject: Re: Philosophy of default "pkg_add -r" PACKAGESITE? 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: Tue, 04 Sep 2007 14:40:35 -0000 In the last episode (Sep 04), Kris Kennaway said: > Gary Affonso wrote: >> I'm curious, why does "pkg_add -r" point to the "release" snapshot >> of ports by default? Is the idea that a "release" is well-tested >> and that any deviation from that (even security or bug-fix changes) >> is an unknown that new users need to be shielded against when >> grabbing packages with "pkg_add -r"? Seems to me it would be better >> to have "pkg_add -r" point to stable (which, if I understand things >> correctly, does get updated packages). > > -release packages have gone through an extensive period of testing > with that release, so you have more confidence they will work. The > up-to-date packages may not work, may not even be present on the FTP > site, and in general are not suitable for users who just want a > working system without having to fiddle with it. > > i.e. defaulting to the packages that came with the release is a > conservative step that is appropriate for users who just want > packages that work, and don't care about always having the latest > versions. For the rest of you, you're going to be doing a lot more > hands on admin anyway, so setting one env variable is not a heavy > burden. Also, packages from the -stable directory may have different/conflicting dependencies compared to existing packages on your system. Imagine installing 6.2 before the x.org-7 update, then trying to "pkg_add -r" a package from the -stable directory that depends on an xorg-7 feature. pkg_add just isn't smart enough to realize that you really need to upgrade all of X, and will probably fail the install at some point. Ideally one would install 6.2 from a CD, select the packages they initially want, then pull an updated /usr/ports tree and update their system from that using their favorite tools from the ports/port-mgmt directory. -- Dan Nelson dnelson@allantgroup.com