From owner-freebsd-questions@FreeBSD.ORG Sun Oct 16 10:08:50 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FB7416A41F for ; Sun, 16 Oct 2005 10:08:50 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from smtp2.suscom.net (smtp2.suscom.net [64.78.83.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF7F043D46 for ; Sun, 16 Oct 2005 10:08:49 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from localhost (smtp2.suscom.net [127.0.0.1]) by smtp2.suscom.net (Postfix) with ESMTP id 1DD221CDD60 for ; Sun, 16 Oct 2005 05:56:58 -0400 (EDT) Received: from smtp2.suscom.net ([127.0.0.1]) by localhost (smtp2 [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 06159-08 for ; Sun, 16 Oct 2005 05:56:52 -0400 (EDT) Received: from seibercom.net (ip148.217.susc.suscom.net [216.45.217.148]) by smtp2.suscom.net (Postfix) with SMTP id 986A61CDD0E for ; Sun, 16 Oct 2005 05:56:52 -0400 (EDT) Received: from [192.168.0.2] (//gerard [192.168.0.2]) by seibercom.net (8.13.4/8.13.4) with ESMTP id j9GA8fkK048284 for ; Sun, 16 Oct 2005 06:08:42 -0400 (EDT) (envelope-from gerard@seibercom.net) Date: Sun, 16 Oct 2005 06:08:43 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Sender: gerard@seibercom.net Organization: Seibercom.net In-Reply-To: References: Message-Id: <20051016060205.0BD5.GERARD@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Mailer: Becky! ver. 2.22.02 [en] Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at suscom.net Subject: Re[2]: portupgrade stale dependencies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2005 10:08:50 -0000 On Saturday, October 15, 2005 9:21:00 PM, "Andrew P." Subject: Re: portupgrade stale dependencies Wrote these words of wisdom: > On 10/16/05, John DeStefano 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