Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2007 11:40:07 -0500
From:      Jerry McAllister <jerrymc@msu.edu>
To:        satimis <satimis@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Update and install new packages immediate after installation
Message-ID:  <20070219164007.GB1223@gizmo.acns.msu.edu>
In-Reply-To: <9041910.post@talk.nabble.com>
References:  <9041910.post@talk.nabble.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

> Hi folks,
> 
> FreeBSD-6.2-amd64
> 
> Just finished installing the captioned OS which is now working.  There is no
> major desktop running on the OS, such as KDE/Gnome/Xfce, as well as some
> other necessary applications.  I'll erase the OS soon to make another
> installation with new partitions arrangement.  On the 2nd round I'll also
> make the same installation.
> 
> Please advise after installation completed how to read on CVS on the website
> to fetch fresh ports and src tree that I need installing further packages
> and updating the system.  Also how to read about its package management and
> how to startup.  I expect first to update the system before doing any
> further installations and/or customizations. Pointers would be appreciated. 
> TIA

It is well documented in the handbook, but basically,

install cvsup from ports:   /usr/ports/net/cvsup

Then run the cvsup for source and ports.

Then do your buildworld, buildkernel and installkernel stuff
and reboot.  Clean up stuff and then do your installworld

Then do the mergemaster    --  if this a brand new install that might
                               might not be needed but won't hurt.

Now you can install all your other ports.   They were updated
when you ran the cvsup at the same time as the source if you put
both in your  cvsup control file  (supfile).   Just for clarity, I
name my supfiles after the version I CVSUP to.  SO for 6.2 I call 
it:   supfile62    and the contents are as follows.

One other thing,  You might want to do all the major operations
inside of a script session in order to capture messages in case
you need to go back and review them.   See  script(1)

The handbook should get you all else that you need.

////jerry

  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  

# $FreeBSD: src/share/examples/cvsup/standard-supfile,v 1.23.4.2.2.1 2006/05/06 07:41:03 scottl Exp $
#
#       cvsup standard-supfile
#
# If not running X, or invoking cvsup from a non-interactive script, then
# run it as follows:
#
#       cvsup -g -L 2 standard-supfile
#
#  eg do:   cvsup -g -L 2 supfile62
#
*default host=cvsup.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default tag=RELENG_6_2
*default release=cvs 
*default delete use-rel-suffix

*default compress

## Main Source Tree.
# The easiest way to get the main source tree is to use the "src-all"
# mega-collection.  It includes all of the individual "src-*" collections.
src-all

ports-all tag=.

doc-all tag=.

  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  --  

This supfile will be the same except for changing the '6_2' string
for other cvsups in the future.


> 
> B.R.
> satimis
> -- 
> View this message in context: http://www.nabble.com/Update-and-install-new-packages-immediate-after-installation-tf3252717.html#a9041910
> Sent from the freebsd-questions mailing list archive at Nabble.com.
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20070219164007.GB1223>