Re: Updating PKG Catalog Mismatch?

Mark Millard <[email protected]>
Newsgroups gmane.os.freebsd.stable
Message-ID <[email protected]>
Jeff Lloyd <lloydjbl_at_gmail.com> wrote on
Date: Sat, 03 Jan 2026 19:36:25 UTC :

> Is there any cause for concern on the following mismatch? 15.0/Stable
> Gnome v47:
> 
> root@freebsd15:/home/jbl # pkg update
> Updating FreeBSD-ports repository catalogue...
> Fetching data.pkg: 100% 11 MiB 5.5MB/s 00:02
> Processing entries: 100%
> FreeBSD-ports repository update completed. 36637 packages processed.
> Updating FreeBSD-ports-kmods repository catalogue...
> Fetching data.pkg: 100% 35 KiB 35.7kB/s 00:01
> Processing entries: 0%
> Newer FreeBSD version for package sysctlbyname-improved-kmod:
> To ignore this error set IGNORE_OSVERSION=yes
> - package: 1500505
> - running userland: 1500504
> Ignore the mismatch and continue? [y/N]:

And later, in reply to  a request:

Jeff Lloyd <lloydjbl_at_gmail.com> wrote on
Date: Sat, 03 Jan 2026 21:32:03 UTC :

> # pkg repositories
> 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",
> 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_latest",
> enabled : yes,
> priority : 0,
> mirror_type : "SRV",
> signature_type : "FINGERPRINTS",
> fingerprints : "/usr/share/keys/pkg"
> }

FreeBSD-base being based on FreeBSD:15:amd64/base_latest
means, in part, when updated, would then be based on
(note the ?h=stable/15 text):

https://cgit.freebsd.org/src/commit/sys/sys/param.h?h=stable/15&id=198ef2a31cee7dd256434ad6120d279d9bcc211a

which was (leading white space possibly not preserved):

author Vladimir Kondratyev <[email protected]> 2025-12-17 21:31:11 +0000
committer Vladimir Kondratyev <[email protected]> 2025-12-24 20:08:44 +0000
. . .

LinuxKPI: bump __FreeBSD_version for vmap_pfn implementation

Diffstat (limited to 'sys/sys/param.h')
-rw-r--r--	sys/sys/param.h	2	
1 files changed, 1 insertions, 1 deletions

diff --git a/sys/sys/param.h b/sys/sys/param.h
index d4afa1be7bc5..9f810fb68147 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -74,7 +74,7 @@
  * cannot include sys/param.h and should only be updated here.
  */
 #undef __FreeBSD_version
-#define __FreeBSD_version 1500504
+#define __FreeBSD_version 1500505
 
 /*
  * __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,


An example of such an upgrade is as follows, showing a summary
of upgrade starting from:

# uname -U
1500504

that ends up at 1500505 . . .

# pkg-static repos -e
FreeBSD-base: { 
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_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",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }

# pkg-static upgrade
Updating FreeBSD-base repository catalogue...
Fetching data.pkg: 100%   79 KiB  81.4kB/s    00:01    
Processing entries:   0%
Newer FreeBSD version for package FreeBSD-zlib-lib32:
To ignore this error set IGNORE_OSVERSION=yes
- package: 1500505
- running userland: 1500504
Ignore the mismatch and continue? [y/N]: y
Processing entries: 100%
FreeBSD-base repository update completed. 498 packages processed.
Updating FreeBSD-ports-kmods repository catalogue...
Fetching data.pkg: 100%   35 KiB  35.7kB/s    00:01    
Processing entries: 100%
FreeBSD-ports-kmods repository update completed. 239 packages processed.
All repositories are up to date.
Checking for upgrades (477 candidates): 100%
Processing candidates (477 candidates): 100%
The following 449 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	FreeBSD-acct: 15.snap20251219154024 -> 15.snap20260101223705 [FreeBSD-base]
. . .
	FreeBSD-zlib-lib32: 15.snap20251212122632 -> 15.snap20260101223705 [FreeBSD-base]

Number of packages to be upgraded: 449

The operation will free 9 MiB.
1 GiB to be downloaded.

Proceed with this action? [y/N]: y
[1/449] Fetching FreeBSD-libsqlite3-dbg-lib32-15.snap20260101223705~3d68c0fc7f.pkg: 100%    1 MiB   1.2MB/s    00:01    
. . .
[449/449] Fetching FreeBSD-ctf-dev-15.snap20260101223705~1e5c9d067f.pkg: 100%  138 KiB 141.6kB/s    00:01    
Checking integrity... done (3 conflicting)
  - FreeBSD-clang-15.snap20260102212145 [FreeBSD-base] conflicts with FreeBSD-lldb-15.snap20251218211240 [installed] on /usr/lib/libprivatelldb.so.19
  - FreeBSD-clang-dbg-15.snap20260102212145 [FreeBSD-base] conflicts with FreeBSD-lldb-dbg-15.snap20251218211240 [installed] on /usr/lib/debug/usr/lib/libprivatelldb.so.19.debug
  - FreeBSD-clang-dev-15.snap20260102212145 [FreeBSD-base] conflicts with FreeBSD-lldb-dev-15.snap20251011015136 [installed] on /usr/lib/libprivatelldb.so
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 450 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
	FreeBSD-acct: 15.snap20251219154024 -> 15.snap20260101223705 [FreeBSD-base]
. . .
	FreeBSD-zlib-lib32: 15.snap20251212122632 -> 15.snap20260101223705 [FreeBSD-base]

Installed packages to be REMOVED:
	FreeBSD-lldb-dev: 15.snap20251011015136

Number of packages to be removed: 1
Number of packages to be upgraded: 449

The operation will free 9 MiB.

Proceed with this action? [y/N]: y
Checking integrity... done (0 conflicting)
[1/451] Upgrading FreeBSD-acct from 15.snap20251219154024 to 15.snap20260101223705...
[1/451] Extracting FreeBSD-acct-15.snap20260101223705: 100%
. . .
[450/451] Upgrading FreeBSD-zlib-dev from 15.snap20251030123856 to 15.snap20260101223705...
[450/451] Extracting FreeBSD-zlib-dev-15.snap20260101223705: 100%
[451/451] Installing FreeBSD-set-devel-15.snap20260102212145...
==> Running trigger: mandoc.ucl
Generating apropos(1) database for /usr/share/man...
Generating apropos(1) database for /usr/share/openssl/man...
=====
Message from FreeBSD-local-unbound-15.snap20260101223705:

--
After upgrading local-unbound, the configuration file should be regenerated
by running "service local_unbound setup" before restarting the service.


After the above upgrade:

# uname -U
1500505

FreeBSD-ports-kmods being based on FreeBSD:15:amd64/kmods_latest is
also based on the same stable/15 to match stable/15's kernel at
the time. There is also a FreeBSD:15:amd64/kmods_quarterly . These
3 get updated builds twice a day that are normally distributed
that often as well.


For 15.0-RELEASE there are, by contrast, at this point:

https://pkg.freebsd.org/FreeBSD:15:amd64/base_release_0
https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_latest_0
https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_quarterly_0

that are not updated twice a day but only rarely.

The stable/15 kernel need not be compatible with either
of:

https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_latest_0
https://pkg.freebsd.org/FreeBSD:15:amd64/kmods_quarterly_0

That is why there is a:

https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_latest

for stable/15 kernels as well.


===
Mark Millard
marklmi at yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.