From owner-freebsd-questions@FreeBSD.ORG Mon Jan 24 19:42:57 2005 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 5E36216A4CE for ; Mon, 24 Jan 2005 19:42:57 +0000 (GMT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFF3F43D2D for ; Mon, 24 Jan 2005 19:42:56 +0000 (GMT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id j0OJgnRM024135; Mon, 24 Jan 2005 11:42:49 -0800 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Mon, 24 Jan 2005 11:42:53 -0800 User-Agent: KMail/1.7.2 References: <20050124131123.34751.qmail@web51701.mail.yahoo.com> In-Reply-To: <20050124131123.34751.qmail@web51701.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501241142.54193.kstewart@owt.com> cc: saravanan ganapathy Subject: Re: port update problem - newbie 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: Mon, 24 Jan 2005 19:42:57 -0000 On Monday 24 January 2005 05:11 am, saravanan ganapathy wrote: > --- Tabor Kelly > > wrote: > > saravanan ganapathy wrote: > > > > > > > > > --- Erik Norgaard 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