wrong patchlevel after freebsd-update install?

Michael B. Eichorn ike at michaeleichorn.com
Sat Dec 13 14:31:52 UTC 2014


On Fri, 2014-12-12 at 10:23 -0500, Paul Mather wrote:
> On Dec 12, 2014, at 4:30 AM, Anton Shterenlikht <mexas at bris.ac.uk> wrote:
> 
> > On 10.0-RELEASE-p12 amd64 I updated to p13 as:
> > 
> > freebsd-update fetch
> > freebsd-update install
> > reboot
> > 
> > However, uname still shows the old patchlevel:
> > 
> > # uname -a
> > FreeBSD 001cc0f01814.anet.bris.ac.uk 10.0-RELEASE-p12 FreeBSD 10.0-RELEASE-p12 #0: Tue Nov  4 05:07:17 UTC 2014     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
> > #
> > 
> > But freebsd-update fetch suggests I'm already at p13:
> > 
> > # freebsd-update fetch
> > Looking up update.FreeBSD.org mirrors... 5 mirrors found.
> > Fetching metadata signature for 10.0-RELEASE from update5.freebsd.org... done.
> > Fetching metadata index... done.
> > Inspecting system... done.
> > Preparing to download files... done.
> > 
> > No updates needed to update system to 10.0-RELEASE-p13.
> > #
> > 
> > So has the update p12 -> p13 succeeded?
> 
> What does "freebsd-version" report?  If it returns 10.0-RELEASE-p13 then your freebsd-update succeeded.
> 
> > Please clarify
> 
> It's my understanding that uname only gets updated when freebsd-update updates the kernel.  I think that's why freebsd-version was introduced.
> 
> > 
> > Thanks
> > 
> > Anton
> 
> Cheers,
> 
> Paul.
> 
> 

I have similar question about the 10.1-RELEASE-p1 update

I ran the update as:
# freebsd-update fetch
# freebsd-update install
# ezjail-admin update -u
# reboot

Yet when I run:
# freebsd-version -ku
10.1-RELEASE
10.1-RELEASE-p1

# uname -a
FreeBSD terra.michaeleichorn.com 10.1-RELEASE FreeBSD 10.1-RELEASE #0
r274401: Tue Nov 11 21:02:49 UTC 2014
root at releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

Do I have a problem here or is this the expected behavior?

I thought that 'freebsd-version -k' would report the new patchlevel even
if there was not a kernel update.

For the record 'freebsd-update fetch' and 'freebsd-update install'
report no updates to install.

Regards,

Ike



More information about the freebsd-stable mailing list