On Monday 09 October 2006 17:53, Gary Kline wrote: > Last night (08 Oct 06) pkgdb -Fv ran without errors. This after > five weeks of rebuilding. And now, I still haven't install > gnome-lite; still waiting to get the ports upgrade issue > resolved. > > I do a ports cvsup nightly and would like to run, say, > portupgrade utils nightly as well. Among the upgraders-elite on this > list, which is the best way to cron this. Just a few (5, 6) years ago I > only bothered with this weekly, sending myself weekend reminders to > "upgrade". Now I want to put something into cron. Suggestions on using > port* and <<whatever>> very welcome indeed! > > thanks up front, people,
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 /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 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. -- Gerard Seibert [EMAIL PROTECTED] And that's the way it is... Walter Cronkite
pgpa1C9pb7KzQ.pgp
Description: PGP signature