Re: different outcome freebsd-version -kru
- Reply: Manfred Koch : "Re: different outcome freebsd-version -kru"
- In reply to: Manfred Koch : "different outcome freebsd-version -kru"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 May 2026 07:05:28 UTC
On Tue, 26 May 2026, at 12:51, Manfred Koch wrote:
> Hi Community,
>
> I installed FreeBSD 15.0 on two divergent physical systems with pkgbase.
> On both is under /usr/local/etc/pkg/repos/FreeBSD-base.conf with the
> content:
> pkg+https://pkg.FreeBSD.org/${ABI}/latest
> pkg+https://pkg.FreeBSD.org/${ABI}/kmods_quarterly_${VERSION_MINOR}
> pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}
As vermaden says use latest/quarterly consistently. This is a sufficient
/usr/local/etc/pkg/repos/FreeBSD.conf, the values are merged with /etc/pkg/FreeBSD.conf:
FreeBSD-base: { enabled: yes }
FreeBSD-ports: { url: "https://pkg.FreeBSD.org/${ABI}/latest" }
FreeBSD-ports-kmods: { url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_latest_${VERSION_MINOR}", enabled: yes }
> On one System I got freebsd-version -kru:
> 15.0-RELEASE-p9
> 15.0-RELEASE-p9
> 15.0-RELEASE-p9
This is consistent with base pkg install after upgrading.
> On the other System freebsd-version -kru:
> 15.0-STABLE
> 15.0-STABLE
> 15.0-RELEASE-p9
And this is not. Are there any other files in /usr/local/etc/pkg/repos/*.conf ?
Or is it possible you used `base_latest` at any point in your pkg testing?
That would seem to be the most likely explanation.
A+
Dave