Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

ports upgrade question 4.10 stable

 
   FreeBSD Hosting (Home) -> FreeBSD Handbook RSS
Next:  old way and new way still same error  
Author Message
Alexander J. Martinez

External


Since: Oct 17, 2004
Posts: 1



(Msg. 1) Posted: Sun Oct 17, 2004 3:43 am
Post subject: ports upgrade question 4.10 stable
Archived from groups: mailing>freebsd>questions (more info?)

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?

_______________________________________________
freebsd-questions DeleteThis @freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

 >> Stay informed about: ports upgrade question 4.10 stable 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
New Question - The depth of my unix ignorance is showing... I kept getting a glitch, probably from my bad install attempt. I wiped my HD and re-installed FreeBSD with what I have learned. I have configured my xserver and it seems to be working ok. I read the the FreeBS...

got one question - hi, I am interested to translate the content of freebsd handbook or the sit= e in my own language "Albanian" like many countries does..and I'm ready for= this...please can you tell me what to do and is it possible?=20=20 thank you! --=20..

vpn over ipsec question - Dear List. I try to configure vpn over ipsec between two FreeBSD (4.10PRERELEASE and 5.1.p17) gateways. My guidelines is from FreeBSD handbook, Tunelling is workfine with gifconfig command, i can ping each internal interface from both side gateway. Th...

simple boot question - Freebsd was installed on a disk on controller 0. But now the disk is on controller 1. Will it boot properly now if I choose controller 1 as the first boot device in the bios ? If no, what OS settings (eg. fstab??) do I need to change ? [FreeBSD..

drive access/printer question RESCINDED - Hello everyone: In my infinite wisdom, I managed to miss Chapter 16 of the FreeBSD Handbook. I should be able to manage with the information on drives presented there. Printer enabling was no problem. Thanks..
   FreeBSD Hosting (Home) -> FreeBSD Handbook All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]