From owner-freebsd-questions@FreeBSD.ORG Fri Oct 28 09:09:56 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 51AFD16A420 for ; Fri, 28 Oct 2005 09:09:56 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from smtp1.suscom.net (smtp1.suscom.net [64.78.119.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id B748C43D46 for ; Fri, 28 Oct 2005 09:09:55 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: from localhost (smtp1 [127.0.0.1]) by smtp1.suscom.net (Postfix) with ESMTP id A3D66D825D for ; Fri, 28 Oct 2005 05:09:54 -0400 (EDT) Received: from smtp1.suscom.net ([127.0.0.1]) by localhost (smtp1 [127.0.0.1]) (amavisd-new, port 10024) with SMTP id 25370-05 for ; Fri, 28 Oct 2005 05:09:52 -0400 (EDT) Received: from seibercom.net (ip148.217.susc.suscom.net [216.45.217.148]) by smtp1.suscom.net (Postfix) with SMTP id 641BED825B for ; Fri, 28 Oct 2005 05:09: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 j9S99pRp000725 for ; Fri, 28 Oct 2005 05:09:51 -0400 (EDT) (envelope-from gerard@seibercom.net) Date: Fri, 28 Oct 2005 05:09:52 -0400 From: Gerard Seibert To: freebsd-questions@freebsd.org Sender: gerard@seibercom.net Organization: Seibercom.net In-Reply-To: References: <200510271904.17908.ringworm01@gmail.com> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20051028050719.D60E.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 .250 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: Fri, 28 Oct 2005 09:09:56 -0000 On Friday, October 28, 2005 3:25:14 AM, "Andrew P." Subject: Re: portupgrade stale dependencies Wrote these words of wisdom: > On 10/28/05, Michael C. Shultz wrote: > > On Thursday 27 October 2005 18:49, Eric F Crist wrote: > > > On Oct 27, 2005, at 8:32 PM, John DeStefano wrote: > > > > On 10/27/05, Andrew P. wrote: > > > >> On 10/27/05, John DeStefano wrote: > > > >>> After clearing out the ports, updating ports (with portsnap) an= d > > > >>> source, and rebuilding the system and kernel... it seemed the > > > >>> ultimate > > > >>> problem was actually a dependency of the package to apache1.3. > > > >>> After I > > > >>> ran 'pkgdb -F' and "fixed" this dependency to point to apache2.= 1, > > > >>> but > > > >>> I still had trouble installing ports. > > > > > > At this point, what usually works for me is to: > > > > > > #cd /usr && rm -rf ./ports > > > > > > #mkdir ./ports && cvsup /root/ports-supfile > > > > > > The above will delete your ENTIRE ports tree, provided it's kept in= / > > > usr/ports and as long as you use cvsup (and your ports supfile is / > > > root/ports-supfile as mine is). When a whole bunch of ports stop > > > working, I find this is the easiest thing to do. > > > > > > The other thing I do is run a cron job every week that updates, via > > > cvsup, the ports tree. About once a year I perform the above, most= ly > > > to clean out the crap. Re-downloading your entire ports tree will = be > > > quicker if you don't use the ports-all tag and actually define whic= h > > > port segments you are interested in. For example, there's no real > > > reason to download all the x11/kde/gnome crap if you're doing this = on > > > a headless server that isn't going to serve X. > > > > > > HTH > > > > Replacing /usr/ports won't fix his problems, they reside in /var/db/p= kg. > > I may be a bit biased but I reaaly think John D. should try running > > portmanager -u (ports/sysutils/portmanager). Stale dependencies is a= non > > issue for portmanager. > > > > -Mike > > > I don't think that stale dependencies are an issue for > portupgrade as well, just add "-O" to the command- > line. ***** REPLY SEPARATOR ***** On 10/11/2005 5:29:42 PM, Gerard Replied: Personally, I feel that portmanager does a much better job of updating without the problems that seem to crop up so often using portupgrade. Just my 2=C2=A2. --=20 A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?