stable/14 (for example) still does not have FreeBSD-dtb, leading to kernel installation conflicts

From: Mark Millard <marklmi_at_yahoo.com>
Date: Mon, 11 Nov 2024 17:01:11 UTC
# pkg-static install -U -rbase -g 'FreeBSD-kernel-*' FreeBSD-src-sys
Checking integrity... done (1 conflicting)
  - FreeBSD-kernel-generic-mmccam-14.snap20241111105934 [base] conflicts with FreeBSD-kernel-generic-14.snap20241111105934 [base] on /boot/dtb/allwinner/sun50i-a64-nanopi-a64.dtb
Cannot solve problem using SAT solver, trying another plan
Checking integrity... done (0 conflicting)
The following 4 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
FreeBSD-kernel-generic: 14.snap20241111105934 [base]
FreeBSD-kernel-generic-dbg: 14.snap20241111105934 [base]
FreeBSD-kernel-generic-mmccam-dbg: 14.snap20241111105934 [base]
FreeBSD-src-sys: 14.snap20241111105934 [base]

Number of packages to be installed: 4

The process will require 1 GiB more space.

Proceed with this action? [y/N]: y
[1/4] Installing FreeBSD-kernel-generic-mmccam-dbg-14.snap20241111105934...
[1/4] Extracting FreeBSD-kernel-generic-mmccam-dbg-14.snap20241111105934: 100%
[2/4] Installing FreeBSD-kernel-generic-dbg-14.snap20241111105934...
[2/4] Extracting FreeBSD-kernel-generic-dbg-14.snap20241111105934: 100%
[3/4] Installing FreeBSD-kernel-generic-14.snap20241111105934...
[3/4] Extracting FreeBSD-kernel-generic-14.snap20241111105934: 100%
[4/4] Installing FreeBSD-src-sys-14.snap20241111105934...
[4/4] Extracting FreeBSD-src-sys-14.snap20241111105934: 100%

Note that Extracting FreeBSD-kernel-generic-mmccam-14.snap20241111105934
was not installed because of the conflict. So the loader does not end up
with which to use being selectable.

It is also not clear if it would always pick a
FreeBSD-kernel-generic-14.snap* vs. sometimes one and other times the
other.

Hmm. In fact:

# pkg-static install -U -rbase -g 'FreeBSD-*'
Checking integrity... done (1 conflicting)
  - FreeBSD-kernel-generic-mmccam-14.snap20241111105934 [base] conflicts with FreeBSD-kernel-generic-14.snap20241111105934 [installed] on /boot/dtb/allwinner/sun50i-a64-nanopi-a64.dtb
Checking integrity... done (0 conflicting)
The following 504 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
FreeBSD-kernel-generic: 14.snap20241111105934

New packages to be INSTALLED:
. . .
 FreeBSD-kernel-generic-mmccam: 14.snap20241111105934 [base]
. . .

So in at least some contexts it does try to swap which kernel
is installed.

===
Mark Millard
marklmi at yahoo.com