Minor upgrade of FreeBSD 11.0 to FreeBSD 11.1

Performing a minor version upgrade of Freebsd 11.0 to Freebsd 11.1
using the FreeBSD Update tool.

[email protected]:~ % sudo uname -a
FreeBSD ymer.bara1.se 11.0-RELEASE-p12 FreeBSD 11.0-RELEASE-p12 #0: Wed Aug 9 10:03:39 UTC 2017 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64

[email protected]:~ % sudo freebsd-update -r 11.1-RELEASE upgrade
Looking up update.FreeBSD.org mirrors… none found.
Fetching metadata signature for 11.0-RELEASE from update.FreeBSD.org… done.
Fetching metadata index… done.
Fetching 1 metadata files… done.
Inspecting system… done.

The following components of FreeBSD seem to be installed:
kernel/generic src/src world/base world/doc world/lib32

The following components of FreeBSD do not seem to be installed:
kernel/generic-dbg world/base-dbg world/lib32-dbg

Does this look reasonable (y/n)? y

Fetching metadata signature for 11.1-RELEASE from update.FreeBSD.org… done.
Fetching metadata index… done.
Fetching 1 metadata patches. done.
Applying metadata patches… done.
Fetching 1 metadata files… done.
Inspecting system… done.
Fetching files from 11.0-RELEASE for merging… done.
Preparing to download files… done.
Fetching 48363 patches…..10….20….30….40….50…. and so on until in my case,.. 48360. done.

Applying patches… done.
Fetching 2476 files… done.
Attempting to automatically merge changes in files… done.

After manually merging some config files,
To install the downloaded upgrades, run “/usr/sbin/freebsd-update install”.

% sudo /usr/sbin/freebsd-update install
Installing updates…
Kernel updates have been installed. Please reboot and run
“/usr/sbin/freebsd-update install” again to finish installing updates.

% sudo reboot

% sudo freebsd-update install
Installing updates…
Completing this upgrade requires removing old shared object files.
Please rebuild all installed 3rd party software (e.g., programs
installed from the ports tree) and then run “/usr/sbin/freebsd-update install”
again to finish installing updates.

% sudo portsnap fetch update
% sudo pkg-static upgrade -f

and in my case,
Number of packages to be installed: 7
Number of packages to be reinstalled: 122
Number of packages to be downgraded: 67

The process will require 22 MiB more space.
153 MiB to be downloaded.

Number of packages to be reinstalled: 121
Number of packages to be downgraded: 66

Proceed with this action? [y/N]: y

When finish,

% sudo reboot

and again run

% sudo freebsd-update install

% sudo portmaster -aRd

Voila !

% uname -a

Further reading at the excellent FreeBSD Handbook https://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html
FreeBSD ymer.bara1.se 11.1-RELEASE-p1 FreeBSD 11.1-RELEASE-p1

Leave a Reply

Your email address will not be published. Required fields are marked *