Date: Tue, 2 Dec 2008 09:28:44 +0100 From: Mel <fbsd.questions@rachie.is-a-geek.net> To: freebsd-questions@freebsd.org Cc: Beech Rintoul <beech@freebsd.org>, Javier Vasquez <jevv.cr@gmail.com> Subject: Re: [freebsd-questions] Looking @ upgrades mechanisms... Message-ID: <200812020928.46110.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200812012304.56334.beech@freebsd.org> References: <c88cc5730812012241i6ea540uc8a56f40c3d8237e@mail.gmail.com> <c88cc5730812012243j7a26d58bkec5cdb5fef799907@mail.gmail.com> <200812012304.56334.beech@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 02 December 2008 09:04:56 Beech Rintoul wrote: > On Monday 01 December 2008 21:43:08 Javier Vasquez wrote: > > On 12/2/08, Javier Vasquez <jevv.cr@gmail.com> wrote: > > > Hi, > > > > > > I was reading chapter 4 of the handbook, as well as chapters 24 and > > > 26... If I got it clear, I pretty much might get the base system > > > updated by using freebsd-update script. Ports collection can get > > > updated with portsnap, but that doesn't update neither the installed > > > ports, nor the installed packages. To upgrade the installed ports, > > > portmanager or portmaster or portupgrade can be used... However only > > > portupgrade can be used to upgrade packages, right? > > Not sure about the others, I use portupgrade myself. But yes, you can > update packages with portupgrade. > > > > Now, can something like "portupgrade -a -PP" to upgrade all packages > > > without building a thing (might be that some don't get updated due to > > > the lack of binary package yet, and in such case would dependencies be > > > managed right)? > > Not sure what you mean by managed, but if there's no package there would be > no dependent ports downloaded. If you do a portupgrade -aP (single "P") it > will go look for a package then compile it if it's not available. Compiling > really isn't that bad even on an 800MHz box. Portupgrade -PP is detrimental for bandwidth. It's not really portupgrade's fault (well, partially, it shouldn't offer the feature), because it will quite often download Latest/foo.tbz, unpack it entirely and then say "oops, I downloaded this useless package which is older or equal to what you have installed". When i started writing my own tools I quickly realized that the buildserver needs an index of the /packages/ it has. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812020928.46110.fbsd.questions>