Solved FreeBSD 13.0-RELEASE-p11 & Ezjail Kernel Mismatch (Same p11 now)

Hey everyone! Not trying to clutter the forum up or making duplicates. https://forums.freebsd.org/threads/...ils-not-reflecting-updates-p11-p4-only.84743/

I since have rebooted my host server and when I read this thread: https://forums.freebsd.org/threads/jails-update-11-2-userland-vs-kernel-version.67817/ I believed firmly it was my remedy.

I logged into my server since rebooting last night and host is as follows:

Host:

Code:
root@supernova:~ # freebsd-version
13.0-RELEASE-p11
root@supernova:~ #

Jail:
Code:
root@supernova:~ # ezjail-admin console americandefense
ast login: Fri Apr  8 20:18:33 on pts/4
FreeBSD 13.0-RELEASE-p11 (GENERIC) #0: Tue Apr  5 18:54:35 UTC 2022

Welcome to FreeBSD!

Release Notes, Errata: https://www.FreeBSD.org/releases/
Security Advisories:   https://www.FreeBSD.org/security/
FreeBSD Handbook:      https://www.FreeBSD.org/handbook/
FreeBSD FAQ:           https://www.FreeBSD.org/faq/
Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/
FreeBSD Forums:        https://forums.FreeBSD.org/

Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with:  pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.

Show the version of FreeBSD installed:  freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages:  man man
FreeBSD directory layout:      man hier

Edit /etc/motd to change this login announcement.
root@americandefense:~ # pkg update
Updating FreeBSD repository catalogue...
[americandefense] Fetching meta.txz: 100%    916 B   0.9kB/s    00:01   
[americandefense] Fetching packagesite.txz: 100%    6 MiB   6.7MB/s    00:01   
Processing entries:   0%
Newer FreeBSD version for package php74-pear-channel-pirum:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1203000
- running kernel: 1201000
Ignore the mismatch and continue? [Y/n]: n
pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:12:amd64
Processing entries: 100%
Unable to update repository FreeBSD
Error updating repositories!
root@americandefense:~ # freebsd-version
13.0-RELEASE-p11
root@americandefense:~ #


While this almost made me jump out of my chair; I still received a Kernel Mismatch and unsure how to proceed!

I believe the following threads are now Solved with a Host Server Reboot as the Remedy:

1) (Wrong Spot)
2) (Correct Spot; Duplicated, somewhat!)

Original Update Thread: https://forums.freebsd.org/threads/...1-i-need-to-update-usr-src.84713/#post-562665

As far as the # pkg update Kernel Mismatch for the Jails... I'm stumped! I know from experience that I could only get lxde-meta working on a T430 (My FreeBSD Laptop LXDE Workstation) using 13.0-CURRENT (applied the same install against 13.0-RELEASE, 12.2-RELEASE, 12.1-RELEASE; all not working). I ended up saying "y" to Kernel Mismatch and was able to install all my ports correctly.

I just don't know the math on this situation! Any advice would be greatly appreciated!

Thank you everyone for FreeBSD, Our Community, This Forum, Your Time/Expertise!

Best Regards,

Brandon!
 
Use the -r and -k flags on freebsd-version to see the running and installed kernel versions.

What repository is pkg looking at?

I'm a bit confused from your text as to what exactly is the host versus what is the jail etc.
 
Use the -r and -k flags on freebsd-version to see the running and installed kernel versions.

What repository is pkg looking at?

I'm a bit confused from your text as to what exactly is the host versus what is the jail etc.
richardtoohey2,

Pleasure seeing you! Thank you.

Host:

Code:
root@supernova:~ # freebsd-version -r
13.0-RELEASE-p11
root@supernova:~ # freebsd-version -k
13.0-RELEASE-p11
root@supernova:~ #

Jail:

Code:
root@americandefense:~ # freebsd-version -r
13.0-RELEASE-p11
root@americandefense:~ # freebsd-version -k
freebsd-version: unable to locate kernel
root@americandefense:~ #

How do I determine the location of # pkg update ?

Is there a file located somewhere with the server?

I only know this error within the Jail (SirDice told me the Jails don't have kernels; they utilize the host's).

# pkg update
output:

Code:
# pkg update
Updating FreeBSD repository catalogue...
[americandefense] Fetching meta.txz: 100%    916 B   0.9kB/s    00:01   
[americandefense] Fetching packagesite.txz: 100%    6 MiB   6.7MB/s    00:01   
Processing entries:   0%
Newer FreeBSD version for package php74-pear-channel-pirum:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1203000
- running kernel: 1201000
Ignore the mismatch and continue? [Y/n]: n
pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:12:amd64
Processing entries: 100%
Unable to update repository FreeBSD
Error updating repositories!

Somehow I need to get

Code:
pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:12:amd64

To say FreeBSD:13:amd64 somehow?

Best Regards,

Brandon!
 
Also man pkg shows you can specify a jail to update - so maybe you do that from the host?

Code:
     -j ⟨jail name or id⟩, --jail ⟨jail name or id⟩
             pkg will execute in the given ⟨jail name or id⟩, where name
             matches “jls name” and id matches “jls jid”.  See jail(8) and
             jls(8).
But maybe try that on a test machine or wait for someone who knows more about jails and pkg!
 
I don't use jails or pkg, but pkg configuration is here - is there anything odd in yours?

/etc/pkg/FreeBSD.conf
richardtoohey2,

The host content of /etc/pkg/FreeBSD.conf:

Code:
 $FreeBSD$
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

This is the contents of the jail /etc/pkg/FreeBSD.conf:
Code:
# $FreeBSD: releng/12.1/usr.sbin/pkg/FreeBSD.conf.quarterly 346780 2019-04-27 04:00:50Z cperciva $
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/FreeBSD.conf file:
#
#   mkdir -p /usr/local/etc/pkg/repos
#   echo "FreeBSD: { enabled: no }" > /usr/local/etc/pkg/repos/FreeBSD.conf
#

FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

I just ran the following on Host:

Code:
root@supernova:~ # pkg update
Updating FreeBSD repository catalogue...
Fetching packagesite.pkg: 100%    6 MiB   6.7MB/s    00:01    
Processing entries: 100%
FreeBSD repository update completed. 31147 packages processed.
All repositories are up to date.
root@supernova:~ #

Both /etc/pkg/FreeBSD.conf's stayed the same since running the above command.

Best Regards,

Brandon
 
Also man pkg shows you can specify a jail to update - so maybe you do that from the host?

Code:
     -j ⟨jail name or id⟩, --jail ⟨jail name or id⟩
             pkg will execute in the given ⟨jail name or id⟩, where name
             matches “jls name” and id matches “jls jid”.  See jail(8) and
             jls(8).
But maybe try that on a test machine or wait for someone who knows more about jails and pkg!
richardtoohey2,

I wonder how to find out if that also pertains to ezjail-admin created/maintained jails?

Code:
pkg update -j americandefense

Like that?

location of jail is:

Code:
/usr/jails/americandefense

Best Regards,

Brandon
 
Sorry, I don't know about jails and pkg:


This has a section on:

Keeping Jails Patched and up to Date​

... but not sure how using something like ezjail relates to that. There's talk of ezjail further down on that page, but it only talks about ports.
 
My updates for today:

I have been working towards a remedy! I have upgraded host with "pkg upgrade"

Host "pkg upgrade"

as follows:

Code:
root@supernova:~ # pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
    pkg: 1.17.5 -> 1.17.5_1

Number of packages to be upgraded: 1

8 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching pkg-1.17.5_1.pkg: 100%    8 MiB   8.8MB/s    00:01    
Checking integrity... done (0 conflicting)
[1/1] Upgrading pkg from 1.17.5 to 1.17.5_1...
[1/1] Extracting pkg-1.17.5_1: 100%
You may need to manually remove /usr/local/etc/pkg.conf if it is no longer needed.
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (54 candidates): 100%
Processing candidates (54 candidates): 100%
The following 55 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    icu: 70.1_1,1

Installed packages to be UPGRADED:
    apache24: 2.4.51 -> 2.4.53
    apr: 1.7.0.1.6.1_1 -> 1.7.0.1.6.1_2
    automake: 1.16.4 -> 1.16.5
    bind-tools: 9.16.22 -> 9.16.27
    bind916: 9.16.22 -> 9.16.27
    ca_root_nss: 3.69_1 -> 3.76
    cmake: 3.21.3 -> 3.22.2
    curl: 7.79.1 -> 7.82.0
    db5: 5.3.28_7 -> 5.3.28_8
    en-freebsd-doc: 20211029,1 -> 20220326,1
    expat: 2.4.1 -> 2.4.8
    gdbm: 1.21 -> 1.23
    git: 2.32.0_1 -> 2.35.1
    glib: 2.70.1,2 -> 2.70.4_2,2
    gnupg: 2.3.2 -> 2.3.3_3
    help2man: 1.48.5 -> 1.49.1
    jsoncpp: 1.9.4 -> 1.9.5
    libarchive: 3.5.1,1 -> 3.6.0,1
    libedit: 3.1.20210216,1 -> 3.1.20210910,1
    libgpg-error: 1.42 -> 1.44
    libnghttp2: 1.44.0 -> 1.46.0
    libssh2: 1.9.0_3,3 -> 1.10.0,3
    libtasn1: 4.17.0 -> 4.18.0
    libunistring: 0.9.10_1 -> 1.0
    libxml2: 2.9.12 -> 2.9.13
    meson: 0.59.1 -> 0.62.0
    nano: 5.8 -> 6.0
    p11-kit: 0.24.0 -> 0.24.1
    p5-CGI: 4.53 -> 4.54
    p5-GSSAPI: 0.28_1 -> 0.28_2
    p5-HTML-Parser: 3.76_1 -> 3.77
    p5-HTTP-Message: 6.33 -> 6.36
    p5-IO-Socket-SSL: 2.072 -> 2.074
    p5-Mozilla-CA: 20200520 -> 20211001
    p5-URI: 5.09 -> 5.10
    pcre: 8.45 -> 8.45_1
    pcre2: 10.39 -> 10.39_1
    pinentry: 1.1.1 -> 1.2.0
    pinentry-curses: 1.1.1 -> 1.2.0
    pinentry-tty: 1.1.1 -> 1.2.0
    pkgconf: 1.7.4,1 -> 1.8.0,1
    protobuf: 3.17.3,1 -> 3.19.4,1
    protobuf-c: 1.4.0_1 -> 1.4.0_2
    py37-cython: 0.29.24 -> 0.29.28
    python37: 3.7.12 -> 3.7.13
    python38: 3.8.12 -> 3.8.13
    readline: 8.1.1 -> 8.1.2
    sqlite3: 3.35.5_3,1 -> 3.37.2,1
    texinfo: 6.8,1 -> 6.8_1,1
    utf8proc: 2.6.1 -> 2.7.0
    zstd: 1.5.0 -> 1.5.2

Installed packages to be REINSTALLED:
    libgcrypt-1.9.4 (options changed)
    libtool-2.4.6_1 (ABI changed: 'freebsd:13:x86:64' -> 'freebsd:13:*')
    m4-1.4.19,1 (options changed)

Number of packages to be installed: 1
Number of packages to be upgraded: 51
Number of packages to be reinstalled: 3

The process will require 68 MiB more space.
134 MiB to be downloaded.

Proceed with this action? [y/N]: y


---- OUTPUT:

Proceed with this action? [y/N]: y
[1/55] Fetching zstd-1.5.2.pkg: 100%  471 KiB 482.0kB/s    00:01    
[2/55] Fetching utf8proc-2.7.0.pkg: 100%   63 KiB  65.0kB/s    00:01    
[3/55] Fetching texinfo-6.8_1,1.pkg: 100%    1 MiB   1.2MB/s    00:01    
[4/55] Fetching sqlite3-3.37.2,1.pkg: 100%    1 MiB   1.3MB/s    00:01    
[5/55] Fetching readline-8.1.2.pkg: 100%  361 KiB 369.5kB/s    00:01    
[6/55] Fetching python38-3.8.13.pkg: 100%   23 MiB  24.6MB/s    00:01    
[7/55] Fetching python37-3.7.13.pkg: 100%   22 MiB  23.0MB/s    00:01    
[8/55] Fetching py37-cython-0.29.28.pkg: 100%    2 MiB   1.9MB/s    00:01    
[9/55] Fetching protobuf-c-1.4.0_2.pkg: 100%  185 KiB 189.9kB/s    00:01    
[10/55] Fetching protobuf-3.19.4,1.pkg: 100%    3 MiB   3.1MB/s    00:01    
[11/55] Fetching pkgconf-1.8.0,1.pkg: 100%   67 KiB  68.3kB/s    00:01    
[12/55] Fetching pinentry-tty-1.2.0.pkg: 100%   29 KiB  29.9kB/s    00:01    
[13/55] Fetching pinentry-curses-1.2.0.pkg: 100%   32 KiB  32.9kB/s    00:01    
[14/55] Fetching pinentry-1.2.0.pkg: 100%   17 KiB  17.4kB/s    00:01    
[15/55] Fetching pcre2-10.39_1.pkg: 100%    1 MiB   1.3MB/s    00:01    
[16/55] Fetching pcre-8.45_1.pkg: 100%    1 MiB   1.3MB/s    00:01    
[17/55] Fetching p5-URI-5.10.pkg: 100%   80 KiB  82.2kB/s    00:01    
[18/55] Fetching p5-Mozilla-CA-20211001.pkg: 100%  118 KiB 121.3kB/s    00:01    
[19/55] Fetching p5-IO-Socket-SSL-2.074.pkg: 100%  175 KiB 179.4kB/s    00:01    
[20/55] Fetching p5-HTTP-Message-6.36.pkg: 100%   79 KiB  80.6kB/s    00:01    
[21/55] Fetching p5-HTML-Parser-3.77.pkg: 100%   78 KiB  80.3kB/s    00:01    
[22/55] Fetching p5-GSSAPI-0.28_2.pkg: 100%   39 KiB  40.4kB/s    00:01    
[23/55] Fetching p5-CGI-4.54.pkg: 100%  155 KiB 158.6kB/s    00:01    
[24/55] Fetching p11-kit-0.24.1.pkg: 100%  450 KiB 460.6kB/s    00:01    
[25/55] Fetching nano-6.0.pkg: 100%  567 KiB 580.9kB/s    00:01    
[26/55] Fetching meson-0.62.0.pkg: 100%    1 MiB   1.3MB/s    00:01    
[27/55] Fetching m4-1.4.19,1.pkg: 100%  253 KiB 258.7kB/s    00:01    
[28/55] Fetching libxml2-2.9.13.pkg: 100%    1 MiB   1.4MB/s    00:01    
[29/55] Fetching libunistring-1.0.pkg: 100%  550 KiB 562.9kB/s    00:01    
[30/55] Fetching libtool-2.4.6_1.pkg: 100%  357 KiB 365.2kB/s    00:01    
[31/55] Fetching libtasn1-4.18.0.pkg: 100%  147 KiB 150.3kB/s    00:01    
[32/55] Fetching libssh2-1.10.0,3.pkg: 100%  248 KiB 254.0kB/s    00:01    
[33/55] Fetching libnghttp2-1.46.0.pkg: 100%  119 KiB 121.9kB/s    00:01    
[34/55] Fetching libgpg-error-1.44.pkg: 100%  310 KiB 317.6kB/s    00:01    
[35/55] Fetching libgcrypt-1.9.4.pkg: 100%  839 KiB 859.3kB/s    00:01    
[36/55] Fetching libedit-3.1.20210910,1.pkg: 100%  136 KiB 139.1kB/s    00:01    
[37/55] Fetching libarchive-3.6.0,1.pkg: 100%  501 KiB 512.6kB/s    00:01    
[38/55] Fetching jsoncpp-1.9.5.pkg: 100%  124 KiB 126.5kB/s    00:01    
[39/55] Fetching help2man-1.49.1.pkg: 100%  155 KiB 158.7kB/s    00:01    
[40/55] Fetching gnupg-2.3.3_3.pkg: 100%    2 MiB   2.4MB/s    00:01    
[41/55] Fetching glib-2.70.4_2,2.pkg: 100%    3 MiB   3.4MB/s    00:01    
[42/55] Fetching git-2.35.1.pkg: 100%    5 MiB   5.3MB/s    00:01    
[43/55] Fetching gdbm-1.23.pkg: 100%  208 KiB 213.0kB/s    00:01    
[44/55] Fetching expat-2.4.8.pkg: 100%  106 KiB 108.2kB/s    00:01    
[45/55] Fetching en-freebsd-doc-20220326,1.pkg: 100%   10 MiB  11.0MB/s    00:01    
[46/55] Fetching db5-5.3.28_8.pkg: 100%   12 MiB  12.9MB/s    00:01    
[47/55] Fetching curl-7.82.0.pkg: 100%    1 MiB   1.4MB/s    00:01    
[48/55] Fetching cmake-3.22.2.pkg: 100%    6 MiB   6.2MB/s    00:01    
[49/55] Fetching ca_root_nss-3.76.pkg: 100%  260 KiB 266.1kB/s    00:01    
[50/55] Fetching bind916-9.16.27.pkg: 100%    8 MiB   8.2MB/s    00:01    
[51/55] Fetching bind-tools-9.16.27.pkg: 100%    4 MiB   4.2MB/s    00:01    
[52/55] Fetching automake-1.16.5.pkg: 100%  551 KiB 563.8kB/s    00:01    
[53/55] Fetching apr-1.7.0.1.6.1_2.pkg: 100%  469 KiB 480.7kB/s    00:01    
[54/55] Fetching apache24-2.4.53.pkg: 100%    5 MiB   5.4MB/s    00:01    
[55/55] Fetching icu-70.1_1,1.pkg: 100%   11 MiB  11.1MB/s    00:01    
Checking integrity... done (0 conflicting)
[1/55] Upgrading readline from 8.1.1 to 8.1.2...
[1/55] Extracting readline-8.1.2: 100%
[2/55] Installing icu-70.1_1,1...
[2/55] Extracting icu-70.1_1,1: 100%
[3/55] Upgrading python38 from 3.8.12 to 3.8.13...
[3/55] Extracting python38-3.8.13: 100%
[4/55] Upgrading pcre from 8.45 to 8.45_1...
[4/55] Extracting pcre-8.45_1: 100%
[5/55] Upgrading p5-URI from 5.09 to 5.10...
[5/55] Extracting p5-URI-5.10: 100%
[6/55] Upgrading libxml2 from 2.9.12 to 2.9.13...
[6/55] Extracting libxml2-2.9.13: 100%
[7/55] Upgrading libgpg-error from 1.42 to 1.44...
[7/55] Extracting libgpg-error-1.44: 100%
[8/55] Upgrading p5-HTTP-Message from 6.33 to 6.36...
[8/55] Extracting p5-HTTP-Message-6.36: 100%
[9/55] Upgrading libunistring from 0.9.10_1 to 1.0...
[9/55] Extracting libunistring-1.0: 100%
[10/55] Upgrading libtasn1 from 4.17.0 to 4.18.0...
[10/55] Extracting libtasn1-4.18.0: 100%
[11/55] Upgrading glib from 2.70.1,2 to 2.70.4_2,2...
[11/55] Extracting glib-2.70.4_2,2: 100%
[12/55] Upgrading ca_root_nss from 3.69_1 to 3.76...
[12/55] Extracting ca_root_nss-3.76: 100%
[13/55] Upgrading zstd from 1.5.0 to 1.5.2...
[13/55] Extracting zstd-1.5.2: 100%
[14/55] Upgrading python37 from 3.7.12 to 3.7.13...
[14/55] Extracting python37-3.7.13: 100%
[15/55] Upgrading protobuf from 3.17.3,1 to 3.19.4,1...
[15/55] Extracting protobuf-3.19.4,1: 100%
[16/55] Upgrading pinentry-curses from 1.1.1 to 1.2.0...
[16/55] Extracting pinentry-curses-1.2.0: 100%
[17/55] Upgrading p5-Mozilla-CA from 20200520 to 20211001...
[17/55] Extracting p5-Mozilla-CA-20211001: 100%
[18/55] Upgrading p5-HTML-Parser from 3.76_1 to 3.77...
[18/55] Extracting p5-HTML-Parser-3.77: 100%
[19/55] Upgrading p5-GSSAPI from 0.28_1 to 0.28_2...
[19/55] Extracting p5-GSSAPI-0.28_2: 100%
[20/55] Upgrading p11-kit from 0.24.0 to 0.24.1...
[20/55] Extracting p11-kit-0.24.1: 100%
[21/55] Reinstalling m4-1.4.19,1...
[21/55] Extracting m4-1.4.19,1: 100%
[22/55] Upgrading libssh2 from 1.9.0_3,3 to 1.10.0,3...
[22/55] Extracting libssh2-1.10.0,3: 100%
[23/55] Upgrading libnghttp2 from 1.44.0 to 1.46.0...
[23/55] Extracting libnghttp2-1.46.0: 100%
[24/55] Upgrading libedit from 3.1.20210216,1 to 3.1.20210910,1...
[24/55] Extracting libedit-3.1.20210910,1: 100%
[25/55] Upgrading gdbm from 1.21 to 1.23...
[25/55] Extracting gdbm-1.23: 100%
[26/55] Upgrading expat from 2.4.1 to 2.4.8...
[26/55] Extracting expat-2.4.8: 100%
[27/55] Upgrading db5 from 5.3.28_7 to 5.3.28_8...
[27/55] Extracting db5-5.3.28_8: 100%
[28/55] Upgrading sqlite3 from 3.35.5_3,1 to 3.37.2,1...
[28/55] Extracting sqlite3-3.37.2,1: 100%
[29/55] Upgrading protobuf-c from 1.4.0_1 to 1.4.0_2...
[29/55] Extracting protobuf-c-1.4.0_2: 100%
[30/55] Upgrading pinentry from 1.1.1 to 1.2.0...
[30/55] Extracting pinentry-1.2.0: 100%
[31/55] Upgrading pcre2 from 10.39 to 10.39_1...
[31/55] Extracting pcre2-10.39_1: 100%
[32/55] Upgrading p5-IO-Socket-SSL from 2.072 to 2.074...
[32/55] Extracting p5-IO-Socket-SSL-2.074: 100%
[33/55] Upgrading p5-CGI from 4.53 to 4.54...
[33/55] Extracting p5-CGI-4.54: 100%
[34/55] Reinstalling libgcrypt-1.9.4...
[34/55] Extracting libgcrypt-1.9.4: 100%
[35/55] Upgrading libarchive from 3.5.1,1 to 3.6.0,1...
[35/55] Extracting libarchive-3.6.0,1: 100%
[36/55] Upgrading jsoncpp from 1.9.4 to 1.9.5...
[36/55] Extracting jsoncpp-1.9.5: 100%
[37/55] Upgrading curl from 7.79.1 to 7.82.0...
[37/55] Extracting curl-7.82.0: 100%
[38/55] Upgrading bind-tools from 9.16.22 to 9.16.27...
[38/55] Extracting bind-tools-9.16.27: 100%
[39/55] Upgrading apr from 1.7.0.1.6.1_1 to 1.7.0.1.6.1_2...
[39/55] Extracting apr-1.7.0.1.6.1_2: 100%
[40/55] Upgrading utf8proc from 2.6.1 to 2.7.0...
[40/55] Extracting utf8proc-2.7.0: 100%
[41/55] Upgrading texinfo from 6.8,1 to 6.8_1,1...
[41/55] Extracting texinfo-6.8_1,1: 100%
[42/55] Upgrading py37-cython from 0.29.24 to 0.29.28...
[42/55] Extracting py37-cython-0.29.28: 100%
[43/55] Upgrading pkgconf from 1.7.4,1 to 1.8.0,1...
[43/55] Extracting pkgconf-1.8.0,1: 100%
[44/55] Upgrading pinentry-tty from 1.1.1 to 1.2.0...
[44/55] Extracting pinentry-tty-1.2.0: 100%
[45/55] Upgrading nano from 5.8 to 6.0...
[45/55] Extracting nano-6.0: 100%
[46/55] Upgrading meson from 0.59.1 to 0.62.0...
[46/55] Extracting meson-0.62.0: 100%
[47/55] Reinstalling libtool-2.4.6_1...
[47/55] Extracting libtool-2.4.6_1: 100%
[48/55] Upgrading help2man from 1.48.5 to 1.49.1...
[48/55] Extracting help2man-1.49.1: 100%
[49/55] Upgrading gnupg from 2.3.2 to 2.3.3_3...
[49/55] Extracting gnupg-2.3.3_3: 100%
[50/55] Upgrading git from 2.32.0_1 to 2.35.1...
===> Creating groups.
Using existing group 'git_daemon'.
===> Creating users
Using existing user 'git_daemon'.
[50/55] Extracting git-2.35.1: 100%
[51/55] Upgrading en-freebsd-doc from 20211029,1 to 20220326,1...
[51/55] Extracting en-freebsd-doc-20220326,1: 100%
[52/55] Upgrading cmake from 3.21.3 to 3.22.2...
[52/55] Extracting cmake-3.22.2: 100%
[53/55] Upgrading bind916 from 9.16.22 to 9.16.27...
[53/55] Extracting bind916-9.16.27: 100%
[54/55] Upgrading automake from 1.16.4 to 1.16.5...
[54/55] Extracting automake-1.16.5: 100%
[55/55] Upgrading apache24 from 2.4.51 to 2.4.53...
===> Creating groups.
Using existing group 'www'.
===> Creating users
Using existing user 'www'.
[55/55] Extracting apache24-2.4.53: 100%
Compiling glib schemas
No schema files found: doing nothing.
=====
Message from db5-5.3.28_8:

--
===>   NOTICE:

The db5 port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
--
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

EOLd, potential security issues, maybe use db18 instead.

It is scheduled to be removed on or after 2022-06-30.
You may need to manually remove /usr/local/etc/namedb/named.conf if it is no longer needed.
You may need to manually remove /usr/local/etc/apache24/httpd.conf if it is no longer needed.
root@supernova:~ #

I then ran: "pkg update":

Code:
root@supernova:~ # pkg update
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
root@supernova:~ #


I then ran: "pkg upgrade":

Code:
root@supernova:~ # pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
root@supernova:~ #

I rebooted my Host Server and then logged into a Jail I cloned for testing this upgrades until I can find a remedy or if someone saves the day with the solution!

Jail (fireblade): "pkg upgrade"

Code:
root@fireblade:~ # pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (180 candidates): 100%
Processing candidates (180 candidates): 100%
The following 88 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    fontconfig: 2.13.92_2,1
    libICE: 1.0.10,1
    libSM: 1.2.3,1
    libX11: 1.6.12,1
    libXau: 1.0.9
    libXaw: 1.0.13_3,2
    libXdmcp: 1.1.3
    libXext: 1.3.4,1
    libXmu: 1.1.3,1
    libXpm: 3.5.13
    libXt: 1.2.0,1
    libpthread-stubs: 0.4
    libxcb: 1.13.1
    xorgproto: 2020.1

Installed packages to be UPGRADED:
    apache24: 2.4.43 -> 2.4.46
    ca_root_nss: 3.54 -> 3.56
    curl: 7.69.1 -> 7.72.0
    gettext-runtime: 0.20.1 -> 0.20.2
    git: 2.26.2 -> 2.27.0
    libgpg-error: 1.37 -> 1.38
    libksba: 1.3.5_1 -> 1.4.0
    libtasn1: 4.15.0 -> 4.16.0
    nano: 4.8 -> 4.9.2
    nasm: 2.14.02,1 -> 2.15.03,1
    nettle: 3.5.1_1 -> 3.6
    p11-kit: 0.23.18.1 -> 0.23.20
    p5-CGI: 4.46 -> 4.50
    p5-IO-Socket-SSL: 2.067 -> 2.068
    p5-subversion: 1.13.0 -> 1.14.0
    php74: 7.4.7 -> 7.4.9
    php74-bcmath: 7.4.7 -> 7.4.9
    php74-bz2: 7.4.7 -> 7.4.9
    php74-calendar: 7.4.7 -> 7.4.9
    php74-ctype: 7.4.7 -> 7.4.9
    php74-curl: 7.4.7 -> 7.4.9
    php74-dba: 7.4.7 -> 7.4.9
    php74-dom: 7.4.7 -> 7.4.9
    php74-enchant: 7.4.7 -> 7.4.9
    php74-exif: 7.4.7 -> 7.4.9
    php74-ffi: 7.4.7 -> 7.4.9
    php74-fileinfo: 7.4.7 -> 7.4.9
    php74-filter: 7.4.7 -> 7.4.9
    php74-ftp: 7.4.7 -> 7.4.9
    php74-gd: 7.4.7 -> 7.4.9
    php74-gettext: 7.4.7 -> 7.4.9
    php74-gmp: 7.4.7 -> 7.4.9
    php74-iconv: 7.4.7 -> 7.4.9
    php74-imap: 7.4.7 -> 7.4.9
    php74-intl: 7.4.7 -> 7.4.9
    php74-json: 7.4.7 -> 7.4.9
    php74-ldap: 7.4.7 -> 7.4.9
    php74-mbstring: 7.4.7 -> 7.4.9
    php74-mysqli: 7.4.7 -> 7.4.9
    php74-opcache: 7.4.7 -> 7.4.9
    php74-openssl: 7.4.7 -> 7.4.9
    php74-pcntl: 7.4.7 -> 7.4.9
    php74-phar: 7.4.7 -> 7.4.9
    php74-posix: 7.4.7 -> 7.4.9
    php74-pspell: 7.4.7 -> 7.4.9
    php74-readline: 7.4.7 -> 7.4.9
    php74-session: 7.4.7 -> 7.4.9
    php74-shmop: 7.4.7 -> 7.4.9
    php74-simplexml: 7.4.7 -> 7.4.9
    php74-snmp: 7.4.7 -> 7.4.9
    php74-soap: 7.4.7 -> 7.4.9
    php74-sockets: 7.4.7 -> 7.4.9
    php74-sodium: 7.4.7 -> 7.4.9
    php74-sysvmsg: 7.4.7 -> 7.4.9
    php74-sysvshm: 7.4.7 -> 7.4.9
    php74-tidy: 7.4.7 -> 7.4.9
    php74-tokenizer: 7.4.7 -> 7.4.9
    php74-xml: 7.4.7 -> 7.4.9
    php74-xmlreader: 7.4.7 -> 7.4.9
    php74-xmlrpc: 7.4.7 -> 7.4.9
    php74-xmlwriter: 7.4.7 -> 7.4.9
    php74-xsl: 7.4.7 -> 7.4.9
    php74-zip: 7.4.7 -> 7.4.9
    php74-zlib: 7.4.7 -> 7.4.9
    python37: 3.7.7_1 -> 3.7.9
    serf: 1.3.9_4 -> 1.3.9_5
    sqlite3: 3.30.1_2,1 -> 3.32.2,1
    subversion: 1.13.0_1 -> 1.14.0
    trousers: 0.3.14_2 -> 0.3.14_3
    utf8proc: 2.4.0 -> 2.5.0

Installed packages to be REINSTALLED:
    dialog4ports-0.1.6 (option removed: BUCKETEER)
    gnutls-3.6.14 (needed shared library changed)
    libgd-2.3.0,1 (options changed)
    t1lib-5.1.2_5,1 (options changed)

Number of packages to be installed: 14
Number of packages to be upgraded: 70
Number of packages to be reinstalled: 4

The process will require 23 MiB more space.
53 MiB to be downloaded.

Proceed with this action? [y/N]: y
pkg: http://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly/All/utf8proc-2.5.0.txz: Not Found
root@fireblade:~ #

It's still showing 12:amd64 and I have no idea where this is stored!

Code:
root@supernova:~ # pkg -j 1 upgrade
Updating FreeBSD repository catalogue...
[fireblade] Fetching packagesite.pkg: 100%    6 MiB   6.7MB/s    00:01    
Processing entries:   0%
Newer FreeBSD version for package php74-pear-channel-pirum:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1203000
- running kernel: 1201000
Ignore the mismatch and continue? [y/N]: n
pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:12:amd64
Processing entries: 100%
Unable to update repository FreeBSD
Error updating repositories!
root@supernova:~ # pkg -j 1 update
Updating FreeBSD repository catalogue...
[fireblade] Fetching packagesite.pkg: 100%    6 MiB   6.7MB/s    00:01    
Processing entries:   0%
Newer FreeBSD version for package php74-pear-channel-pirum:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1203000
- running kernel: 1201000
Ignore the mismatch and continue? [y/N]: n
pkg: repository FreeBSD contains packages for wrong OS version: FreeBSD:12:amd64
Processing entries: 100%
Unable to update repository FreeBSD
Error updating repositories!
root@supernova:~ #

What should be my next troubleshooting step?

Best Regards,

Brandon!
 
It definitely seems confused about the kernel on your jail, doesn't it? So whether you do the pkg updating commands from the host or the jail itself it doesn't like the kernel.

I've looked in the Lucas "Jails" book and he talks about two sysctls that you can tweak - kern.osrelease and kern.osreldate - in the jail.

What do you get if you do this (twice, one on host, once on jail):

Code:
# sysctl -a | grep osrel
kern.osrelease: 13.0-RELEASE-p11
kern.osreldate: 1300139

My values are from a host (I don't run jails).

Looks like you can set those values in /etc/jail.conf - have you got that file? Anything in there?
 
It definitely seems confused about the kernel on your jail, doesn't it? So whether you do the pkg updating commands from the host or the jail itself it doesn't like the kernel.

I've looked in the Lucas "Jails" book and he talks about two sysctls that you can tweak - kern.osrelease and kern.osreldate - in the jail.

What do you get if you do this (twice, one on host, once on jail):

Code:
# sysctl -a | grep osrel
kern.osrelease: 13.0-RELEASE-p11
kern.osreldate: 1300139

My values are from a host (I don't run jails).

Looks like you can set those values in /etc/jail.conf - have you got that file? Anything in there?
richardtoohey2,

Thank you for this! I have the following:

Host:
Code:
root@supernova:~ # sysctl -a | grep osrel
kern.osrelease: 13.0-RELEASE-p11
kern.osreldate: 1300139
kern.disallow_high_osrel: 0
security.jail.param.osrelease: 32
security.jail.param.osreldate: 0
root@supernova:~ #

Jail:
Code:
root@fireblade:~ # sysctl -a | grep osrel
kern.osrelease: 13.0-RELEASE-p11
kern.osreldate: 1300139
kern.disallow_high_osrel: 0
security.jail.param.osrelease: 32
security.jail.param.osreldate: 0
root@fireblade:~ #

I do not have /etc/jail.conf ... hmm... :(

Best Regards,

Brandon!
 
Looks like ezjail has its own /etc/ezjail.conf file.

Anything in the man page? Any rc scripts? Any notes from when you set things up?

richardtoohey2,

Thank you! I found mine /usr/local/etc/ezjail.conf and the contents are as follows:

Code:
# ezjail.conf - Example file, see ezjail.conf(5)
#
# Note: If you alter some of those variables AFTER creating your first
# jail, you may have to adapt /etc/fstab.* and /usr/local/etc/ezjail/* by
# hand

# Location of jail root directories
#
# Note: If you have spread your jails to multiple locations, use softlinks
# to collect them in this directory
# ezjail_jaildir=/usr/jails

# Location of the tiny skeleton jail template
# ezjail_jailtemplate=${ezjail_jaildir}/newjail

# Location of the huge base jail
# ezjail_jailbase=${ezjail_jaildir}/basejail

# Location of your copy of FreeBSD's source tree
# ezjail_sourcetree=/usr/src

# This is where the install sub command defaults to fetch its packages from
# ezjail_ftphost=ftp.freebsd.org

# This is the command that is being executed by the console subcommand
# ezjail_default_execute="/usr/bin/login -f root"

# This is the flavour used by default when setting up a new jail
# ezjail_default_flavour=""

# This is the default location where ezjail archives its jails to
# ezjail_archivedir="${ezjail_jaildir}/ezjail_archives"

# base jail will provide a soft link from /usr/bin/perl to /usr/local/bin/perl
# to accomodate all scripts using '#!/usr/bin/perl'...
# ezjail_uglyperlhack="YES"

# Default options for newly created jails
#
# Note: Be VERY careful about disabling ezjail_mount_enable. Mounting
# basejail via nullfs depends on this. You will have to find other
# ways to provide your jail with essential system files
# ezjail_mount_enable="YES"
# ezjail_devfs_enable="YES"
# ezjail_devfs_ruleset="devfsrules_jail"
# ezjail_procfs_enable="YES"
# ezjail_fdescfs_enable="YES"

# ZFS options

# Setting this to YES will start to manage the basejail and newjail in ZFS
# ezjail_use_zfs="YES"

# Setting this to YES will manage ALL new jails in their own zfs
# ezjail_use_zfs_for_jails="YES"

# The name of the ZFS ezjail should create jails on, it will be mounted at the ezjail_jaildir
# ezjail_jailzfs="tank/ezjail"

# ADVANCED, be very careful!
# ezjail_zfs_properties="-o compression=lzjb -o atime=off"
# ezjail_zfs_jail_properties="-o dedup=on"

# For auto snapshots this is the default policy to keep old snapshots. In each window there
# will be guaranteed to be one or two snapshots only
# If this variable is not set, no snapshots will be removed by ezjail-admin snapshot

# Example policy for a database jail with rollbackable snapshots starting with four snapshots
# in the last hour and up to an annual snapshot for 1000 years. Beware of the load caused by
# destroying snapshots.
# ezjail_default_retention_policy="4x15m 3x1h 2x2h 4h 12h 6x1d 7x1w 11x4w 1000x1y"

72 Lines and nothing regarding FreeBSD 12 amd64

Best Regards,

Brandon!
 
After you upgraded the host from 12.x to 13.0, did you also upgrade your jail with ezjail-admin update -U ...?

Code:
     ezjail-admin command arguments... update -U -s 8.0-RELEASE
             Upgrade the base jail to the host system's release using
             freebsd-update(8). This may be used only to upgrade an existing
             installation. Tell freebsd-update which OS version to expect in
             the basejail via the -s option.

             Note: Check uname(1) and especially the UNAME_r environment
             variable to upgrade to different versions.

Your issue sounds like you never upgraded your jail and instead only ran ezjail-admin update -u (note the difference between -u and -U).
 
After you upgraded the host from 12.x to 13.0, did you also upgrade your jail with ezjail-admin update -U ...?

Code:
     ezjail-admin command arguments... update -U -s 8.0-RELEASE
             Upgrade the base jail to the host system's release using
             freebsd-update(8). This may be used only to upgrade an existing
             installation. Tell freebsd-update which OS version to expect in
             the basejail via the -s option.

             Note: Check uname(1) and especially the UNAME_r environment
             variable to upgrade to different versions.

Your issue sounds like you never upgraded your jail and instead only ran ezjail-admin update -u (note the difference between -u and -U).
SirDice,

Thank you for this!

I am unsure; I don't remember don't an uppercase -U switch.

I just shut down all the jails and ran the command on the host as follows:

Code:
root@supernova:~ # ezjail-admin update -U
Error: Can not (yet automatically) infer the basejail's osversion.
  Please run ezjail-admin update -U -s X.X-RELEASE, with X.X-RELEASE being to osversion currently installed in the basejail in need of an upgrade.
root@supernova:~ #

Does that mean I need to run the following?:

Code:
ezjail-admin update -U -s 13.0-RELEASE


Best Regards,

Brandon!
 
Does that mean I need to run the following?:

Code:
ezjail-admin update -U -s 13.0-RELEASE
Version should be what the base jail originally is, it will get upgraded to the same version as the host. From some of your previous posts I'm guessing it was originally a 12.1-RELEASE. So ezjail-admin update -U -s 12.1-RELEASE.

This version mix up happened because ezjail-admin update -u assumes the base jail has the same version as the host. It then installed a couple of patches intended for 13.0-RELEASE in your 12.1-RELEASE base jail (because it wasn't upgraded yet). That screwed up freebsd-version(8) in the jail.
 
Version should be what the base jail originally is, it will get upgraded to the same version as the host. From some of your previous posts I'm guessing it was originally a 12.1-RELEASE. So ezjail-admin update -U -s 12.1-RELEASE.

This version mix up happened because ezjail-admin update -u assumes the base jail has the same version as the host. It then installed a couple of patches intended for 13.0-RELEASE in your 12.1-RELEASE base jail (because it wasn't upgraded yet). That screwed up freebsd-version(8) in the jail.
SirDice,

Thank you very much for this Sir!

Does this look like the correct output?

Code:
root@supernova:~ # ezjail-admin update -U -s 12.1-RELEASE
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 12.1-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata patches.. done.
Applying metadata patches... done.
Fetching 2 metadata files... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic world/base world/base-dbg world/doc world/lib32
world/lib32-dbg

The following components of FreeBSD do not seem to be installed:
kernel/generic-dbg

Does this look reasonable (y/n)?

Yes and Proceed or ?

Thank you again, all of you!

Best Regards,

Brandon!
 
*** Update 04/15/2022 @ Approx. 13:09

I said yes and shutdown the jails and this is what I have gotten so far:

Code:
/usr/share/openssl/man/man3/i2d_OCSP_CERTSTATUS.3.gz
...
...
/usr/share/zoneinfo/Pacific/Efate
To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".
src component not installed, skipped
Installing updates...
Kernel updates have been installed.  Please reboot and run
"/usr/sbin/freebsd-update install" again to finish installing updates.
src component not installed, skipped
Installing updates...install: /usr/jails/basejail//etc/periodic/daily/221.backup-gpart: No such file or directory
install: /usr/jails/basejail//etc/periodic/daily/222.backup-gmirror: No such file or directory
install: /usr/jails/basejail//etc/periodic/daily/223.backup-zfs: No such file or directory
install: /usr/jails/basejail//etc/rc.d/linux: No such file or directory
install: /usr/jails/basejail//etc/rc.d/os-release: No such file or directory
install: /usr/jails/basejail//etc/rc.d/sysvipc: No such file or directory
install: /usr/jails/basejail//etc/rc.d/zpool: No such file or directory
install: /usr/jails/basejail//root/.shrc: No such file or directory

Once this finishes or perhaps I have to cntrl+z/c ? *Unsure*

I need to run this it says:

Code:
To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".
src component not installed, skipped
Installing updates...
Kernel updates have been installed.  Please reboot and run
"/usr/sbin/freebsd-update install" again to finish installing updates.

After this message; it's "going slow" here...

Code:
To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".
src component not installed, skipped
Installing updates...
Kernel updates have been installed.  Please reboot and run
"/usr/sbin/freebsd-update install" again to finish installing updates.
src component not installed, skipped
Installing updates...install: /usr/jails/basejail//etc/periodic/daily/221.backup-gpart: No such file or directory
install: /usr/jails/basejail//etc/periodic/daily/222.backup-gmirror: No such file or directory
install: /usr/jails/basejail//etc/periodic/daily/223.backup-zfs: No such file or directory
install: /usr/jails/basejail//etc/rc.d/linux: No such file or directory
install: /usr/jails/basejail//etc/rc.d/os-release: No such file or directory
install: /usr/jails/basejail//etc/rc.d/sysvipc: No such file or directory
install: /usr/jails/basejail//etc/rc.d/zpool: No such file or directory
install: /usr/jails/basejail//root/.shrc: No such file or directory
install: /usr/jails/basejail//var/db/etcupdate/current/etc/periodic/daily/221.backup-gpart: No such file or directory
install: /usr/jails/basejail//var/db/etcupdate/current/etc/periodic/daily/222.backup-gmirror: No such file or directory
install: /usr/jails/basejail//var/db/etcupdate/current/etc/periodic/daily/223.backup-zfs: No such file or directory
install: /usr/jails/basejail//var/db/etcupdate/current/etc/rc.d/linux: No such file or directory
install: /usr/jails/basejail//var/db/etcupdate/current/etc/rc.d/os-release: No such file or directory
install: /usr/jails/basejail//var/db/etcupdate/current/etc/rc.d/sysvipc: No such file or directory
install: /usr/jails/basejail//var/db/etcupdate/current/etc/rc.d/zpool: No such file or directory
install: /usr/jails/basejail//var/db/etcupdate/current/root/.shrc: No such file or directory
ln: /usr/jails/basejail//var/db/etcupdate/current/usr/share/nls/en_US.US_ASCII: No such file or directory
Scanning /usr/jails/basejail/usr/share/certs/blacklisted for certificates...
Scanning /usr/jails/basejail/usr/share/certs/trusted for certificates...
pwd_mkdb: /usr/jails/basejail/etc/master.passwd: No such file or directory
cap_mkdb: file argument: No such file or directory

Completing this upgrade requires removing old shared object files.
Please rebuild all installed 3rd party software (e.g., programs
installed from the ports tree) and then run "/usr/sbin/freebsd-update install"
again to finish installing updates.
src component not installed, skipped
Installing updates... done.
src component not installed, skipped
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.
src component not installed, skipped
Looking up update.FreeBSD.org mirrors...
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 12.1-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
The following components of FreeBSD seem to be installed:
kernel/generic world/doc

The following components of FreeBSD do not seem to be installed:
kernel/generic-dbg world/base world/base-dbg world/lib32 world/lib32-dbg

Does this look reasonable (y/n)?

Now it asks me again...

Code:
Does this look reasonable (y/n)? y
Does this look reasonable (y/n)? y

Fetching metadata signature for 13.0-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
The following files will be added as part of updating to
13.0-RELEASE-p11:
/boot/kernel/backlight.ko
/boot/kernel/cp2112.ko
/boot/kernel/ftwd.ko
/boot/kernel/gpioths.ko
/boot/kernel/hconf.ko
/boot/kernel/hcons.ko
/boot/kernel/hgame.ko
/boot/kernel/hid.ko
/boot/kernel/hidbus.ko
/boot/kernel/hidmap.ko
/boot/kernel/hidquirk.ko
/boot/kernel/hidraw.ko
/boot/kernel/hkbd.ko
/boot/kernel/hms.ko
/boot/kernel/hmt.ko
/boot/kernel/hpen.ko
/boot/kernel/hsctrl.ko
/boot/kernel/htu21.ko
/boot/kernel/hv_sock.ko
/boot/kernel/ice_ddp.ko
/boot/kernel/if_axp.ko
/boot/kernel/if_ice.ko
/boot/kernel/if_infiniband.ko
/boot/kernel/if_sume.ko
/boot/kernel/if_tuntap.ko
/boot/kernel/iichid.ko
/boot/kernel/iicmux.ko
/boot/kernel/itwd.ko
/boot/kernel/iwm9000fw.ko
/boot/kernel/iwm9260fw.ko
/boot/kernel/ktls_ocf.ko
/boot/kernel/lindebugfs.ko
/boot/kernel/ltc430x.ko
/boot/kernel/ng_checksum.ko
/boot/kernel/ng_macfilter.ko
/boot/kernel/ntb_tool.ko
/boot/kernel/ossl.ko
/boot/kernel/pchtherm.ko
/boot/kernel/ps4dshock.ko
/boot/kernel/pvscsi.ko
/boot/kernel/qat.ko
/boot/kernel/qat_c2xxxfw.ko
/boot/kernel/qat_c3xxxfw.ko
/boot/kernel/qat_c62xfw.ko
/boot/kernel/qat_d15xxfw.ko
/boot/kernel/qat_dh895xccfw.ko
/boot/kernel/qlnxr.ko
/boot/kernel/rtsx.ko
/boot/kernel/safexcel.ko
/boot/kernel/sctp.ko
/boot/kernel/sdio.ko
/boot/kernel/superio.ko
/boot/kernel/uacpi.ko
/boot/kernel/usbhid.ko
/boot/kernel/vmd.ko
/boot/kernel/xb360gp.ko
/boot/kernel/xdr.ko
To install the downloaded upgrades, run "/usr/sbin/freebsd-update install".
src component not installed, skipped
Installing updates...mkdir: /usr/jails/newjail//boot: No such file or directory
mtree: mtree: /usr/jails/newjail//boot/kernel: No such file or directory/usr/jails/newjail//boot/kernel.old: No such file or directory

touch: /usr/jails/newjail//boot/kernel.old/.freebsd-update: No such file or directory
Could not create kernel backup directory
root@supernova:~ #

I will be giving it a reboot now and hope its fixed!

Thank you again, all of you!

Best Regards,

Brandon!
 
Here is me logging into a Jail after...

Code:
root@supernova:~ # ezjail-admin console fireblade
Last login: Tue Apr 12 03:55:37 on pts/0
FreeBSD 13.0-RELEASE-p11 (GENERIC) #0: Tue Apr  5 18:54:35 UTC 2022

Welcome to FreeBSD!

Release Notes, Errata: https://www.FreeBSD.org/releases/
Security Advisories:   https://www.FreeBSD.org/security/
FreeBSD Handbook:      https://www.FreeBSD.org/handbook/
FreeBSD FAQ:           https://www.FreeBSD.org/faq/
Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/
FreeBSD Forums:        https://forums.FreeBSD.org/

Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with:  pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.

Show the version of FreeBSD installed:  freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages:  man man
FreeBSD directory layout:      man hier

Edit /etc/motd to change this login announcement.
root@fireblade:~ # pkg update
pkg: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
Updating FreeBSD repository catalogue...
pkg: Repository FreeBSD has a wrong packagesite, need to re-create database
[fireblade] Fetching meta.conf: 100%    163 B   0.2kB/s    00:01   
[fireblade] Fetching packagesite.txz: 100%    6 MiB   6.7MB/s    00:01   
Processing entries: 100%
FreeBSD repository update completed. 31166 packages processed.
All repositories are up to date.

Thank you SirDice and richardtoohey2!

How do I upgrade "everything" in each jail?

Also I just tried to edit my httpd.conf on a web server jail and received this when firing off nano:

Code:
root@jail:/usr/local/etc/apache24 # nano -c httpd.conf
ld-elf.so.1: Shared object "libncursesw.so.8" not found, required by "nano"
root@jail:/usr/local/etc/apache24 #

This is where upgrading everything comes in handy for a fix? Thanks in advance!

Best Regards,

Brandon!
 
Thank you everyone! This is solved by doing "pkg upgrade" over and over. Then re-installing packages removed.

I appreciate your help!

Code:
root@jail:~ # pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
root@jail:~ #

Best Regards,

Brandon!
 
Back
Top