Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Nov 2002 10:10:49 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Andrew Thomson <ajthomson@optushome.com.au>, freebsd-questions@FreeBSD.ORG
Subject:   Re: reinstall all installed ports
Message-ID:  <3DC2C3A9.8000902@owt.com>
References:  <1035933528.57755.30.camel@athomson.prv.au.itouchnet.net> <20021029234843.GA4309@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DC2C3A9.8000902>