John wrote:
On Tue, Nov 24, 2009 at 05:25:42PM +0100, Pieter de Goeje wrote:
On Tuesday 24 November 2009 16:45:14 John wrote:
Hello list
I've looked high and low for a howto/link showing how to update to 8, to
no avail. Is it just a case of the regular buildworld process or are
there gotchas because we are crossing major version numbers.
You got it right. Just the regular upgrade procedure as documented in
/usr/src/UPDATING.
The gotcha is that you need to rebuild all ports. If you don't do that you can
run in to trouble when you later build a port.
I found that usually it is fastest to just take note of which ports you need,
delete all existing ports, then after the upgrade reinstall the required
ports.
Thanks, that's a relief! I looked at the url the other chap posted and
it seems to be the same thing although he uses a slightly different
syntax and I think he is talking about upgrading in a datacentre,
remotely.
cheers
Just another note or two.
If you decide to recompile the ports using portupgrade, portmaster or a
similar tool, rather than, as Pieter suggested, deleting them and
re-installing, make sure your ports are up to date before upgrading the
system. That way you are less likely to run into problems when
recompiling them after upgrading.
After running mergemaster, do a make delete-old to remove any 7.2
binaries remaining (libraries still in use won't be deleted). I usually
do this while still in single user, but I believe it can be done in
multi user as well.
After upgrading the ports, cd to /usr/src and do a make delete-old-libs.
If you upgrade them using portupgrade, portmaster or a similar tool, do
the delete-old-libs AFTER all ports are successfully upgraded. The
reason for this is that the ports you have installed are still linked to
the 7.2 libraries. If you decide to delete all ports, delete them before
upgrading the system, then do the delete-old and delete-old-libs before
installing any new ports.
I usually delete all ports and re-install the essential ones after
upgrading, but I've tried the portupgrade approach too, and both have
worked well for me. The latter approach is more time consuming, but
ensures you have all your ports after the upgrade, while the former
approach takes less time and may help get rid of ports you no longer need.
Good luck. :)
Rolf Nielsen
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"