From owner-freebsd-questions@FreeBSD.ORG Tue Jun 23 21:39:14 2009 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 9A1CA106564A for ; Tue, 23 Jun 2009 21:39:14 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from april.london.02.net (april.london.02.net [87.194.255.143]) by mx1.freebsd.org (Postfix) with ESMTP id 3983C8FC13 for ; Tue, 23 Jun 2009 21:39:14 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from [192.168.1.76] (93.97.24.219) by april.london.02.net (8.5.016.1) id 4A23ECF80171E22F for freebsd-questions@freebsd.org; Tue, 23 Jun 2009 22:39:13 +0100 Message-ID: <4A414B80.2040600@onetel.com> Date: Tue, 23 Jun 2009 22:39:12 +0100 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.21 (X11/20090321) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200906212038.39370.meslists@yahoo.fr> <4A3FE271.8080201@onetel.com> <20090622161115.42506d67@scorpio.seibercom.net> In-Reply-To: <20090622161115.42506d67@scorpio.seibercom.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: upgrading installed ports: time to do it ? 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, 23 Jun 2009 21:39:14 -0000 Jerry wrote: > On Mon, 22 Jun 2009 20:58:41 +0100 > Chris Whitehouse wrote: > >> I'll probably get flamed for this but since I've been using >> ports-mgmt/portmanager I've almost forgotten >> about /usr/ports/UPDATING and all that pkgdb -Fu stuff or whatever it >> was. I've upgraded ports just by doing 'portmanager -u' over one or >> two quite major changes and not had any problems that haven't been >> down to an individual ports. >> >> I've never seen any reasons given for not using portmanager, just it >> seems to be getting quietly deprecated, which is a shame because it >> works supremely well. >> >> Having said that why not check out >> http://freebsd-custom.wikidot.com/, the new binary ports upgrade >> system and save yourself a bunch of compile time. >> >> Chris > > I use it myself, It "just works". I would also add "-p -l" to the > command line. that way you have a log created if something does go > wrong. It will also fix up any outdated dependencies. I do use logging. In fact I do 'portmanager -s > somefile', extract a list of ports to be upgraded and run the list through a loop which does 'make config' for each port, _then_ run 'portmanager -l -u' so it runs completely unattended. It does indeed "just works" which is down to the way it works out to do leaf ports first and work backwards. portmaster looks like it has some nice features, including doing all the configs first, but I don't know if it does as good a job as portmanager in deciding what order to do things. Chris