From owner-freebsd-questions@FreeBSD.ORG Fri Dec 24 17:02:40 2004 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 BE2E316A4CE for ; Fri, 24 Dec 2004 17:02:40 +0000 (GMT) Received: from mtiwmhc11.worldnet.att.net (mtiwmhc11.worldnet.att.net [204.127.131.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A482943D1F for ; Fri, 24 Dec 2004 17:02:35 +0000 (GMT) (envelope-from jayobrien@worldnet.att.net) Received: from [192.168.1.6] (dsl093-180-184.sac1.dsl.speakeasy.net[66.93.180.184]) by worldnet.att.net (mtiwmhc11) with ESMTP id <2004122417023211100j8jgqe> (Authid: jayobrien@att.net); Fri, 24 Dec 2004 17:02:32 +0000 Message-ID: <41CC4BA6.3060806@att.net> Date: Fri, 24 Dec 2004 09:02:30 -0800 From: Jay O'Brien User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD - questions References: <41CBB0D6.6080807@att.net> <41CBC255.2070309@att.net> <200412232338.09555.reso3w83@verizon.net> <200412241554.03932.list-freebsd-2004@morbius.sent.com> In-Reply-To: <200412241554.03932.list-freebsd-2004@morbius.sent.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: portupgrade vs. portmanager 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: Fri, 24 Dec 2004 17:02:40 -0000 RW wrote: > On Friday 24 December 2004 07:38, Michael C. Shultz wrote: > >>On Thursday 23 December 2004 11:16 pm, Jay O'Brien wrote: >> >>>Michael C. Shultz wrote: >>> >>>>On Thursday 23 December 2004 10:01 pm, Jay O'Brien wrote: >>>> >>>>>I'm running 5.3 RELEASE and trying to learn. I did a ports cvsup. >>>>>Following the Dru Lavigne article on portupgrade at >>>>>http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html?page >>>>>=1 I installed portupgrade and then ran portsdb -Uu. It errored >>>>>out, telling me that I shouldn't use my "refuse" file that stopped >>>>>the non- english docs and ports from being loaded on my HD. >>>>> >>>>>In trying to understand this issue, I found portmanager, and it >>>>>looks like it would perform the same function as portupgrade. >>>>> >>>>>My questions: Is there a way around the "refuse" file prohibition, >>>>>perhaps with portmanager? Does portmanager replace portupgrade? >>>> >>>>portmanager doesn't require the INDEX files to keep ports up to >>>>date, so the refuse file is a non issue with it. >>>> >>>>-Mike >>> >>>Sounds good. What's the downside, if any, to using portmanager >>>instead of portupgrade? >> >>All of your ports will be built with the correct dependencies, they will >>work better leaving you less to complain about in the mail lists and so >>you will become bored. Because everything is working exactly as it >>should you may begin to think you are a Maytag repair man, nothing much >>to do, just always setting around waiting for something to break..... > > > I don't use portmanager myself, but isn't it the case that portmanager > rebuilds not just ports that have newer versions in the ports tree, but also > all ports that recursively depend on those ports. > > I just updated kdehier with portupgrade in about a minute. The whole of KDE > depends on kdehier, so presumably portmanager would have taken several days, > and kdehier isn't particularly unusual. I would see that as a major downside. > > When it's necessary UPDATING will suggest running portupgrade -rf to force > rebuilding. That kind of UPDATING entry is in a small minority, which > suggests to me that most of the problems with ports don't stem from the > sequence of their updating, so I can't see how portmanager is any kind of > magic-bullet. > > So portmanager rebuilds whether it needs it or not, and portupgrade only rebuilds when there is a later distribution of the software? The distinction between the two is not clear to me. This is my first try to update ports, and I want to set up a procedure for updating that I can follow in the future. Jay