LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 02-10-2005, 05:58 PM   #1
systemamfry
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
Best whay to update system...


I am new to FreeBSD and have installed version 5.3 on my Dell Inspiron 8600 Laptop. My question is how would I best accomplish these update tasks and what would the corresponding config file look like?

Update all source files

Update only my currently installed packages / ports

Update all english documentation



Thanks for any input.
 
Old 02-11-2005, 01:16 AM   #2
Marble
Member
 
Registered: Feb 2003
Distribution: FreeBSD 5.2
Posts: 113

Rep: Reputation: 15
Re: Best whay to update system...

Quote:
Originally posted by systemamfry
I am new to FreeBSD and have installed version 5.3 on my Dell Inspiron 8600 Laptop. My question is how would I best accomplish these update tasks and what would the corresponding config file look like?

Update all source files

Update only my currently installed packages / ports

Update all english documentation



Thanks for any input.
cvsup Read up on cvsup. But basically you go to /usr/src/share/examples/cvsup copy standard-supfile AND ports-supfile to a good location, like /root/cvsup/ reason is if you edit the file examples in the default directories they will be gone the next time you update your src...

cvsup -g -L 2 /path/to/supfile

notes: for source, change the tag line to tag=RELENG_5_3 for 5.3 release with security updates. Leave tag=. in the ports supfile as you want it to be up-to-date...

If you change the hostname to a proper FreeBSD cvsup server you will have no problems running cvsup. Note: keep ports and src seperate and just update all. Using a refuse file or refusing certain ports will break the tree and cause issues.

Once you update your ports tree this is what I do:

cd /usr/ports
make fetchindex
portsdb -u

... either run ....pkg_version -v | grep -i "<" to see a list of what ports need updating and update them individually #OR#
portupgrade -arR
pkgdb -F


This should get you started. I have it all in a script so I just execute a command: sh update.sh and it does its thing...

If you need to update the src and recompile the kernel, then that is another story, but I gave you the method to update the src tree...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Online Update, System Update, WTF? Crito SUSE / openSUSE 6 05-11-2006 01:43 PM
Help, I can't update my system LinuxSeeker Mandriva 5 04-24-2004 06:06 AM
Can't update my system LinuxSeeker Linux - General 1 03-07-2004 09:59 AM
Whay Redhat 9 installation did not pick up the onboard NIC dhsieh Linux - Hardware 3 10-07-2003 01:37 PM
System update J_Szucs *BSD 4 12-20-2002 11:00 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 05:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration