Date: Mon, 9 Oct 2006 18:35:37 -0400 From: Gerard Seibert <gerard@seibercom.net> To: freebsd-questions@freebsd.org Subject: How-to maintain upgrade?? Message-ID: <200610091835.39042.gerard@seibercom.net> In-Reply-To: <20061009215309.GA43837@thought.org> References: <20061009215309.GA43837@thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <<whatever>> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610091835.39042.gerard>