12.0-RELEASE-p1 and freebsd-update

I ran freebsd-update fetch and then install to get the -p1 version. Rebooted and the "-p1" part is missing, source code revision is old:

Code:
# uname -a
FreeBSD pelosi 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC  amd64

I tried freebsd-update again, it says that -p1 is installed:

Code:
root@pelosi:~ # freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 12.0-RELEASE from update4.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
...
No updates needed to update system to 12.0-RELEASE-p1

What am I doing wrong?

On another computer I did source code based update and it installed everything correctly:

Code:
$ uname -a
FreeBSD obama 12.0-RELEASE-p1 FreeBSD 12.0-RELEASE-p1 r342397 GENERIC  amd64
 
uname -a only shows new pX version when some kernel stuff was changed during security patch updates. This is where freebsd-version coming into play.
Therefore, everything should has gone well.
 
I did not install the base sources:
Code:
$ svn info /usr/src
svn: E155007: '/usr/src' is not a working copy

Code:
$ freebsd-version -ruk
12.0-RELEASE
12.0-RELEASE
12.0-RELEASE-p1

On the other machine updated via sources:
Code:
$ freebsd-version -ruk
12.0-RELEASE-p1
12.0-RELEASE-p1
12.0-RELEASE-p1
 
I ran freebsd-update fetch and then install to get the -p1 version. Rebooted and the "-p1" part is missing, source code revision is old
P1 did not include an update to the kernel, it was a userland update only. So the kernel is still showing the 'old' version.

On another computer I did source code based update and it installed everything correctly
This rebuilds everything, including the kernel. So the kernel was updated with the new version string.
 
Back
Top