On my system, pkg within jails seems to complain about the version numbers. I have checked the older posts (mostly from late last year) in this category, but I don't believe they solve my problem.
Symptoms:
Symptoms:
- Issuing a pkg update within a jail gave the apparently common error
Newer FreeBSD version for package pkg: To ignore this error set IGNORE_OSVERSION=yes
- package: 1102000
- running kernel: 1101001
- But, doing
uname -K
in the same jail gave the result1102000
. This seems contradictory with the message earlier which says the running kernel is1101001
- Doing
uname -K
on the host gave1102000
, which is consistent with the jail. - The output of
freebsd-version -u
was11.2-RELEASE-p11
and consistent across both jail and host. - Output of
freebsd-version -k
on the host was also11.2-RELEASE-p11
- Output of
uname -a
includesFreeBSD 11.2-RELEASE-p9
, this is consistent across both jail and host. - I did a
pkg bootstrap -f
on both jail and host. The jail gave the same error message as in 1. but I went on with it anyway ignoring the mismatch and clicking Y. The host had no issues. - Now the issue no longer appears while doing pkg update, but if I redo
pkg bootstrap -f
on the jail, it still complains the same thing. I've repeated steps 6 and 7 a couple of times with the same result.
Why does it still complain of the same thing? Is it actually a problem?