From owner-freebsd-questions@FreeBSD.ORG Tue Oct 10 04:38:35 2006 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 F22F816A403 for ; Tue, 10 Oct 2006 04:38:35 +0000 (UTC) (envelope-from kline@sage.thought.org) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4743443D45 for ; Tue, 10 Oct 2006 04:38:35 +0000 (GMT) (envelope-from kline@sage.thought.org) Received: from sage.thought.org (kline@localhost [127.0.0.1]) by sage.thought.org (8.13.6/8.12.10) with ESMTP id k9A4cXGa047116; Mon, 9 Oct 2006 21:38:33 -0700 (PDT) (envelope-from kline@sage.thought.org) Received: (from kline@localhost) by sage.thought.org (8.13.6/8.13.1/Submit) id k9A4cX74047115; Mon, 9 Oct 2006 21:38:33 -0700 (PDT) (envelope-from kline) Date: Mon, 9 Oct 2006 21:38:33 -0700 From: Gary Kline To: Gerard Seibert Message-ID: <20061010043832.GA46810@thought.org> References: <20061009215309.GA43837@thought.org> <200610091835.39042.gerard@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200610091835.39042.gerard@seibercom.net> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-questions@freebsd.org Subject: Re: How-to maintain upgrade?? 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: Tue, 10 Oct 2006 04:38:36 -0000 On Mon, Oct 09, 2006 at 06:35:37PM -0400, Gerard Seibert wrote: > On Monday 09 October 2006 17:53, Gary Kline wrote: > > > I kind of do the same thing on a weekly basis. I created a shell script that > runs the following: > > cd /usr/ports/distfiles # Change to ports distfile directory > rm -rdf * # Clean it out Why, exactly, you remove the distfiles? (I'm thnking of times when I haven't moved the hard-to-retrieve files [JAVA, e.g] to my other FBSD servers.) Is there something lurking there than might muck up builds?? > /usr/local/sbin/portsclean -CDLP # make sure the ports are clean I do this after an upgrade. ---Wouldn't hurt here, tho. > /usr/sbin/portsnap cron # Run portsnap from CRON > /usr/sbin/portsnap update # Install new updated ports tree > /usr/local/bin/portmanager -u -l -y # Run portmanager to update the system > I've come to prefer p'manager to portupgrade; each run takes endless hours--at least three days. Do you know if there is a way to upgrade only the dependencies that need it?? I used -f and portmanager seemed to upgrade eerything. Yes, it may have been my imagination! > I only run this weekly. If something like Open Office needs to be updated > alone with KDE for instance, my system would not complete the process in 24 > hours. Updating the ports tree while running an updating utility like > portmanager or portupgrade is generally considered a bad thing. Thanks for your script ideas, gary > > -- > Gerard Seibert > gerard@seibercom.net > > And that's the way it is... > > Walter Cronkite -- Gary Kline kline@thought.org www.thought.org Public service Unix