e708
![]() |
|
|
|
|
|||||||
| Installing & Upgrading Installing and upgrading FreeBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
I want to ask, what's the best practices for upgrading major version of FreeBSD with freebsd-update ? (e.g. 6.x -> 7.0). And what method do you prefer, freebsd-update, make buildworld, or upgrading with installation CD ? |
|
#2
|
||||
|
||||
|
I would run the update. Afterwards I would install the compat layer for the old system (e.g. misc/compat6x) and run:
# cd /usr/src # make delete-old # make delete-old-libs Then I'd run pkg_libchk from the sysutils/bsdadminscripts port, which would create a list of ports that need rebuilding. # pkg_libchk -qo > rebuild Afterwards I'd rebuild the detected packages with my favourite update tool. E.g.: # xargs -o < rebuild portmaster -D After successfully rebuilding all these packages (which is still less than rebuilding all packages), you can safely deinstall the compat package.
__________________
sysutils/bsdadminscripts: binary package maintenance, library integrity checking, ... sysutils/automounter: amd(8) based automounting without HAL contact: kamikaze@bsdforen.de Disclaimer: My posts represent my perception. Errors and incompleteness are to be expected, I deny any responsibility to know everything. |
| The Following 4 Users Say Thank You to kamikaze For This Useful Post: | ||
alief (December 8th, 2008), anomie (December 8th, 2008), cajunman4life (December 7th, 2008), sverreh (December 8th, 2008) | ||
|
#3
|
|||
|
|||
|
Looks like a good method to follow rather than rebuilding all ports. I'll try it on the next major upgrade I have.
|
|
#4
|
||||
|
||||
|
I coded the script pkg_libchk for the upgrade from 6.x to 7.x and it is much more mature, now, than it was back then. It even has SMP support and is working very reliable. Only jdks and OpenOffice yield some false positives, because they are linked to libraries that don't exist (odbc), or which they have to locate themselves (libjawt.so).
Well, I hope it will work for you guys as well as it does for me.
__________________
sysutils/bsdadminscripts: binary package maintenance, library integrity checking, ... sysutils/automounter: amd(8) based automounting without HAL contact: kamikaze@bsdforen.de Disclaimer: My posts represent my perception. Errors and incompleteness are to be expected, I deny any responsibility to know everything. |
|
#5
|
|||
|
|||
|
I would strongly prefer , backing up all data and config files , and then make a FRESH FBSD 7 install!!!!
i DO NOT like updating Fbsd from one version to an other!
__________________
ChuyBSD |
|
#6
|
|||
|
|||
|
i think also you would spend less time doing that way!
__________________
ChuyBSD |
|
#7
|
||||
|
||||
|
I doubt it. For me even a major update is not such a large process. The most time consuming part is the updating of packages and that runs automatically, most of the time.
__________________
sysutils/bsdadminscripts: binary package maintenance, library integrity checking, ... sysutils/automounter: amd(8) based automounting without HAL contact: kamikaze@bsdforen.de Disclaimer: My posts represent my perception. Errors and incompleteness are to be expected, I deny any responsibility to know everything. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| System down after freebsd-update | noobster | Installing & Upgrading | 9 | December 2nd, 2008 14:43 |
| upgrade a custom kernel ? | smooth | Installing & Upgrading | 10 | December 2nd, 2008 09:20 |
| FreeBSD-update fails downloading upgrade information | Steije | Installing & Upgrading | 3 | November 25th, 2008 20:12 |
| ssh segmentation fault after upgrade to 7.0-RELEASE-p5 | yannvote | Web & Network Services | 5 | November 20th, 2008 19:00 |
| FreeBSD-EN-07:05.freebsd-update | admin | News & Announcements | 0 | June 20th, 2008 21:38 |