From owner-freebsd-questions@FreeBSD.ORG Thu Mar 24 01:42:46 2005 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 076E116A4CE for ; Thu, 24 Mar 2005 01:42:45 +0000 (GMT) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id A14BE43D55 for ; Thu, 24 Mar 2005 01:42:44 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 2A2A65DEC; Wed, 23 Mar 2005 20:42:44 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 77925-06; Wed, 23 Mar 2005 20:42:43 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-53-96.ny325.east.verizon.net [68.161.53.96]) by pi.codefab.com (Postfix) with ESMTP id 085005DC9; Wed, 23 Mar 2005 20:42:42 -0500 (EST) Message-ID: <42421B87.5000509@mac.com> Date: Wed, 23 Mar 2005 20:44:39 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "N.J. Thomas" References: <20050324011607.GA1199@ayvali.org> In-Reply-To: <20050324011607.GA1199@ayvali.org> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com cc: questions@freebsd.org Subject: Re: greetings from FreeBSD DLL Hell! 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: Thu, 24 Mar 2005 01:42:46 -0000 N.J. Thomas wrote: > I installed FreeBSD 5.3-RELEASE and was installing packages via "pkg_add > -r foo". This worked, but it went and downloaded older versions of > various programs (i.e. Mozilla Firefox 0.9). How can I tell pkg_add to > use the "5-latest" (5-STABLE? RELENG_5_3?) branch? Do I have to update > my sources before I can do this? You do not have to update the FreeBSD sources to use the latest version of tha ports, no. However, you do need to update the ports tree itself: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html See section 4.5 in particular, using cvsup, although it sounds like you've already done some of this.... > So after I installed 5.3 yesterday I installed some packages with > pkg_add -r (which used the 5.3-RELEASE versions of the software), and > then installed some other stuff with ports, and then updated ports with > cvsup and then installed yet some more stuff, and now I seem to find > myself in the FreeBSD equivalent of "DLL Hell". Should I just blow my > system away and start from scratch? Is that the best course of action to > take at this point? Oh, goodness no-- almost anything that goes wrong with a system can be fixed without reinstalling. The key is to solve the problem the right way. :-) Try installing sysutils/portupgrade, and run "portupgrade -ai" to begin with. That will likely solve many of your issues, although if you have some of the more complicated ports installed (think Perl, KDE, GNOME), consult /usr/ports/UPDATING for additional help and suggestions. -- -Chuck PS: Another choice besides portupgrade is sysutils/portmanager; it uses a different approach to dealing with dependencies that may involve compiling more stuff, but also seems to be little more robust in the face of complex dependency changes...