Jail: Resolve kernel and userland version mismatch

Hello everyone,

today I tried to update the pkg list within one of my (classic) jails:
Bash:
# pkg update
Updating FreeBSD repository catalogue...
[bifrost.arthur] Fetching data.pkg: 100%    9 MiB   9.9MB/s    00:01   
Processing entries:   0%
Newer FreeBSD version for package zx:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1402000
- running kernel: 1401000
Ignore the mismatch and continue? [y/N]:

Okay, I thought, probably a kernel/userland mismatch, let's check:
Bash:
# freebsd-version -ru
14.2-RELEASE-p1
14.2-RELEASE-p2

# uname -UK
1402000 1401000

Now, I am confused: pkg says kernel is 14.1 (which is not, host is 14.2) but uname says userland is 14.1 and kernel 14.2. What's correct?

I tried to update the jail from the host with no success, already up to date:
Bash:
# freebsd-update -F -r 14.2-RELEASE -j bifrost upgrade
src component not installed, skipped
freebsd-update: Cannot upgrade from 14.2-RELEASE to itself

# freebsd-update -F -j bifrost install
src component not installed, skipped
No updates are available to install.
Run 'freebsd-update [options] fetch' first.

Can someone help me resolve this?

Best,
Chris
 
Please check your jail's base version with:
jexec bifrost file /bin/sh

If it is 14.1 run the upgrade process with
freebsd-update -F -j bifrost --currently-running 14.1 -r 14.2 upgrade
 
Back
Top