makeitrain.dk

by Thomas F. Christensen

Check what version of FreeBSD you are currently on

freebsd-version

It will output something similar to this, depending on what RELEASE you are currently on:

FreeBSD 11.0-RELEASE-p8

You can update FreeBSD by running:

freebsd-update fetch

and then install the updates by running:

freebsd-update install

If a never release is available, then FreeBSD will tell you that after running freebsd-update install.

If you want to upgrade your RELEASE to the never RELEASE of FreeBSD then you can run:

freebsd-update upgrade -r FreeBSD 11.0-RELEASE-p9

 

Note:

This is something you could run in to:

root@server12:/usr/home/tcadm # freebsd-update upgrade -r 11.0-RELEASE-p11

Looking up update.FreeBSD.org mirrors… 4 mirrors found.

Fetching metadata signature for 11.0-RELEASE from update3.freebsd.org… done.

Fetching metadata index… done.

Fetching 1 metadata patches. done.

Applying metadata patches… 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.0-RELEASE-p11 from update3.freebsd.org… failed.

Fetching metadata signature for 11.0-RELEASE-p11 from update5.freebsd.org… failed.

Fetching metadata signature for 11.0-RELEASE-p11 from update6.freebsd.org… failed.

Fetching metadata signature for 11.0-RELEASE-p11 from update4.freebsd.org… failed.

No mirrors remaining, giving up.

 

I have often seen in forums that people are checking what version of FreeBSD they are on by running the command uname -mrs or uname -a but that does not reflect your actual patch level, unless the kernel have been recompiled by you:

freebsd-version

July 16th, 2017

Posted In: FreeBSD

Tags:

One Comment

Leave a Reply

%d bloggers like this: