Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Dec 2022 06:43:50 +1100
From:      Ian Smith <smithi@nimnet.asn.au>
To:        paul beard <paulbeard@gmail.com>
Cc:        questions@freebsd.org
Subject:   Re: what am I missing RE: freebsd-update?
Message-ID:  <CB40E55B-6EAF-4A9E-B768-5CFCA06A090A@nimnet.asn.au>
In-Reply-To: <CAMtcK2pNxAV72V0rm36UALDcRdG2J9Tv_3Q7UaQHKEqFMEm_uw@mail.gmail.com>
References:  <CAMtcK2pNxAV72V0rm36UALDcRdG2J9Tv_3Q7UaQHKEqFMEm_uw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2 December 2022 2:35:43 am AEDT, paul beard <paulbeard@gmail=2Ecom> wrot=
e:
 > I am running 12=2E3-RELEASE-p6 and ran freebsd-update fetch and
 > freebsd-update install and I get this after the cycle ran:
 >=20
 > No updates needed to update system to 12=2E3-RELEASE-p10=2E
 > No updates are available to install=2E

Looks like your previous update took userland to p10 already=2E

I'd not updated since 4th November and had seen the SA and errata the othe=
r day, so just did so:

# freebsd-version -kru
12=2E3-RELEASE-p6
12=2E3-RELEASE-p6
12=2E3-RELEASE-p10

So, no change to the installed or running kernel, just userland=2E

 > I have rebooted, thinking that it was necessary to load a new kernel
 > and
 > all the bits=2E Still on p6=E2=80=A6

Yes=2E  To see the changes to userland for last several updates, I suggest=
:

# ls -lrtR /var/db/freebsd-update | less

 > I see this in /boot so something happened=E2=80=A6I guess p10 was relea=
sed on
 > Sep
 > 29?
 > drwxr-xr-x  2 root  wheel   20480 Sep 29 07:17 kernel
 > drwxr-xr-x  2 root  wheel   20480 Dec  1 06:52 kernel=2Eold

No, going on mine I expect Sep 29 was when you last did an update that _di=
d_ update the kernel (to -p6)=2E  Here it's Sep 24, for a bunch of loader, =
boot and kernel files, and a few =2Eko in /boot/kernel/kernel

 > All new =2Eko stuff there as well=2E So why is the old kernel dated tod=
ay
 > but
 > not what I assume to be the new one if all the ko files are dated
 > today=2E

File dates from ls are last modified, probably creation dates on your syst=
em, ie installation date=2E

I expect you'll find the latest file in kernel=2Eold/ is '=2Efreebsd-updat=
e', the addition of which of course updated the directory entry /boot/kerne=
l=2Eold/

 > How do I get freebsd-update to actually install updates? The man page
 > doesn't help me very much=2E

Again, see /var/db/freebsd-update

cheers, Ian




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CB40E55B-6EAF-4A9E-B768-5CFCA06A090A>