[Bug 287738] ports-mgmt/pkg: pkg-static upgrade -f segmentation fault

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 15 Sep 2025 16:15:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287738

--- Comment #11 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #10)

Hmm.

I'm confused, having just noticed the apparently
contradictory "running userland" below:

QUOTE
uname -apKU
FreeBSD client 14.3-RELEASE-p2 FreeBSD 14.3-RELEASE-p2
releng/14.3-n271439-5982521fe3dd GENERIC amd64 amd64 1403000 1403000
END QUOTE
vs.
QUOTE
To ignore this error set IGNORE_OSVERSION=yes
- package: 1500064
- running userland: 1500000
END QUOTE

That looks like you installed a 15.* world but are
using a 14.* kernel. Even without port-packages
involved, this is not supported by FreeBSD.

If you have a 15.* world while using a 14.* kernel,
nothing is required to be working: the combination
of the whole "userland" being 15.* and kernel in use
being 14.* is not supported by FreeBSD at all.

If the userland is 15.* you likely need to get a 15.*
kernel in place and boot with it instead.

Having been out of a supported combination, I do not know
if that will be enough to make everything right. Some
rebuild/reinstallation might be necessary. Things done
while the bad combination was in use are suspect for
the results being valid.

-- 
You are receiving this mail because:
You are the assignee for the bug.