Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 2009 09:18:11 +0200
From:      Bartosz Stec <admin@kkip.pl>
To:        Johan Hendriks <Johan@double-l.nl>
Cc:        Dan Allen <danallen46@airwired.net>, freebsd-stable@freebsd.org
Subject:   Re: Going to BSD 8 from RELENG_7
Message-ID:  <4A890433.1070809@kkip.pl>
In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB5DEAEB@w2003s01.double-l.local>
References:  <CF4634E4-A061-4F6C-BE4D-5209679C130E@airwired.net> <57200BF94E69E54880C9BB1AF714BBCB5DEAEB@w2003s01.double-l.local>

next in thread | previous in thread | raw e-mail | index | archive | help
Johan Hendriks pisze:
> Be aware that if you go from 7 to 8 you will need to rebuild all your
> installed ports.
> ALso if you do a buildworld from 7 to 8 do not do the make delete-old
> and the make delete-old-libs before you have rebuild your ports.
> If you do the make delete-old and make delete-old-libs runs, all ports
> depending on the FreeBSD 7 libs will not work any more.  << read:  most
> likely all your ports.
> If you have changed for example your Shell for root to a ports based
> shell like bash and you do the make delete-old-libs you can not log in
> anymore, because bash depends on the 7 libs wich are not there anymore.
>
> And as usual MAKE A GOOD BACKUP !!!!
>
> Regards,
> Johan
>
>  
>   
As I remember when I did upgrade from FreBSD 6.4 to 7.0, I ran 
'portupgrade -afi' after thar, BUT as I remember all my ports in fact 
works before they were upgraded. If I understand correctly, the reason 
of this was not making delete-old and delete-old-libs?

So should following upgrade procedure be painless?

0. Backup!
1. cvsup 8.0-stable
2. make buildworld && make buildkernel
3. make installkernel
4. reboot and jump to single user mode
5. make installworld && mergemastger
6. take a deep breath & reboot
7. portupgrade -afi
8. make delete-old && make delete-old-libs
9. reboot
10. Hooray!

My concern is - will my ports works after point 6. ? Quite important 
thing when machine can't be offline by hours during portupgrade -afi ....

-- 
Bartosz Stec






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A890433.1070809>