Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Mar 2005 20:44:39 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        "N.J. Thomas" <njt@ayvali.org>
Cc:        questions@freebsd.org
Subject:   Re: greetings from FreeBSD DLL Hell!
Message-ID:  <42421B87.5000509@mac.com>
In-Reply-To: <20050324011607.GA1199@ayvali.org>
References:  <20050324011607.GA1199@ayvali.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42421B87.5000509>