Re: different outcome freebsd-version -kru
- In reply to: Dave Cottlehuber: "Re: different outcome freebsd-version -kru"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 May 2026 15:34:59 UTC
Yes a FreeBSD.conf with content:
FreeBSD-base: { enabled: yes }
/usr/local/etc/pkg/repos
On 5/27/26 09:05, Dave Cottlehuber wrote:
> 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
Thanks you all for enlightment, I test it and
will let you know
Manfred