From owner-freebsd-questions@FreeBSD.ORG Sat Oct 16 19:43:29 2004 Return-Path: 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 B137716A4CE for ; Sat, 16 Oct 2004 19:43:29 +0000 (GMT) Received: from ms-smtp-05-eri0.texas.rr.com (ms-smtp-05.texas.rr.com [24.93.47.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id F261643D48 for ; Sat, 16 Oct 2004 19:43:28 +0000 (GMT) (envelope-from ajm@stx.rr.com) Received: from ajmfreebsd.localhost (cpe-24-170-88-20.stx.rr.com [24.170.88.20])i9GJhQPa015988 for ; Sat, 16 Oct 2004 14:43:27 -0500 (CDT) Date: Sat, 16 Oct 2004 14:26:59 -0500 From: "Alexander J. Martinez" To: freebsd-questions@freebsd.org Message-Id: <20041016142659.21402d32.ajm@stx.rr.com> X-Mailer: Sylpheed version 0.9.12-gtk2-20040918 (GTK+ 2.4.9; i386-portbld-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine Subject: ports upgrade question 4.10 stable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Oct 2004 19:43:29 -0000 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?