cd /usr/src
make update
cd /usr/ports/ports-mgmt/portupgrade
make deinstall
make install clean
portupgrade -af
root@daemon:/home/amp # cd /usr/ports/ports-mgmt/portupgrade
root@daemon:/usr/ports/ports-mgmt/portupgrade # make deinstall
make: "/usr/ports/Mk/bsd.port.mk" line 1172: UNAME_r (11.0-RELEASE-p1) and OSVERSION (1003000) do not agree on major version number.
root@daemon:/usr/ports/ports-mgmt/portupgrade # make install clean
make: "/usr/ports/Mk/bsd.port.mk" line 1172: UNAME_r (11.0-RELEASE-p1) and OSVERSION (1003000) do not agree on major version number.
root@daemon:/usr/ports/ports-mgmt/portupgrade # portmaster -af
===>>> The value of DISTDIR cannot be empty
===>>> Aborting update
Upgrading from FreeBSD 10.3-RELEASE and Earlier
# : > /usr/bin/bspatch
# freebsd-update upgrade -r 11.0-RELEASE
# freebsd-update install
<reboot the system>
# freebsd-update install
<rebuild third-party software>
# freebsd-update install
If errors are encountered during the upgrade process, add -f to upgrade and rebuild all ports:
# portmaster -af
freebsd-update install
(when it tells you to update third party software) use this:pkg-static install -f pkg # This re-installs pkg for the new ${ABI} settings
pkg upgrade -f # This will reinstall everything
For pkg(8) after the second run offreebsd-update install
(when it tells you to update third party software) use this:
Code:pkg-static install -f pkg # This re-installs pkg for the new ${ABI} settings pkg upgrade -f # This will reinstall everything
If you want to use portmaster(8) then, yes, the process is still the same.