Date: Sun, 16 Oct 2005 06:08:43 -0400 From: Gerard Seibert <gerard@seibercom.net> To: freebsd-questions@freebsd.org Subject: Re[2]: portupgrade stale dependencies Message-ID: <20051016060205.0BD5.GERARD@seibercom.net> In-Reply-To: <cb5206420510151821u7f57301ej40baac1ee7bcc08@mail.gmail.com> References: <f2160e0d0510151746n28cdbb25s2150337c0c6f7cfc@mail.gmail.com> <cb5206420510151821u7f57301ej40baac1ee7bcc08@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, October 15, 2005 9:21:00 PM, "Andrew P." <infofarmer@gmail.c= om> Subject: Re: portupgrade stale dependencies Wrote these words of wisdom: > On 10/16/05, John DeStefano <john.destefano@gmail.com> wrote: > > I'm trying to use portupgrade to update my installed ports. I ran int= o > > trouble with dependencies with ImageMagick and xorg-libraries, and I = then > > followed the suggestion in UPDATING to delete XFree86 the imake-4 pac= kages, > > 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 > > >=20 > 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=C2=A2. --=20 Gerard Seibert gerard@seibercom.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051016060205.0BD5.GERARD>