portupgrade stale dependencies

Andrew P. infofarmer at gmail.com
Mon Oct 17 23:07:55 PDT 2005


On 10/18/05, John DeStefano <john.destefano at gmail.com> wrote:
> On 10/15/05, Andrew P. <infofarmer at gmail.com> wrote:
> > 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 :-)
> >
>
> You're not kidding... between fixing these dependencies, trying to
> upgrade the ports, fixing more dependencies, upgrading ports, etc. ad
> nausem, I'm literally on my 9th straight day (obviously I don't mean
> 24/7... I have a day job and something of a life) of trying to get
> through this process.
>
> And all this just because I wanted to install mbstring (so phpMyadmin
> would stop barking about it), and I needed to perform some "simple
> updates" first...
>
> Any pointers, alternatives, etc., would be appreciated.
>
> BTW, I can no longer automatically update my ports list (I mean with
> 'portsdb -Uu' instead of fetching a premade index) due to a
> "chinese/acroread-chsfont failed" error.  I see via Google that this
> port was removed due to a "security vulnerability", but I don't know
> how to remove it from my system, and UPDATING doesn't seem to mention
> it.  Help?
>
> Thanks,
> ~John
>

Either cvsup or portsnap extract should remove it.


More information about the freebsd-questions mailing list