From owner-freebsd-questions Fri Nov 1 10:35:27 2002 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 BC42837B401 for ; Fri, 1 Nov 2002 10:35:25 -0800 (PST) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3236543E42 for ; Fri, 1 Nov 2002 10:35:25 -0800 (PST) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id KAA30024; Fri, 1 Nov 2002 10:10:50 -0800 Message-ID: <3DC2C3A9.8000902@owt.com> Date: Fri, 01 Nov 2002 10:10:49 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Kris Kennaway Cc: Andrew Thomson , freebsd-questions@FreeBSD.ORG Subject: Re: reinstall all installed ports References: <1035933528.57755.30.camel@athomson.prv.au.itouchnet.net> <20021029234843.GA4309@xor.obsecurity.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kris Kennaway wrote: > On Wed, Oct 30, 2002 at 10:18:47AM +1100, Andrew Thomson wrote: > >>I just need to reinstall all my ports.. only 67 so I'll survive. >> >>However I'm just wondering what the best command would be. >> >>Given I'm doing all of them, I'm just curious if I need to worry about >>dependencies and reinstall in order type thing..or if I can just >>reinstall each package in any order.. > > > If you do them out of order the dependency information will be screwed > up. It's best to let portupgrade do it for you all at once and in order. > > >>Is portupgrade -af my best bet? > > > That's what I use. I tried this and learned something in the process. I actually used "-afp" so that I had packages that I could use to upgrade my slow machines using "-afP". There are some ports that you probably need to -x such as cvsup-mirror. You could probably just glob 'cvsup*'. Upgrading cvsup-mirror required manual intervention and the process of checking ownership on my ncvs directory seemed like it added an hour to the upgrade :). I also had to redo texmf.cnf on all of my machines. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message