Re: package 1303001 but running kernel 1302001

From: Gary Aitken <freebsd_at_dreamchaser.org>
Date: Tue, 20 Aug 2024 19:04:38 UTC
Apparently I rebooted but never reran freebsd-update:

# freebsd-update fetch
You have a partially completed upgrade pending
Run '/usr/sbin/freebsd-update install' first.
Run '/usr/sbin/freebsd-update fetch -F' to proceed anyway.
# /usr/sbin/freebsd-update install
Installing updates...rm: ///usr/src/contrib/llvm-project/libcxx/include/__tuple: is a directory
rm: ///usr/src/contrib/llvm-project/libcxx/include/__string: is a directory
rm: ///usr/include/c++/v1/__tuple: is a directory
rm: ///usr/include/c++/v1/__string: is a directory

Restarting sshd after upgrade
Performing sanity check on sshd configuration.
Stopping sshd.
Waiting for PIDS: 1029.
Performing sanity check on sshd configuration.
Starting sshd.
Scanning //usr/share/certs/blacklisted for certificates...
Scanning //usr/share/certs/trusted for certificates...
Scanning //usr/local/share/certs for certificates...
  done.

duh.

Thanks for questions and pointers.

Gary

On 8/20/24 06:10, Gary Aitken wrote:
> On 8/20/24 03:56, list_freebsd@bluerosetech.com wrote:
>> On 2024-08-19 21:38, Gary Aitken wrote:
>>> After upgrading 13.2 to 13.3, and rebooting, an attempt to upgrade
>>> packages shows:
>>>
>>> # pkg upgrade -F
>>> Updating FreeBSD repository catalogue...
>>> Fetching meta.conf: 100%    178 B   0.2kB/s    00:01
>>> Fetching packagesite.pkg: 100%    7 MiB   1.1MB/s    00:07
>>> Processing entries:   0%
>>> Newer FreeBSD version for package zziplib:
>>> To ignore this error set IGNORE_OSVERSION=yes
>>> - package: 1303001
>>> - running kernel: 1302001
>>>
>>> yet:
>>>
>>> #uname -a FreeBSD ... 13.3-RELEASE-p5 FreeBSD 13.3-RELEASE-p5
>>> GENERIC amd64
>>>
>>> Why does it say the running kernel is 1302001 and not 1303001?
>>
>> Did you run `freebsd-update install` again after rebooting?
> 
> Yes, twice
> 
>> What are the outputs of these commands:
>> # freebsd-version -kru
> # freebsd-version -kru
> 13.3-RELEASE-p5
> 13.3-RELEASE-p5
> 13.2-RELEASE-p12
> 
> I guess that explains it, although I don't understand why "userland" is
> out of date.
> What is the "installed userland" that the manpage refers to?
> And how does it get updated?
> 
>> # file /usr/bin/uname
> # file /usr/bin/uname
> /usr/bin/uname: ELF 64-bit LSB pie executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 13.2, FreeBSD-style, stripped