upgrade from 8.2 to 9.0

Dick Hoogendijk dick at nagual.nl
Fri Jan 13 14:00:32 UTC 2012


Op 13-1-2012 14:56, Bas Smeelen schreef:
> On 01/13/2012 02:42 PM, Dick Hoogendijk wrote:
>> I possible I want my server to upgrade from 8.2-RELEASE to 9.0-RELEASE.
>> I guess the binary upgrade will not be a problem with "freebsd-update -r
>> 9.0-RELEASE fetch" If so, I do like to hear the caveats.
>> My main problem lies with the installed ports. I know the -all- have to be
>> recompiled, but I don't know an easy way for this job.  I always use
>> portmaster. Do I have to make a list manually for all installed ports? Or
>> is there a procedure to follow in this matter? I'd like to get some
>> pointers if possible.
>> Thanks.
>> _
> It works great with source upgrade, so freebsd-update should not be a
> problem but i haven't used it yet to upgrade to 9.
> It is used like this: freebsd-update -r 9.0-RELEASE upgrade  (i.e. not fetch)
> See also the handbook for a good explanation
>
> You can use portmaster --list-origins to make a list of all root and leaf
> ports and use this to reinstall all ports after the upgrade.
> See man portmaster for a good example.
>
> Or you can use portmaster -af to recompile all ports.
Ah, yes, I remember the latter is disadviced because some ports can have 
differences so you have some garbage if you run portmaster -af
I will look up the example in the manual. It also will tell me 
(probably) if all ports have to be removed beforehand or that this does 
not matter.


More information about the freebsd-questions mailing list