portupgrade stale dependencies

Gerard Seibert gerard at seibercom.net
Sun Oct 16 03:08:50 PDT 2005


On Saturday, October 15, 2005 9:21:00 PM, "Andrew P." <infofarmer at gmail.com>
Subject: Re: portupgrade stale dependencies
Wrote these words of wisdom:

> On 10/16/05, John DeStefano <john.destefano at gmail.com> wrote:
> > I'm trying to use portupgrade to update my installed ports. I ran into
> > trouble with dependencies with ImageMagick and xorg-libraries, and I then
> > followed the suggestion in UPDATING to delete XFree86 the imake-4 packages,
> > and install the full xorg port.
> >
> > After all that, I got more dependency errors:
> > 'Stale dependency: aalib-1.4.r5_1 --> imake-4.3.0_1 -- manually run 'pkgdb
> > -F' to fix, or specify -O to force.'
> >
> > 'pkgdb -O' returned an invalid option error, and 'pkgdb -o aalib-1.4.r5_1'
> > returned 'graphics/aalib'. I then ran 'pkgdb -F' to try and fix this (and
> > many, many other) stale dependencies, but the error I got when trying to run
> > portupgrade afterward simply changed the stale dependency error to '
> > aalib-1.4.r5_1 --> XFree86-libraries-4.3.0_6'.
> >
> > How does one get around these dependency errors without destroying a system?
> > Any good resources on dealing with this? I keep reading that I should just
> > run 'pkgdb -F' but that only gets one so far.
> >
> > Thanks,
> > ~John
> >
> 
> If you don't have a whole free week, consider
> deinstalling every port on your system (with
> pkg_deinstall preferably), installing cvsup,
> updating your ports tree, installing portupgrade,
> and portinstalling all the ports you really need.
> That should only take a couple of days :-)


***** REPLY SEPARATOR *****
On 10/11/2005 5:29:42 PM, Gerard Replied:

I certainly hope that this is not a production machine. Taking the
system out of service for a few days would certainly suck.

Personally, I have run into this dependency problem before, and have
just learned to ignore it. Eventually, it just seems to go away. Since I
started using portmanager instead of portupgrade, I have been able to
just ignore these problems.

IMHO, this entire dependency problem is something that needs serious
work. It would seem that there has to be a better way to keep these
dependencies synchronized without user intervention.

Just my 2¢.

-- 
Gerard Seibert
gerard at seibercom.net


More information about the freebsd-questions mailing list