Skip site navigation (1)Skip section navigation (2)
Date:      20 Oct 2003 09:46:51 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        carmoda <freebsd.org@carmoda.com>, freebsd-questions@freebsd.org
Subject:   Re: errors with dependant packages while installing ports.
Message-ID:  <44znfwhvhw.fsf@be-well.ilk.org>
In-Reply-To: <20031020133402.GA9712@happy-idiot-talk.infracaninophile.co.uk>
References:  <3F946A80.3050208@carmoda.com> <20031020133402.GA9712@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman <m.seaman@infracaninophile.co.uk> writes:

> On Mon, Oct 20, 2003 at 11:06:40PM +0000, carmoda wrote:
> 
> > I seem to get failures just about every time i try to install anything:
> > 
> > in particular errors with dependant packages:
> > 
> > "An older version of whatever/whatever is already installed..."
> > 
> > now, on attempts to update any of these dependancy packages i break my 
> > system... so. do i just accept i cannot update or run certain things, or 
> > is there some trick t this i am missing...?
> > 
> > please 'CC' me as i am on digest mode...
> 
> This is the main problem that portupgrade(1) solves: package
> dependency ordering.

*Most* of the time, just building from ports instead of installing
from packages solves this particular case of the dependency problem.

If the new program really *requires* an updated version of the
dependency (as opposed to the packages case, where it's linked against
that version but could -- typically -- just as easily have been linked
against an older version), then you need to update the dependency, and
everything else that's dependent on it.  This is where portupgrade
really saves you an awful lot of (tedious) effort.

Telling the two cases apart can be a bit tricky for non-programmers,
but building the port will usually tell you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44znfwhvhw.fsf>