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

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

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

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

So this is not a FreeBSD:15:amd64 context but is a
FreeBSD:14:amd64 context instead.

But you then report using:

QUOTE
# env ABI=FreeBSD:15:amd64 pkg-static upgrade
END QUOTE

FreeBSD 14.* is not expected to be able to run
FreeBSD 15.* programs. The combination is invalid.
FreeBSD 15 programs can require services that are
new to 15, for example.

It goes the other way: FreeBSD 15.* is able to run
FreeBSD 14.* programs (so older programs).

If you a upgrading to 15.*, you first update the
system to be a 15.0 system, then you update the
port-packages from 14.* to 15.* after you have
15.* booted and operational.

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