Date: Sat, 16 Oct 2004 14:26:59 -0500 From: "Alexander J. Martinez" <ajm@stx.rr.com> To: freebsd-questions@freebsd.org Subject: ports upgrade question 4.10 stable Message-ID: <20041016142659.21402d32.ajm@stx.rr.com>
next in thread | raw e-mail | index | archive | help
I am a new FreeBSD user coming from Debian Linux. I think I have finally got the upgrading process done right. I just need to know if I am missing anything or have something configured wrong. I have gotten bits and pieces from this forum, FreeBSD handbook and the examples that came with this installation. The following is the supfile that I use with cvsup (no-gui) # start supfile # $FreeBSD: src/share/examples/cvsup/stable-supfile,v 1.19.2.6 # 2002/08/06 08:24:46 blackend Exp $ modified from the original file # above cvsup hosts listed at # http://www.freebsd.org/doc/handbook/mirrors.html. *default host=cvsup4.us.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=. *default delete use-rel-suffix *default compress # Main Ports Tree. ports-all # end supfile The following script is the one I use to upgrade the ports: # start of script file cd /usr/ports # # check and rebuild pkg database pkgdb -Fuvf # # run ports-all cvs cvsup -g -L 2 -r 5 /root/stable-ports-supfile echo "." echo "strike any key to continue" clear # # check and rebuild again the pkg db pkgdb -Fuvf # # get new list and check for insecure programs portaudit -aF > /root/portaudit_log.txt clear less /root/portaudit_log.txt # # not sure if this is needed...portmanager /usr/local/bin/portmanager -s > /root/portmanager_status_log.txt clear less /root/portmanager_status.txt clear # # check for any needed steps before updating less /usr/ports/UPDATING # clear echo "It is VERY important that you read all" echo "of the UPDATING file!" echo "." echo "If you ignore the contents of this file," echo "you may end up with a broken system..." echo "." echo "You have been warned" echo "." echo "If after reading the UPDATING file, you need" echo "to make any manual changes...Ctrl C to" echo "abort this script" echo "." echo "otherwise strike a key to do a portupgrade" read JUNK clear # # perform upgrade and generate a list of ports portupgrade -a -v -l /root/portupgrade_log.txt clear less /root/portupgrade_log.txt # # check and rebuild agian the pkg db pkgdb -Fuvf # end of script file -- - Windows users say they travel at the speed of sound - Linux users say they travel at the speed of light - FreeBSD users say...what's taking you guys so long?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041016142659.21402d32.ajm>