Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2024 09:01:11 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        FreeBSD-pkgbase@freebsd.org
Subject:   stable/14 (for example) still does not have FreeBSD-dtb, leading to kernel installation conflicts
Message-ID:  <ECA26888-45C5-44CB-941B-72B5230D2079@yahoo.com>
References:  <ECA26888-45C5-44CB-941B-72B5230D2079.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
# 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.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ECA26888-45C5-44CB-941B-72B5230D2079>