Upgraded my FreeBSD system to 15.0-RELEASE

Watch out for that second run of freebsd-update that removes the prior libs… Seems that broke sudo as the pkg didn’t get upgraded (yet).

FreeBSD 15.0-RELEASE (GENERIC) releng/15.0-n280995-7aedc8de6446
% uptime 
 8:42PM  up 54 mins, 4 users, load averages: 0.65, 0.96, 1.33
% sudo bastille list
ld-elf.so.1: Shared object "libutil.so.9" not found, required by "sudo"
% 

Deleting and re-installing pulled in the compatibility packages and got things sorted:

# pkg delete sudo
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:
	sudo: 1.9.17p2_2

Number of packages to be removed: 1

The operation will free 8 MiB.

Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling sudo-1.9.17p2_2...
[1/1] Deleting files for sudo-1.9.17p2_2: 100%
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.
# pkg install sudo
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 2 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	compat14x-amd64: 14.2.1402000.20250910 [FreeBSD-ports]
	sudo: 1.9.17p2_1 [FreeBSD-ports]

Number of packages to be installed: 2

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

Proceed with this action? [y/N]: y
[1/2] Fetching sudo-1.9.17p2_1.pkg: 100%    2 MiB   1.9MB/s    00:01    
[2/2] Fetching compat14x-amd64-14.2.1402000.20250910.pkg: 100%    5 MiB   5.0MB/s    00:01    
Checking integrity... done (0 conflicting)
[1/2] Installing compat14x-amd64-14.2.1402000.20250910...
[1/2] Extracting compat14x-amd64-14.2.1402000.20250910: 100%
[2/2] Installing sudo-1.9.17p2_1...
[2/2] Extracting sudo-1.9.17p2_1: 100%
# 

Odd, that!

Make sure you have a spare root shell or su works before running that last freebsd-update.

Now that sudo works, again… Don’t forget to upgrade your zpool:

% sudo zpool upgrade zroot
This system supports ZFS pool feature flags.

Enabled the following features on 'zroot':
  redaction_list_spill
  raidz_expansion
  fast_dedup
  longname
  large_microzap
  block_cloning_endian
  physical_rewrite

Pool 'zroot' has the bootfs property set, you might need to update
the boot code. See gptzfsboot(8) and loader.efi(8) for details.

Do I need to update the boot code? Maybe something like? (it’s an old, non-EUFI system)…

gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0

One way to find out…

% sudo reboot
Connection closed by remote host.

Nah, it was fine…