jails FreeBSD jail version mismatch betveen freebsd-version & uname -a

Hello.
Host system:
Code:
[sailorsamoor@six ~]% uname -a
FreeBSD six 14.3-RELEASE-p5 FreeBSD 14.3-RELEASE-p5 GENERIC amd64
[sailorsamoor@six ~]% freebsd-version
14.3-RELEASE-p5
[sailorsamoor@six ~]%
Jails..
http:
Code:
root@six:/usr/home/sailorsamoor # jexec http
root@http:/ # uname -a
FreeBSD http 14.3-RELEASE-p5 FreeBSD 14.3-RELEASE-p5 GENERIC amd64
root@http:/ # freebsd-version -ru
14.3-RELEASE-p5
14.2-RELEASE-p3
root@http:/ # exit
data:
Code:
root@six:/usr/home/sailorsamoor # jexec data
root@data:/ # uname -a
FreeBSD data 14.3-RELEASE-p5 FreeBSD 14.3-RELEASE-p5 GENERIC amd64
root@data:/ # freebsd-version -ru
14.3-RELEASE-p5
13.2-RELEASE-p3
root@data:/ #

As we can see, the version numbers of the jails from
uname -a
and
freebsd-version
are different. I can't update jails, I can't update packages on jails. I tried
freebsd-update feth install,
freevsd-update -F -b <path_to_jails> -r NN, nothing helps.
Is there a way to fix the situation?
 
Yes.

Yes. But I did these manipulations, and after mergin the files that need to be merged (combined?) jail stops loading. In 'data' jail userland is for 14.2, as I understand. But
freebsd-version
displays 13.2.
After
freebsd-update -b "/base/of/your/jail" --currently-running 13.2-RELEASE -r 14.3-RELEASE upgrade
I couldn't start jail system. But I'll try.
 
You still need to do the install part of the upgrade. freebsd-update -r <some_version> upgrade downloads and prepares the upgrade, it doesn't make any changes yet. That happens with freebsd-update <options> install.
 
Back
Top