Date: Mon, 24 Jan 2005 21:52:59 -0800 (PST) From: saravanan ganapathy <sarav_gsa@yahoo.com> To: freebsd-questions@freebsd.org Cc: Kent Stewart <kstewart@owt.com> Subject: Re: port update problem - newbie Message-ID: <20050125055259.92945.qmail@web51704.mail.yahoo.com> In-Reply-To: <200501241142.54193.kstewart@owt.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Kent Stewart <kstewart@owt.com> wrote: > 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. I have some doubts in port upgrade 1) I think that if I upgrade a port, first the current package will be removed and then new package will be installed.Let us assume that I am running a web server and apache needs to be upgraded. In this case, if the current apache is removed and the new apache 'll be installed, then what abt my existing configuration? What abt the down time? 2) What is the best method to upgrade ports without any downtime for my live servers? 3) Even after upgraded my all ports, 'portaudit' says still problem with 'perl'.So what should I do? Please suggest me Sarav __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050125055259.92945.qmail>