Updating my poudriere jail after updating the host to FreeBSD 15.0

This post is related to Upgrading a FreeBSD 14.3 host to FreeBSD 15.0 which I wrote and ran earlier this evening. I’m now back from my Indian dinner and watching the Superbowl (0:15 left in the 2nd half).

I was updating r730-01 and got to the point of where I need to updated the packages on the host. I couldn’t do that. I hope my own FreeBSD pkg repo.

What I did before anything, snapshot:

[22:03 r730-01 dvl ~] % sudo zfs snapshot data02/jails/pkg01@before15.0
[22:03 r730-01 dvl ~] % 

That’s the filesystem for the jail in which I build my FreeBSD package.

Failed upgrade

This failed because it could not upgrade the packages. They did not exist.

root@r730-01:~ # mkjail upgrade -v 15.0-RELEASE -j pkg01
Missing required sets for 15.0-RELEASE.
Please run 'mkjail getrelease' for the version you want to upgrade to.



root@r730-01:~ # mkjail getrelease -v 15.0-RELEASE
Fetching release manifest...
MANIFEST                                              1044  B 9196 kBps    00s
Fetching release tarballs...
base.txz                                               157 MB   33 MBps    05s
lib32.txz                                               61 MB   32 MBps    02s
src.txz                                                238 MB   34 MBps    07s
base.txz: sha256 verified
lib32.txz: sha256 verified
src.txz: sha256 verified
Extracting src for use in jail upgrades...


root@r730-01:~ # mkjail upgrade -v 15.0-RELEASE -j pkg01
Upgrading pkg01 jail from 14.3-RELEASE to 15.0-RELEASE...

  D /.cshrc
  D /.profile
  D /etc/ftpusers
  D /etc/gss/qop
  D /etc/newsyslog.conf.d/ftp.conf
  D /etc/rc.d/ftpd
  D /etc/rc.d/gbde
...
  A /etc/rc.d/nuageinit_user_data_script
  A /etc/rc.d/virtual_oss
Warnings:
  Needs update: /etc/localtime (required manual update via tzsetup(8))
pkg: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        pkg: 2.5.1

Number of packages to be removed: 1

The operation will free 24 MiB.
[pkg01.int.unixathome.org] [1/1] Deinstalling pkg-2.5.1...
[pkg01.int.unixathome.org] [1/1] Deleting files for pkg-2.5.1: 100%
Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
[pkg01.int.unixathome.org] Installing pkg-2.5.1...
[pkg01.int.unixathome.org] Extracting pkg-2.5.1: 100%
Updating FreeBSD-ports repository catalogue...
[pkg01.int.unixathome.org] Fetching meta.conf: 100%    179 B   0.2 k/s    00:01    
[pkg01.int.unixathome.org] Fetching data: 100%   10 MiB   5.4 M/s    00:02    
Processing entries: 100%
FreeBSD-ports repository update completed. 36667 packages processed.
Updating FreeBSD-ports-kmods repository catalogue...
[pkg01.int.unixathome.org] Fetching meta.conf: 100%    179 B   0.2 k/s    00:01    
[pkg01.int.unixathome.org] Fetching data: 100%   35 KiB  35.4 k/s    00:01    
Processing entries: 100%
FreeBSD-ports-kmods repository update completed. 239 packages processed.
Updating local repository catalogue...
pkg-static: Repository local has a wrong packagesite, need to re-create database
pkg-static: Failed to fetch https://fedex.int.unixathome.org/packages/FreeBSD:15:amd64//meta.conf: Failed writing received data to disk/application
pkg-static: Failed to fetch https://fedex.int.unixathome.org/packages/FreeBSD:15:amd64//meta.txz: Failed writing received data to disk/application
repository local has no meta file, using default settings
pkg-static: Failed to fetch https://fedex.int.unixathome.org/packages/FreeBSD:15:amd64//data.pkg: Failed writing received data to disk/application
pkg-static: Failed to fetch https://fedex.int.unixathome.org/packages/FreeBSD:15:amd64//data.tzst: Failed writing received data to disk/application
pkg-static: Failed to fetch https://fedex.int.unixathome.org/packages/FreeBSD:15:amd64//packagesite.pkg: Failed writing received data to disk/application
pkg-static: Failed to fetch https://fedex.int.unixathome.org/packages/FreeBSD:15:amd64//packagesite.tzst: Failed writing received data to disk/application
Unable to update repository local
Error updating repositories!

Upgrade cancelled: reverting changes and cleaning up.

That failed, and I should have known it would fail.

Can I do this update without refreshing packages? No:

root@r730-01:~ # mkjail upgrade -h
usage: mkjail upgrade [-a] [-v TARGETVER] | [-j JAILNAME] [-v TARGETVER] [-p y/n]

        -a Upgrade all running jails
        -h Show help
        -j Jail name
        -p [y|n] whether or not to upgrade packages (y = default)
        -v FreeBSD version (e.g., 11.1-RELEASE)
        -p pkg flag, y or n - do you want to upgrade the packages - defaults to y - never specify n if changing major versions.

mkjail.sh: 2019, feld@FreeBSD.org

Why not? Because it says: “never specify n if changing major versions”.

Instead, I did this on the host:

root@r730-01:/usr/local/etc/pkg/repos # ls -l
total 5
-rw-r--r--  1 root wheel  25 Jan 17 22:25 FreeBSD.conf
-rw-r--r--  1 root wheel 169 Oct 28  2023 local.conf
root@r730-01:/usr/local/etc/pkg/repos # vi FreeBSD.conf 
root@r730-01:/usr/local/etc/pkg/repos # vi local.conf 
root@r730-01:/usr/local/etc/pkg/repos # 

In the above, I enabled FreeBSD and disabled local:

root@r730-01:/usr/local/etc/pkg/repos # grep enable *.conf
FreeBSD.conf:FreeBSD: { enabled: yes }
local.conf:   enabled: false

Then, following my usual update process for packages:

root@r730-01:~ # pkg update
pkg: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
root@r730-01:~ # pkg-static install -f pkg
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be REINSTALLED:
        pkg-2.5.1 [FreeBSD-ports] (ABI changed: 'FreeBSD:14:amd64' -> 'FreeBSD:15:amd64')

Number of packages to be reinstalled: 1

The process will require 6 MiB more space.
7 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching pkg-2.5.1: 100%    7 MiB   6.9 M/s    00:01    
Checking integrity... done (0 conflicting)
[1/1] Reinstalling pkg-2.5.1...
[1/1] Extracting pkg-2.5.1: 100%
root@r730-01:~ # pkg upgrade -f
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...

FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
Checking for upgrades (252 candidates): 100%
Processing candidates (252 candidates): 100%
The following 261 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        p5-Authen-SASL: 2.1900 [FreeBSD-ports]
        p5-Crypt-URandom: 0.54 [FreeBSD-ports]
        p5-Digest-HMAC: 1.05 [FreeBSD-ports]
        p5-IO-Socket-SSL: 2.095 [FreeBSD-ports]
        p5-MIME-Base32: 1.303 [FreeBSD-ports]
        p5-Mozilla-CA: 20250602 [FreeBSD-ports]
        p5-Net-SSLeay: 1.94 [FreeBSD-ports]
        p5-URI: 5.34 [FreeBSD-ports]
        postgresql17-client: 17.7_2 [FreeBSD-ports]
        py311-cairo: 1.28.0,1 [FreeBSD-ports]
        py311-packaging: 25.0 [FreeBSD-ports]
        py311-pygobject: 3.50.2 [FreeBSD-ports]
        python311: 3.11.14_1 [FreeBSD-ports]

Installed packages to be UPGRADED:
        iperf3: 3.19.1 -> 3.20_1 [FreeBSD-ports]

Installed packages to be DOWNGRADED:
        SamDruckerClientShell: 0.3.0beta6 -> 0.2.7 [FreeBSD-ports]
        iso-codes: 4.20.1 -> 4.19.0 [FreeBSD-ports]
        libpcap: 1.10.6 -> 1.10.5 [FreeBSD-ports]
        nagios-plugins: 2.4.4_1,1 -> 2.4.4,1 [FreeBSD-ports]
        p11-kit: 0.26.1 -> 0.25.10 [FreeBSD-ports]
        pygobject-common: 3.54.5 -> 3.50.2 [FreeBSD-ports]
        python: 3.12_3,2 -> 3.11_3,2 [FreeBSD-ports]
        wayland-protocols: 1.47 -> 1.45 [FreeBSD-ports]

Installed packages to be REINSTALLED:
        abseil-20250127.1 [FreeBSD-ports]
        adwaita-icon-theme-47.0 [FreeBSD-ports]
        adwaita-icon-theme-legacy-46.2 [FreeBSD-ports]
        apr-1.7.6.1.6.3 [FreeBSD-ports]
        argp-standalone-1.5.0_1 [FreeBSD-ports]
        at-spi2-core-2.56.7 [FreeBSD-ports]
        avahi-app-0.8_6 [FreeBSD-ports]
        bacula15-client-15.0.3 [FreeBSD-ports]
        bash-5.3.9 [FreeBSD-ports]
        bind-tools-9.20.18_2 [FreeBSD-ports]
        binutils-2.44,1 [FreeBSD-ports]
...
        zfs-stats-1.3.2 [FreeBSD-ports]
        zsh-5.9_5 [FreeBSD-ports]
        zstd-1.5.7_1 [FreeBSD-ports]

Number of packages to be installed: 13
Number of packages to be upgraded: 1
Number of packages to be reinstalled: 239
Number of packages to be downgraded: 8

The process will require 274 MiB more space.
530 MiB to be downloaded.

Proceed with thispkg upgrade -f: root@r730-01:~ # 
root@r730-01:~ # pkg upgrade -f
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
Checking for upgrades (252 candidates): 100%
Processing candidates (252 candidates): 100%
The following 261 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        p5-Authen-SASL: 2.1900 [FreeBSD-ports]
        p5-Crypt-URandom: 0.54 [FreeBSD-ports]
        p5-Digest-HMAC: 1.05 [FreeBSD-ports]
        p5-IO-Socket-SSL: 2.095 [FreeBSD-ports]
        p5-MIME-Base32: 1.303 [FreeBSD-ports]
        p5-Mozilla-CA: 20250602 [FreeBSD-ports]
        p5-Net-SSLeay: 1.94 [FreeBSD-ports]
        p5-URI: 5.34 [FreeBSD-ports]
        postgresql17-client: 17.7_2 [FreeBSD-ports]
        py311-cairo: 1.28.0,1 [FreeBSD-ports]
        py311-packaging: 25.0 [FreeBSD-ports]
        py311-pygobject: 3.50.2 [FreeBSD-ports]
        python311: 3.11.14_1 [FreeBSD-ports]

Installed packages to be UPGRADED:
        iperf3: 3.19.1 -> 3.20_1 [FreeBSD-ports]

Installed packages to be DOWNGRADED:
        SamDruckerClientShell: 0.3.0beta6 -> 0.2.7 [FreeBSD-ports]
        iso-codes: 4.20.1 -> 4.19.0 [FreeBSD-ports]
        libpcap: 1.10.6 -> 1.10.5 [FreeBSD-ports]
        nagios-plugins: 2.4.4_1,1 -> 2.4.4,1 [FreeBSD-ports]
        p11-kit: 0.26.1 -> 0.25.10 [FreeBSD-ports]
        pygobject-common: 3.54.5 -> 3.50.2 [FreeBSD-ports]
        python: 3.12_3,2 -> 3.11_3,2 [FreeBSD-ports]
        wayland-protocols: 1.47 -> 1.45 [FreeBSD-ports]

Installed packages to be REINSTALLED:
        abseil-20250127.1 [FreeBSD-ports]
        adwaita-icon-theme-47.0 [FreeBSD-ports]
        adwaita-icon-theme-legacy-46.2 [FreeBSD-ports]
        apr-1.7.6.1.6.3 [FreeBSD-ports]
        argp-standalone-1.5.0_1 [FreeBSD-ports]
        at-spi2-core-2.56.7 [FreeBSD-ports]
        avahi-app-0.8_6 [FreeBSD-ports]
        bacula15-client-15.0.3 [FreeBSD-ports]
...
        zsh-5.9_5 [FreeBSD-ports]
        zstd-1.5.7_1 [FreeBSD-ports]

Number of packages to be installed: 13
Number of packages to be upgraded: 1
Number of packages to be reinstalled: 239
Number of packages to be downgraded: 8

The process will require 274 MiB more space.
530 MiB to be downloaded.

Proceed with this action? [y/N]: y
[  1/260] Fetching duktape-lib-2.7.0_1: 100%  252 KiB 258.0 k/s    00:01    
[  2/260] Fetching wget-1.25.0: 100%  778 KiB 796.9 k/s    00:01    
...
[257/260] Fetching binutils-2.44,1: 100%   15 MiB  15.3 M/s    00:01    
[258/260] Fetching libnvme-1.11.1_4: 100%  199 KiB 204.0 k/s    00:01    
[259/260] Fetching libslirp-4.9.1: 100%   66 KiB  67.3 k/s    00:01    
[260/260] Fetching postfix-3.10.6,1: 100%    2 MiB   1.8 M/s    00:01    
Checking integrity... done (3 conflicting)
  - py311-cairo-1.28.0,1 [FreeBSD-ports] conflicts with py312-cairo-1.28.0,1 [installed] on /usr/local/include/pycairo/py3cairo.h
  - postgresql17-client-17.7_2 [FreeBSD-ports] conflicts with postgresql18-client-18.1_1 [FreeBSD-ports] on /usr/local/bin/clusterdb
  - postgresql17-client-17.7_2 [FreeBSD-ports] conflicts with postgresql18-client-18.1_1 [installed] on /usr/local/bin/clusterdb
Cannot solve problem using SAT solver, trying another plan
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 261 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        p5-Authen-SASL: 2.1900 [FreeBSD-ports]
        p5-Crypt-URandom: 0.54 [FreeBSD-ports]
        p5-Digest-HMAC: 1.05 [FreeBSD-ports]
        p5-IO-Socket-SSL: 2.095 [FreeBSD-ports]
        p5-MIME-Base32: 1.303 [FreeBSD-ports]
        p5-Mozilla-CA: 20250602 [FreeBSD-ports]
        p5-Net-SSLeay: 1.94 [FreeBSD-ports]
        p5-URI: 5.34 [FreeBSD-ports]
        py311-cairo: 1.28.0,1 [FreeBSD-ports]
        py311-packaging: 25.0 [FreeBSD-ports]
        py311-pygobject: 3.50.2 [FreeBSD-ports]
        python311: 3.11.14_1 [FreeBSD-ports]

Installed packages to be UPGRADED:
        iperf3: 3.19.1 -> 3.20_1 [FreeBSD-ports]

Installed packages to be DOWNGRADED:
        SamDruckerClientShell: 0.3.0beta6 -> 0.2.7 [FreeBSD-ports]
        iso-codes: 4.20.1 -> 4.19.0 [FreeBSD-ports]
        libpcap: 1.10.6 -> 1.10.5 [FreeBSD-ports]
        nagios-plugins: 2.4.4_1,1 -> 2.4.4,1 [FreeBSD-ports]
        p11-kit: 0.26.1 -> 0.25.10 [FreeBSD-ports]
        pygobject-common: 3.54.5 -> 3.50.2 [FreeBSD-ports]
        python: 3.12_3,2 -> 3.11_3,2 [FreeBSD-ports]
        wayland-protocols: 1.47 -> 1.45 [FreeBSD-ports]

Installed packages to be REINSTALLED:
        abseil-20250127.1 [FreeBSD-ports]
        adwaita-icon-theme-47.0 [FreeBSD-ports]
...
        zstd-1.5.7_1 [FreeBSD-ports]

Installed packages to be REMOVED:
        py312-cairo: 1.28.0,1
        py312-pygobject: 3.54.5

Number of packages to be removed: 2
Number of packages to be installed: 12
Number of packages to be upgraded: 1
Number of packages to be reinstalled: 238
Number of packages to be downgraded: 8

The process will require 253 MiB more space.

Proceed with this action? [y/N]: y
Checking integrity... done (0 conflicting)
[  1/266] Reinstalling abseil-20250127.1...
[  1/266] Extracting abseil-20250127.1: 100%
[  2/266] Reinstalling brotli-1.2.0,1...
...
[266/266] Reinstalling wget-1.25.0...
[266/266] Extracting wget-1.25.0: 100%
==> Running trigger: gdk-pixbuf-query-loaders.ucl
Generating gdk-pixbuf modules cache
==> Running trigger: glib-schemas.ucl
Compiling glib schemas
Warning: Schema “org.gnome.system.locale” has path “/system/locale/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
==> Running trigger: gio-modules.ucl
Generating GIO modules cache
==> Running trigger: gtk-update-icon-cache.ucl
Generating GTK icon cache for /usr/local/share/icons/hicolor
Generating GTK icon cache for /usr/local/share/icons/Adwaita
Generating GTK icon cache for /usr/local/share/icons/AdwaitaLegacy
==> Running trigger: shared-mime-info.ucl
Building the Shared MIME-Info database cache
==> Running trigger: fontconfig.ucl
Running fc-cache to build fontconfig cache...

...
You may need to manually remove /usr/local/etc/pam.d/sudo if it is no longer needed.
You may need to manually remove /usr/local/etc/sudoers if it is no longer needed.
root@r730-01:~ # pkg upgrade
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
Checking for upgrades (1 candidates): 100%
Processing candidates (1 candidates): 100%
Checking integrity... done (1 conflicting)
  - postgresql17-client-17.7_2 [FreeBSD-ports] conflicts with postgresql18-client-18.1_1 [installed] on /usr/local/bin/clusterdb
Checking integrity... done (0 conflicting)
The following 4 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        postgresql17-client: 17.7_2 [FreeBSD-ports]

Installed packages to be REINSTALLED:
        nagios-check_postgres-2.26.0 [FreeBSD-ports] (ABI changed: 'FreeBSD:14:*' -> 'FreeBSD:15:*')
        pkg-2.5.1 [FreeBSD-ports]

Installed packages to be REMOVED:
        postgresql18-client: 18.1_1

Number of packages to be removed: 1
Number of packages to be installed: 1
Number of packages to be reinstalled: 2

Proceed with this action? [y/N]: y
[1/5] Reinstalling pkg-2.5.1...
[1/5] Extracting pkg-2.5.1: 100%
[2/5] Deinstalling nagios-check_postgres-2.26.0...
[2/5] Deleting files for nagios-check_postgres-2.26.0: 100%
[3/5] Deinstalling postgresql18-client-18.1_1...
[3/5] Deleting files for postgresql18-client-18.1_1: 100%
[4/5] Installing postgresql17-client-17.7_2...
[4/5] Extracting postgresql17-client-17.7_2: 100%
[5/5] Installing nagios-check_postgres-2.26.0...
[5/5] Extracting nagios-check_postgres-2.26.0: 100%
=====
Message from postgresql17-client-17.7_2:

--
The PostgreSQL port has a collection of "side orders":

postgresql-docs
  For all of the html documentation

p5-Pg
  A perl5 API for client access to PostgreSQL databases.

postgresql-tcltk
  If you want tcl/tk client support.

postgresql-jdbc
  For Java JDBC support.

postgresql-odbc
  For client access from unix applications using ODBC as access
  method. Not needed to access unix PostgreSQL servers from Win32
  using ODBC. See below.

ruby-postgres, py-psycopg
  For client access to PostgreSQL databases using the ruby & python
  languages.

postgresql-plperl, postgresql-pltcl & postgresql-plruby
  For using perl5, tcl & ruby as procedural languages.

postgresql-contrib
  Lots of contributed utilities, postgresql functions and
  datatypes. There you find pg_standby, pgcrypto and many other cool
  things.

etc...
root@r730-01:~ # pkg autoremove
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 18 packages:

Installed packages to be REMOVED:
        abseil: 20250127.1
        bind-tools: 9.20.18_2
        fstrm: 0.6.1_1
        groff: 1.23.0_5
        hidapi: 0.15.0
        jsoncpp: 1.9.6_1
        libcbor: 0.13.0
        libfido2: 1.16.0
        liburcu: 0.15.3
        libuv: 1.51.0
        mysql80-client: 8.0.44
        openldap26-client: 2.6.10_1
        protobuf: 29.5,1
        protobuf-c: 1.5.1_3
        psutils: 1.17_6
        py312-packaging: 25.0
        py312-setuptools: 63.1.0_3
        uchardet: 0.0.8_1

Number of packages to be removed: 18

The operation will free 186 MiB.

Proceed with deinstalling packages? [y/N]: n
root@r730-01:~ # pkg query -a '%n %t' | awk -v t=$(date -v -6H +%s) '$2 < t { print $1 }'
nagios-check_smartmon-py312
rsync-python
root@r730-01:~ # 

That’s mostly everything updated, more or less correctly. Here’s hoping after reboot.

I then did the same .conf file changes in the pkg01 jail and ran this again:

root@r730-01:~ # mkjail upgrade -v 15.0-RELEASE -j pkg01
Upgrading pkg01 jail from 14.3-RELEASE to 15.0-RELEASE...

./lib/libcrypto.so.35: Write failed: Input/output error
./var/empty/: Can't restore time: Operation not permitted
tar: Error exit delayed from previous errors.

Upgrade cancelled: reverting changes and cleaning up.
umount: /jails/pkg01/usr/src: not a file system root directory
root@r730-01:~ # 

That failed. I’ll try again after completing the host update.

After updating the host:

root@r730-01:~ # mkjail upgrade -v 15.0-RELEASE -j pkg01
Upgrading pkg01 jail from 14.3-RELEASE to 15.0-RELEASE...

  D /.cshrc
  D /.profile
  D /etc/ftpusers
...
  A /etc/rc.d/nuageinit_user_data_script
  A /etc/rc.d/virtual_oss
Warnings:
  Needs update: /etc/localtime (required manual update via tzsetup(8))
pkg: Warning: Major OS version upgrade detected.  Running "pkg bootstrap -f" recommended
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        pkg: 2.5.1

Number of packages to be removed: 1

The operation will free 24 MiB.
[pkg01.int.unixathome.org] [1/1] Deinstalling pkg-2.5.1...
[pkg01.int.unixathome.org] [1/1] Deleting files for pkg-2.5.1: 100%
Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
[pkg01.int.unixathome.org] Installing pkg-2.5.1...
[pkg01.int.unixathome.org] Extracting pkg-2.5.1: 100%
Updating FreeBSD-ports repository catalogue...
[pkg01.int.unixathome.org] Fetching meta.conf: 100%    179 B   0.2 k/s    00:01    
[pkg01.int.unixathome.org] Fetching data: 100%   10 MiB  10.8 M/s    00:01    
Processing entries: 100%
FreeBSD-ports repository update completed. 36667 packages processed.
Updating FreeBSD-ports-kmods repository catalogue...
[pkg01.int.unixathome.org] Fetching meta.conf: 100%    179 B   0.2 k/s    00:01    
[pkg01.int.unixathome.org] Fetching data: 100%   35 KiB  35.4 k/s    00:01    
Processing entries: 100%
FreeBSD-ports-kmods repository update completed. 239 packages processed.
All repositories are up to date.
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
Updating database digests format: 100%
Checking for upgrades (129 candidates): 100%
Processing candidates (129 candidates): 100%
The following 128 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        python311: 3.11.14_1 [FreeBSD-ports]

Installed packages to be DOWNGRADED:
        SamDruckerClientShell: 0.3.0beta6 -> 0.2.7 [FreeBSD-ports]
        duf: 0.9.1_4 -> 0.9.1_3 [FreeBSD-ports]
        expat: 2.7.4 -> 2.7.3 [FreeBSD-ports]
        git-lite: 2.53.0 -> 2.52.0 [FreeBSD-ports]
        libgcrypt: 1.12.0 -> 1.11.2 [FreeBSD-ports]
        libxml2: 2.15.1_1 -> 2.15.1 [FreeBSD-ports]
        mysql80-client: 8.0.45 -> 8.0.44 [FreeBSD-ports]
        nagios-plugins: 2.4.4_1,1 -> 2.4.4,1 [FreeBSD-ports]
        nginx: 1.28.0_11,3 -> 1.28.0_10,3 [FreeBSD-ports]
        openldap26-client: 2.6.12 -> 2.6.10_1 [FreeBSD-ports]
        p11-kit: 0.26.1 -> 0.25.10 [FreeBSD-ports]
        php83: 8.3.30 -> 8.3.29 [FreeBSD-ports]
        php83-curl: 8.3.30 -> 8.3.29 [FreeBSD-ports]
        php83-dom: 8.3.30 -> 8.3.29 [FreeBSD-ports]
        php83-mbstring: 8.3.30 -> 8.3.29 [FreeBSD-ports]
        php83-simplexml: 8.3.30 -> 8.3.29 [FreeBSD-ports]
        php83-zlib: 8.3.30 -> 8.3.29 [FreeBSD-ports]
        png: 1.6.54 -> 1.6.53 [FreeBSD-ports]
        python: 3.12_3,2 -> 3.11_3,2 [FreeBSD-ports]

Installed packages to be REINSTALLED:
        abseil-20250127.1 [FreeBSD-ports]
        anvil-0.0.20 [FreeBSD-ports]
        apr-1.7.6.1.6.3 [FreeBSD-ports]
...
        zsh-5.9_5 [FreeBSD-ports]
        zstd-1.5.7_1 [FreeBSD-ports]

Number of packages to be installed: 1
Number of packages to be reinstalled: 108
Number of packages to be downgraded: 19

The process will require 220 MiB more space.
182 MiB to be downloaded.
[pkg01.int.unixathome.org] [  1/128] Fetching net-snmp-5.9.5.2,1: 100%    2 MiB   2.6 M/s    00:01    
...
[pkg01.int.unixathome.org] [128/128] Extracting webp-1.6.0: 100%

Message from liblockfile-1.17_1:

...
remove /usr/lib32/libkafs5.so.11? remove /usr/lib32/libkdc.so.11? remove /usr/lib32/libkrb5.so.11? remove /usr/lib32/libmd.so.6? remove /usr/lib32/libprivateheimipcc.so.11? remove /usr/lib32/libprivateheimipcs.so.11? remove /usr/lib32/libroken.so.11? remove /usr/lib32/libssl.so.30? remove /usr/lib32/libufs.so.7? remove /usr/lib32/libutil.so.9? remove /usr/lib32/libwind.so.11? >>> Old libraries removed
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 15.0-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.
Preparing to download files... done.

/rescue/kenv
/rescue/kill
/rescue/kldconfig
/rescue/kldload
/rescue/kldstat
/rescue/kldunload
/rescue/ldconfig
/rescue/less
/rescue/link
/rescue/ln
/rescue/ls
/rescue/lzcat
/rescue/lzma
/rescue/md5
/rescue/mdconfig
/rescue/mdmfs
/rescue/mkdir
/rescue/mknod
/rescue/more
/rescue/mount
/rescue/mount_cd9660
/rescue/mount_msdosfs
/rescue/mount_nfs
/rescue/mount_nullfs
/rescue/mount_udf
/rescue/mount_unionfs
/rescue/mt
/rescue/mv
/rescue/nc
/rescue/newfs
/rescue/newfs_msdos
/rescue/nextboot
/rescue/nos-tun
/rescue/pfctl
/rescue/pgrep
/rescue/ping
/rescue/ping6
/rescue/pkill
/rescue/poweroff
/rescue/ps
/rescue/pwd
/rescue/rcorder
/rescue/rdump
/rescue/realpath
/rescue/reboot
/rescue/red
/rescue/rescue
/rescue/restore
/rescue/rm
/rescue/rmdir
/rescue/route
/rescue/routed
/rescue/rrestore
/rescue/rtquery
/rescue/rtsol
/rescue/savecore
/rescue/sed
/rescue/setfacl
/rescue/sh
/rescue/shutdown
/rescue/sleep
/rescue/stty
/rescue/swapon
/rescue/sync
/rescue/sysctl
/rescue/tail
/rescue/tar
/rescue/tcsh
/rescue/tee
/rescue/test
/rescue/tunefs
/rescue/umount
/rescue/unlink
/rescue/unlzma
/rescue/unxz
/rescue/unzstd
/rescue/vi
/rescue/whoami
/rescue/xz
/rescue/xzcat
/rescue/zcat
/rescue/zdb
/rescue/zfs
/rescue/zfsbootcfg
/rescue/zpool
/rescue/zstd
/rescue/zstdcat
/rescue/zstdmt
/sbin/rtsol
/usr/bin/openssl
/usr/lib/libcrypto.a
/usr/lib/libssl.a
/usr/lib/libssl.so.35
/usr/lib32/libcrypto.a
/usr/lib32/libcrypto.so.35
/usr/lib32/libssl.a
/usr/lib32/libssl.so.35
/usr/sbin/devinfo
/usr/sbin/rtsold
/usr/share/man/man8/devinfo.8.gz
Installing updates...certctl: legacy directory /jails/pkg01/etc/ssl/blacklisted can safely be deleted
 done.


root@r730-01:~ # service jail restart pkg01
Stopping jails: pkg01.
Starting jails: pkg01.
root@r730-01:~ # 


[17:39 pro04 dvl ~] % pkg01
Last login: Sun Feb  8 19:48:39 2026 from pro05.startpoint.vpn.unixathome.org
[22:39 pkg01 dvl ~] % freebsd-version -ur
15.0-RELEASE-p2
15.0-RELEASE-p2
[22:39 pkg01 dvl ~] % file /bin/sh
/bin/sh: ELF 64-bit LSB pie executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 15.0 (1500068), FreeBSD-style, stripped
[22:39 pkg01 dvl ~] % 

Looks good to me.

Next, build the 15.0 packages, which means first creating the poudriere jail:

[22:45 pkg01 dvl ~] % sudo poudriere jail -c -j 150amd64 -v 15.0-RELEASE -a amd64
[00:00:00] Creating 150amd64 fs at /usr/local/poudriere/jails/150amd64... done
[00:00:06] Using pre-distributed MANIFEST for FreeBSD 15.0-RELEASE amd64
[00:00:06] Fetching base for FreeBSD 15.0-RELEASE amd64
base.txz                                               157 MB   36 MBps    05s
[00:00:11] Extracting base... done
[00:00:21] Fetching src for FreeBSD 15.0-RELEASE amd64
src.txz                                                238 MB   36 MBps    06s
[00:00:29] Extracting src... done
[00:00:49] Fetching lib32 for FreeBSD 15.0-RELEASE amd64
lib32.txz                                               61 MB   30 MBps    02s
[00:00:51] Extracting lib32... done
[00:00:55] Cleaning up... done
[00:00:55] Recording filesystem state for clean... done
[00:00:56] Upgrading using http
Cannot identify running kernel
15.0-RELEASE
[00:00:57] Recording filesystem state for clean... done
[00:00:57] Jail 150amd64 15.0-RELEASE amd64 is ready to be used
[22:46 pkg01 dvl ~] % 

Next, build the packages:

[0:55 pkg01 dvl ~] % sudo poudriere bulk -j 150amd64 -p default -z primary -f /usr/local/etc/poudriere.d/buildlists/primary
Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive

Leave a Comment

Scroll to Top