From owner-freebsd-questions@FreeBSD.ORG Fri Oct 28 01:51:13 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 2C8DE16A41F for ; Fri, 28 Oct 2005 01:51:13 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from grog.secure-computing.net (grog.secure-computing.net [216.243.161.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F90B43D60 for ; Fri, 28 Oct 2005 01:51:08 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from [192.168.1.50] (snipe.secure-computing.net [216.243.161.77]) (authenticated bits=0) by grog.secure-computing.net (8.13.1/8.13.1) with ESMTP id j9S1pCho047387 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT); Thu, 27 Oct 2005 20:51:13 -0500 (CDT) (envelope-from ecrist@secure-computing.net) DomainKey-Signature: a=rsa-sha1; s=grog; d=secure-computing.net; c=nofws; q=dns; h=in-reply-to:references:mime-version:content-type:message-id:cc: content-transfer-encoding:from:subject:date:to:x-mailer:x-spam-status:x-spam-checker-version; b=dE2TkRKYiiXVgNxoQ/cNIbapZ6fr5yaUqzuuqqrstp9xYqC2q//5+ALmPvlfcf17X aYL8ALufvweXimmZxGIkw== In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <0E2AAC01-B12D-4A7A-A986-B7A57DDDEDFF@secure-computing.net> Content-Transfer-Encoding: 7bit From: Eric F Crist Date: Thu, 27 Oct 2005 20:49:43 -0500 To: John DeStefano X-Mailer: Apple Mail (2.734) X-Spam-Status: No, score=-4.6 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on grog.secure-computing.net Cc: freebsd-questions@freebsd.org Subject: Re: portupgrade stale dependencies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 01:51:13 -0000 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) and >>> 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, mostly 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 which 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 _______________________________________________________ Eric F Crist "I am so smart, S.M.R.T!" Secure Computing Networks -Homer J Simpson