Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2026 07:05:28 +0000
From:      "Dave Cottlehuber" <dch@FreeBSD.org>
To:        "Manfred Koch" <md-koch@t-online.de>, freebsd-pkgbase@freebsd.org
Subject:   Re: different outcome freebsd-version -kru
Message-ID:  <3edb4302-33cb-43f5-b65f-7e781da62858@app.fastmail.com>
In-Reply-To: <07c33cf7-8a08-4f09-9084-419eaa29e1ec@t-online.de>

index | next in thread | previous in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3edb4302-33cb-43f5-b65f-7e781da62858>