From owner-freebsd-questions@FreeBSD.ORG Mon Oct 9 22:35:49 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 419AA16A403 for ; Mon, 9 Oct 2006 22:35:49 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.228]) by mx1.FreeBSD.org (Postfix) with ESMTP id A109543D46 for ; Mon, 9 Oct 2006 22:35:48 +0000 (GMT) (envelope-from gerard@seibercom.net) Received: by qb-out-0506.google.com with SMTP id a10so559108qbd for ; Mon, 09 Oct 2006 15:35:47 -0700 (PDT) Received: by 10.65.214.2 with SMTP id r2mr10473230qbq; Mon, 09 Oct 2006 15:35:47 -0700 (PDT) Received: from scorpio.seibercom.net ( [67.189.184.224]) by mx.google.com with ESMTP id f17sm3550161qba.2006.10.09.15.35.46; Mon, 09 Oct 2006 15:35:47 -0700 (PDT) Received: from scorpio.seibercom.net (localhost [127.0.0.1]) by scorpio.seibercom.net (Postfix) with ESMTP id 6B4EAB9FD for ; Mon, 9 Oct 2006 18:35:45 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: gerard@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTP id 50B3DB9F8 for ; Mon, 9 Oct 2006 18:35:44 -0400 (EDT) From: Gerard Seibert Organization: Seibercom.net To: freebsd-questions@freebsd.org Date: Mon, 9 Oct 2006 18:35:37 -0400 User-Agent: KMail/1.9.4 References: <20061009215309.GA43837@thought.org> In-Reply-To: <20061009215309.GA43837@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="nextPart4840483.mqNokuOfd6"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200610091835.39042.gerard@seibercom.net> X-Virus-Scanned: ClamAV using ClamSMTP Subject: 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: Mon, 09 Oct 2006 22:35:49 -0000 --nextPart4840483.mqNokuOfd6 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 09 October 2006 17:53, Gary Kline wrote: > =A0=A0=A0=A0=A0=A0=A0=A0Last night (08 Oct 06) pkgdb -Fv ran without erro= rs. =A0This after > =A0=A0=A0=A0=A0=A0=A0=A0five weeks of rebuilding. =A0And now, I still hav= en't install > =A0=A0=A0=A0=A0=A0=A0=A0gnome-lite; still waiting to get the ports upgrad= e issue > =A0=A0=A0=A0=A0=A0=A0=A0resolved. > > =A0=A0=A0=A0=A0=A0=A0=A0I do a ports cvsup nightly and would like to run,= say, > portupgrade utils nightly as well. =A0Among =A0the upgraders-elite on this > list, which is the best way to cron this. =A0Just a few (5, 6) years ago I > only bothered with this weekly, sending myself weekend reminders to > "upgrade". =A0 Now I want to put something into cron. Suggestions on using > port* and <> very welcome indeed! > > =A0=A0=A0=A0=A0=A0=A0=A0thanks up front, people, I kind of do the same thing on a weekly basis. I created a shell script tha= t=20 runs the following: cd /usr/ports/distfiles # Change to ports distfile directory rm -rdf * # Clean it out /usr/local/sbin/portsclean -CDLP # make sure the ports are clean /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 only run this weekly. If something like Open Office needs to be updated=20 alone with KDE for instance, my system would not complete the process in 24= =20 hours. Updating the ports tree while running an updating utility like=20 portmanager or portupgrade is generally considered a bad thing. =2D-=20 Gerard Seibert gerard@seibercom.net And that's the way it is... Walter Cronkite --nextPart4840483.mqNokuOfd6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFKs66s3R1WQUU6lgRAlWzAJ9nUyk8XsR95v2BPuMCwByu/sXbYwCglgnE kTodUkTGJNzGg501mmjQbCA= =QP3j -----END PGP SIGNATURE----- --nextPart4840483.mqNokuOfd6--