From owner-freebsd-questions@FreeBSD.ORG Tue Dec 2 08:28:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 810A51065670 for ; Tue, 2 Dec 2008 08:28:51 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 56AD18FC0C for ; Tue, 2 Dec 2008 08:28:51 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 4B1C1AFC1C6; Mon, 1 Dec 2008 23:28:50 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org Date: Tue, 2 Dec 2008 09:28:44 +0100 User-Agent: KMail/1.9.7 References: <200812012304.56334.beech@freebsd.org> In-Reply-To: <200812012304.56334.beech@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812020928.46110.fbsd.questions@rachie.is-a-geek.net> Cc: Beech Rintoul , Javier Vasquez Subject: Re: [freebsd-questions] Looking @ upgrades mechanisms... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2008 08:28:51 -0000 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 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.