Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2005 11:42:53 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        freebsd-questions@freebsd.org
Cc:        saravanan ganapathy <sarav_gsa@yahoo.com>
Subject:   Re: port update problem - newbie
Message-ID:  <200501241142.54193.kstewart@owt.com>
In-Reply-To: <20050124131123.34751.qmail@web51701.mail.yahoo.com>
References:  <20050124131123.34751.qmail@web51701.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 24 January 2005 05:11 am, saravanan ganapathy wrote:
> --- Tabor Kelly
>
> <tkelly-freebsd-questions@taborandtashell.net> wrote:
> > saravanan ganapathy wrote:
> >
> > <snip>
> >
> > > --- Erik Norgaard <norgaard@locolomo.org> wrote:
> > > Since I am very new to freebsd, I am not sure abt
> >
> > the
> >
> > > ports collections which I don't want.
> >
> > Since you are new, I will give you some (ports)
> > advice:
> >
> > 1. Always update all of your ports so that you can
> > use portupgrade.
> > 2. Use portupgrade.
> > 3. Read /usr/ports/UPDATING if you want things to go
> > smoothly.
> > 4. If you forget step 3, and step 3 happens to have
> > some bad news in it
> > (usually pertaining to gettext), 'portupgrade -rRf
> > [some port]' can work
> > wonders.
> > 5. Don't forget to do a 'portsdb -uU' after
> > cvsup'ing your ports.
> >
> > My quick start to portupgrade:
>
> http://tabor.taborandtashell.net/serversetup/ports.html
>
> > Where I learned about portupgrade:
>
> http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html
>
>
> The above link was very useful to me and I 've learnt
> the portupgrade procedure.
>
> I am also looking for package management. I know that
> a package can be installed using 'pkg_add -r
> sendmail'. But how to keep update these packages like
> ports?
>
> I need to choose either ports or packages.

Why? Either is an appropriate method of updating. Maintaining the ports 
using something like portupgrade is frequently faster because you can 
update the port as soon as it is changed. With a package, you have to 
wait until the package has been built and moved to the mirrors. If a 
package is available, you save a lot of cpu usage on slow machines. In 
order to use current versions, both require maintaining an uptodate 
port structure. You just have to determine which method is an optimum 
for your usage.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501241142.54193.kstewart>