I cannot reproduce your behaviour on my BETA1.
What pkg are you running?
As a comparison, on 15-BETA1 (amd64, pkgbasified), all seems as
expected; see below.
Eric
[0-0] # date -u; uname -apKU; pkg -v
Fri Oct 17 09:45:53 UTC 2025
FreeBSD q210 15.0-BETA1 FreeBSD 15.0-BETA1
releng/15.0-n280655-36a923a476dc GENERIC amd64 amd64 1500067 1500067
2.3.1
[1-0] # pkg repos -e -d
FreeBSD-ports: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/latest",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-ports-kmods: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_latest_0",
enabled : yes,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
FreeBSD-base: {
url : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_release_0",
enabled : no,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
[2-0] # pkg rquery -r FreeBSD-base '%R %o %n %v' FreeBSD-src
FreeBSD-base base/FreeBSD-src FreeBSD-src 15.0.b1.20251016034928
[3-0] # pkg update -r FreeBSD-base
Updating FreeBSD-base repository catalogue...
FreeBSD-base is up to date.
[4-0] # pkg rquery -r FreeBSD-base '%R %o %n %v' FreeBSD-src
FreeBSD-base base/FreeBSD-src FreeBSD-src 15.0.b1.20251016034928
[5-0] # pkg search -r FreeBSD-base FreeBSD-src
FreeBSD-src-15.0.b1.20251016034928 System userland source code
FreeBSD-src-sys-15.0.b1.20251015211959 System kernel source code
[6-0] # pkg version -r FreeBSD-base -n FreeBSD-src
Updating FreeBSD-base repository catalogue...
FreeBSD-base is up to date.
FreeBSD-src-15.0.b1.20251016034928 =
[7-0] #
----- Original Message -----
From: "Mark Millard" <[email protected]>
To: "Colin Percival" <[email protected]>
Cc: "Patrick M. Hausen" <[email protected]>, "FreeBSD-STABLE Mailing
List" <[email protected]>
Sent: Thursday, 16 October, 2025 23:16:53
Subject: Re: PKGBASE upgrade from ALPHAxx to BETAxx
On Oct 16, 2025, at 11:55, Mark Millard <[email protected]> wrote:
> On Oct 16, 2025, at 11:04, Colin Percival <[email protected]> wrote:
>
>> On 10/16/25 10:49, Patrick M. Hausen wrote:
>>>> Am 16.10.2025 um 19:44 schrieb Mark Millard <[email protected]>:
>>>> To my knowledge, /etc/pkg/ only has files that are expected to
>>>> apply to all systems, no matter how installed/updated. Also,
>>>> the files in /etc/pkg/ are expected to not be edited. The
>>>> overriding text goes in files in /usr/local/etc/pkg/respos/
>>>> instead. (Technically such are conventions, not requirements,
>>>> but they fit with FreeBSD update processes in a particular way.)
>>> I follow that argument.
>>> But isn't pkgbase supposed to be the new normal starting with 15.0?
>>> Sorry for the noise if I confused that. Then it will land in
>>> /etc/pkg/FreeBSD.conf in 16?
>>
>> I'm planning on putting a "FreeBSD-base" repository configuration into
>> /etc/pkg/FreeBSD.conf in 15.
>> . . .
>> It will be disabled by default, in order
>> to avoid "pkg delete -af" problems, but "pkg upgrade -r FreeBSD-base"
>> should work out of the box.
>
> Had I known such, various of my testing activities would
> have been different.
>
> Looks like commands that handle the explicit reference to
> a disabled repository are documented as including:
>
> /usr/local/share/man/man8/pkg-install.8.gz: Install packages from only the
> named repository, irrespective
> /usr/local/share/man/man8/pkg-rquery.8.gz: irrespective of the configured
> “enabled” status from repo.conf.
> /usr/local/share/man/man8/pkg-search.8.gz: irrespective of the configured
> “enabled” status from
> /usr/local/share/man/man8/pkg-update.8.gz: update only the named repository,
> irrespective of the configured
> /usr/local/share/man/man8/pkg-upgrade.8.gz: Install packages from only the
> named repository, irrespective
> /usr/local/share/man/man8/pkg-version.8.gz: the named repository only,
> irrespective of the configured
>
> Later I'll do some exploration of that.
>
> I'll note that "man pkg-fetch" does not say that it does such:
>
> -r reponame, --repository reponame
> Fetches packages from the given reponame if multiple repo
> support is enabled. See pkg.conf(5).
>
>> The reasons this hasn't happened yet have to do with release engineering
>> processes and setting up the systems for building updates securely.
rquery, search, and version to not manipulate the
sets of base or port packages, so testing those
but being will to use "pkg update" . . .
Hmm. "pkg rquery" and "pkg search" and "pkg version"
do not seem to work as described. The context here is
a USB media with an armv7 snapshot image based temporary
system, not something that is (yet?) a pkgbase'd
nstallation. I added the disabled FreeBSD-base and have
a enabled local port-package repository.
https://pkg.freebsd.org/FreeBSD:16:armv7/base_latest/
is populated, as is base_weekly/ . But latest/ and
quarterly/ and the rest are not yet.
# uname -apKU
FreeBSD RPi2Bv1p1 16.0-CURRENT FreeBSD 16.0-CURRENT #0
main-n281019-0dc634d48fcc: Fri Oct 10 00:15:55 UTC 2025
[email protected]:/usr/obj/usr/src/arm.armv7/sys/GENERIC
arm armv7 1600001 1600001
# pkg repos -e
pkg: Warning: Major OS version upgrade detected. Running "pkg
bootstrap -f" recommended
main-armv7-default: {
url : "file:///usr/local/poudriere/data/packages/main-armv7-default",
enabled : yes,
priority : 0
}
# pkg repos -d
pkg: Warning: Major OS version upgrade detected. Running "pkg
bootstrap -f" recommended
FreeBSD-base: {
url : "pkg+http://pkg.FreeBSD.org/FreeBSD:16:armv7/base_latest",
enabled : no,
priority : 0,
mirror_type : "SRV",
signature_type : "FINGERPRINTS",
fingerprints : "/usr/share/keys/pkg"
}
# whoami
root
# pkg rquery -r FreeBSD-base %n-%v FreeBSD-src
pkg: Warning: Major OS version upgrade detected. Running "pkg
bootstrap -f" recommended
pkg: Repository FreeBSD-base cannot be opened. 'pkg update' required
# pkg update -r FreeBSD-base
pkg: Warning: Major OS version upgrade detected. Running "pkg
bootstrap -f" recommended
Updating FreeBSD-base repository catalogue...
FreeBSD-base is up to date.
# pkg rquery -r FreeBSD-base %n-%v FreeBSD-src
pkg: Warning: Major OS version upgrade detected. Running "pkg
bootstrap -f" recommended
pkg: Repository FreeBSD-base cannot be opened. 'pkg update' required
# pkg search -r FreeBSD-base FreeBSD-src
pkg: Warning: Major OS version upgrade detected. Running "pkg
bootstrap -f" recommended
pkg: Repository FreeBSD-base cannot be opened. 'pkg update' required
# pkg version -r FreeBSD-base -n FreeBSD-src
pkg: Warning: Major OS version upgrade detected. Running "pkg
bootstrap -f" recommended
Updating FreeBSD-base repository catalogue...
FreeBSD-base is up to date.
pkg: Repository FreeBSD-base cannot be opened. 'pkg update' required
But, for example, . . .
# man pkg-rquery
PKG-RQUERY(8) FreeBSD System Manager's Manual PKG-RQUERY(8)
NAME
pkg rquery – query information from remote repositories
SYNOPSIS
pkg rquery -I|query-format pkg-name
pkg rquery [-aU] [-r reponame] -I|query-format
pkg rquery [-U] [-Cgix] [-e evaluation-condition] [-r reponame]
-I|query-format pattern ...
. . .
OPTIONS
The following options are supported by pkg rquery:
. . .
-r reponame, --repository reponame
Query for data about packages from only the named repository,
irrespective of the configured “enabled” status from repo.conf.
By default, catalogues for all enabled repositories are queried.
. . .
So, the above behavior is not obvious to me from
the documentation.
===
Mark Millard
marklmi at yahoo.com