Re: pkgbase 15.0-RC2 won't upgrade to pkgbase 15.0-STABLE - says its a downgrade

From: Lexi Winter <ivy_at_freebsd.org>
Date: Sat, 22 Nov 2025 01:25:33 UTC
peter wrote in <6a443aca-1266-4a78-9bf9-8c3deb9c03e0@peterk.org>:
> Installed packages to be DOWNGRADED:
>         FreeBSD-kernel-generic: 15.0.rc2.20251118061818 ->
> 15.snap20251121142734 [FreeBSD-base-stable]
> 
> Why is that a downgrade?

because "snap" is older than "rc":

% pkg version -t 15.0.snap 15.0.rc
<

> I know I can do '-f', but shouldn't need to for an upgrade.

the correct method is to use -f.   this is only required once, after
which future upgrades will work as expected.

if you have a suggestion for how this could be handled better, i suggest
filing a PR on the pkg(8) repository: https://github.com/freebsd/pkg