Upgrade 7.1 -> 7.2

Installing and upgrading FreeBSD.

Upgrade 7.1 -> 7.2

Postby icer » 25 May 2009, 13:17

Do i need to rebuild/reinstall all packages after upgrade from 7.1 to 7.2?

Smf like this:
#freebsd-update -r 7.2-RELEASE upgrade
#freebsd-update install
#shutdown -r now
#freebsd-update install
#portupgrade -af
icer
Junior Member
 
Posts: 45
Joined: 27 Nov 2008, 09:33
Location: 10-RUS

Postby SirDice » 25 May 2009, 13:45

There shouldn't be any issues.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16196
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby vivek » 25 May 2009, 13:49

Just before upgrade procedure I will make sure I've latest dumps of data, /etc, /home and sql. Rest of the procedure is correct.
Neither in this world nor elsewhere is there any happiness in store for him who always doubts. If you enjoyed my answer please consider donating some money to FreeBSD foundation @ http://www.freebsdfoundation.org/
User avatar
vivek
Member
 
Posts: 809
Joined: 17 Nov 2008, 08:19
Location: Hyper Space

Postby phoenix » 25 May 2009, 16:11

Upgrading within a major version (5.x to 5.y, 6.x to 6.y, 7.x to 7.y, etc) normally does not require any rebuilding of installed ports. FreeBSD devs try very hard to maintain compatibility within a major release. Check /usr/src/UPDATING for details.

Upgrading across major versions (5.x to 6.y, 6.x to 7.x, etc) requires rebuilding all installed ports. One can usually put off the rebuild for awhile by installing the compat5x and/or compat6x ports (the one for the version you upgraded from). However, the long-term, most stable solution, is to rebuild all installed ports.
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
User avatar
phoenix
MFC'd
 
Posts: 3349
Joined: 17 Nov 2008, 05:43
Location: Kamloops, BC, Canada

Postby DutchDaemon » 25 May 2009, 16:21

Note that some 'blob ports' (e.g. security/bdc, x11/nvidia-driver) still require compat libraries to be installed, no matter how meticulously you upgrade all of them to a new major OS version. So don't go ditching compat5/6 unless you're sure none of your installed ports need them.
User avatar
DutchDaemon
Old Fart
 
Posts: 10467
Joined: 16 Nov 2008, 20:17
Location: The Netherlands


Return to Installing & Upgrading

Who is online

Users browsing this forum: Google [Bot] and 0 guests