From owner-freebsd-questions@FreeBSD.ORG Tue Oct 10 09:50:27 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 A355E16A415 for ; Tue, 10 Oct 2006 09:50:27 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id C26AF43D69 for ; Tue, 10 Oct 2006 09:50:22 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: by py-out-1112.google.com with SMTP id o67so2576429pye for ; Tue, 10 Oct 2006 02:50:21 -0700 (PDT) Received: by 10.65.138.4 with SMTP id q4mr10920511qbn; Tue, 10 Oct 2006 02:50:20 -0700 (PDT) Received: from scorpio.seibercom.net ( [67.189.184.224]) by mx.google.com with ESMTP id f17sm142435qba.2006.10.10.02.50.20; Tue, 10 Oct 2006 02:50:20 -0700 (PDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) by scorpio.seibercom.net (Postfix) with ESMTP id 3D62DBA06; Tue, 10 Oct 2006 05:50:19 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: gerard@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTP id 81E7CB9F8; Tue, 10 Oct 2006 05:50:18 -0400 (EDT) From: Gerard Seibert Organization: Seibercom.net To: freebsd-questions@freebsd.org Date: Tue, 10 Oct 2006 05:50:00 -0400 User-Agent: KMail/1.9.4 References: <20061009215309.GA43837@thought.org> <200610091835.39042.gerard@seibercom.net> <20061010043832.GA46810@thought.org> In-Reply-To: <20061010043832.GA46810@thought.org> X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(=?utf-8?q?gxJxxc=0A=09RnSNPNr*/=5E=7EStawWU9KDJ-CT0k=24f=23?=@t2^K&BS_f|?ZV/.7Q MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1326180.eoWdEK3qGX"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200610100550.12323.gerard@seibercom.net> X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: How-to maintain upgrade?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gerard@seibercom.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Oct 2006 09:50:27 -0000 --nextPart1326180.eoWdEK3qGX Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 10 October 2006 00:38, Gary Kline wrote: > 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?? I just like to remove files that are neither needed or more than likely=20 outdated. No special reason other than that. I keep the files needed to=20 build JAVA in a separate directory and copy them to the distfiles directory= =20 when required. It is pretty much up to the end user how they want to=20 maintain their ports system I suppose. > > /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! Portmanager -f will rebuild the system. I would only do that if it was=20 absolutely necessary. The normal: portmanager -u -l -y will only update out= =20 of date items, create a log file and gives portmanager permission to handle= =20 moved items. > > > 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 =2D-=20 Gerard Seibert gerard@seibercom.net Whistler's mother is off her rocker. --nextPart1326180.eoWdEK3qGX Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFK2zUs3R1WQUU6lgRAnFTAJ4h7xuQxT06nwnVi03IUVf1rQ9lLQCbBRcs u/FuDLxMosB3vO/q0fRCinY= =2GXg -----END PGP SIGNATURE----- --nextPart1326180.eoWdEK3qGX--