From owner-freebsd-questions@FreeBSD.ORG Fri Oct 28 02:02:44 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 8538316A41F for ; Fri, 28 Oct 2005 02:02:43 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFE9F43D45 for ; Fri, 28 Oct 2005 02:02:42 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so347508nzk for ; Thu, 27 Oct 2005 19:02:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=lNRbwmR29oZP+GdltzK/3IQnTgVQtDijvu2jChNVm8DEb+goiyOhu1y1X5pqNh9Bylgfwkr6k/JmnDZUh8ksQSkmO5F1yp9TS4wuNiq8hw7gNBYTE9tRjrPEXO0soUK5fbt9Virv34Dq6fuC+uKgsmZ3eDnjrKy6qbViIEgQxYg= Received: by 10.36.109.12 with SMTP id h12mr2902758nzc; Thu, 27 Oct 2005 19:02:41 -0700 (PDT) Received: from ?192.168.1.10? ( [71.102.14.129]) by mx.gmail.com with ESMTP id p4sm1922224nzc.2005.10.27.19.02.40; Thu, 27 Oct 2005 19:02:41 -0700 (PDT) From: "Michael C. Shultz" To: freebsd-questions@freebsd.org Date: Thu, 27 Oct 2005 19:04:17 -0700 User-Agent: KMail/1.8.2 References: <0E2AAC01-B12D-4A7A-A986-B7A57DDDEDFF@secure-computing.net> In-Reply-To: <0E2AAC01-B12D-4A7A-A986-B7A57DDDEDFF@secure-computing.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510271904.17908.ringworm01@gmail.com> Cc: Eric F Crist , John DeStefano 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 02:02:44 -0000 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) 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 Replacing /usr/ports won't fix his problems, they reside in /var/db/pkg. 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