"# pkg upgrade -r FreeBSD-base" does not work with FreeBSD-base disabled: "FreeBSD-base is up to date" vs. "Fetching data.pkg: . . ." for enabled

From: Mark Millard <marklmi_at_yahoo.com>
Date: Thu, 23 Oct 2025 23:42:00 UTC
I'll remind that Colin has reported on planning on
FreeBSD-base being disabled by default to avoid
self destructing deletion activities. See:

https://lists.freebsd.org/archives/freebsd-stable/2025-October/003435.html

QUOTE
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.
END QUOTE

That last part appears to be false as things are.


Note:
I start the below with the most recent packages installed/cached
matching the pattern: FreeBSD-*-16.snap20251022080749


FreeBSD-base disabled fails to find updates with FreeBSD-base not
enabled:

# pkg-static repositories -e
main-amd64-default: { 
    url             : "file:///usr/local/poudriere/data/packages/main-amd64-default",
    enabled         : yes,
    priority        : 0
  }

# pkg-static upgrade -rFreeBSD-base
Updating FreeBSD-base repository catalogue...
FreeBSD-base is up to date.
Checking for upgrades (0 candidates): 100%
Processing candidates (0 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.


FreeBSD-base enabled (and only it enabled), however,
leads to finding upgrades to make:

# pkg-static repositories -e
FreeBSD-base: { 
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:16:amd64/base_latest",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }

# pkg-static upgrade -rFreeBSD-base
Updating FreeBSD-base repository catalogue...
Fetching data.pkg: 100%   77 KiB  79.3kB/s    00:01    
Processing entries: 100%
FreeBSD-base repository update completed. 492 packages processed.
FreeBSD-base is up to date.
Checking for upgrades (47 candidates): 100%
Processing candidates (47 candidates): 100%
The following 47 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	FreeBSD-bsdinstall: 16.snap20251021080626 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-caroot: 16.snap20251008042735 -> 16.snap20251022232845 [FreeBSD-base]
	FreeBSD-clibs: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-clibs-dbg: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-clibs-dbg-lib32: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-clibs-dev: 16.snap20251022073034 -> 16.snap20251023071645 [FreeBSD-base]
	FreeBSD-clibs-dev-lib32: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-clibs-lib32: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-kerberos-dbg: 16.snap20251021080626 -> 16.snap20251022221901 [FreeBSD-base]
	FreeBSD-kerberos-dbg-lib32: 16.snap20251021080626 -> 16.snap20251022221901 [FreeBSD-base]
	FreeBSD-kerberos-lib: 16.snap20251021080626 -> 16.snap20251022221901 [FreeBSD-base]
	FreeBSD-kerberos-lib32: 16.snap20251021080626 -> 16.snap20251022221901 [FreeBSD-base]
	FreeBSD-kernel-generic: 16.snap20251022080749 -> 16.snap20251023075054 [FreeBSD-base]
	FreeBSD-kernel-generic-dbg: 16.snap20251022080749 -> 16.snap20251023075054 [FreeBSD-base]
	FreeBSD-kernel-generic-mmccam: 16.snap20251022080749 -> 16.snap20251023075054 [FreeBSD-base]
	FreeBSD-kernel-generic-mmccam-dbg: 16.snap20251022080749 -> 16.snap20251023075054 [FreeBSD-base]
	FreeBSD-kernel-generic-nodebug: 16.snap20251022080749 -> 16.snap20251023075054 [FreeBSD-base]
	FreeBSD-kernel-generic-nodebug-dbg: 16.snap20251022080749 -> 16.snap20251023075054 [FreeBSD-base]
	FreeBSD-kernel-man: 16.snap20251021183536 -> 16.snap20251022144124 [FreeBSD-base]
	FreeBSD-kernel-minimal: 16.snap20251022080749 -> 16.snap20251023075054 [FreeBSD-base]
	FreeBSD-kernel-minimal-dbg: 16.snap20251022080749 -> 16.snap20251023075054 [FreeBSD-base]
	FreeBSD-mtree: 16.snap20251021080626 -> 16.snap20251022225645 [FreeBSD-base]
	FreeBSD-nfs: 16.snap20251022073034 -> 16.snap20251022221901 [FreeBSD-base]
	FreeBSD-nfs-dbg: 16.snap20251022073034 -> 16.snap20251022221901 [FreeBSD-base]
	FreeBSD-openssl-dbg: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-openssl-dbg-lib32: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-openssl-dev: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-openssl-dev-lib32: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-openssl-lib: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-openssl-lib32: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-rescue: 16.snap20251021155925 -> 16.snap20251022221901 [FreeBSD-base]
	FreeBSD-runtime: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-runtime-dbg: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-runtime-dbg-lib32: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-runtime-dev: 16.snap20251018052543 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-runtime-dev-lib32: 16.snap20251018052543 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-runtime-lib32: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-sound: 16.snap20251022073034 -> 16.snap20251022115701 [FreeBSD-base]
	FreeBSD-sound-dbg: 16.snap20251022073034 -> 16.snap20251022115701 [FreeBSD-base]
	FreeBSD-src: 16.snap20251022030735 -> 16.snap20251023110635 [FreeBSD-base]
	FreeBSD-src-sys: 16.snap20251022080749 -> 16.snap20251023110635 [FreeBSD-base]
	FreeBSD-tests: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-tests-dbg: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-utilities: 16.snap20251022073034 -> 16.snap20251023103433 [FreeBSD-base]
	FreeBSD-utilities-dbg: 16.snap20251022073034 -> 16.snap20251023103433 [FreeBSD-base]
	FreeBSD-utilities-dbg-lib32: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]
	FreeBSD-utilities-lib32: 16.snap20251022073034 -> 16.snap20251022193640 [FreeBSD-base]

Number of packages to be upgraded: 47

1 GiB to be downloaded.

Proceed with this action? [y/N]: 
. . .



===
Mark Millard
marklmi at yahoo.com