pkg upgrade

Wanting to run pkg upgrade i noticed that some packages wanted to install a lot of additional pkg such as xorg-server, nvidia drivers and so forth some of these packages like wireshark-nox11 you would expect wouldn't need this at all !?


Code:
# pkg upgrade pkgconf
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 41 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    basu: 0.2.1 [FreeBSD-ports]
    hwdata: 0.411,1 [FreeBSD]
    libXdamage: 1.1.7 [FreeBSD-ports]
    libXfixes: 6.0.2 [FreeBSD]
    libXfont2: 2.0.9 [FreeBSD-ports]
    libXrandr: 1.5.5 [FreeBSD-ports]
    libXv: 1.0.13,1 [FreeBSD-ports]
    libXvMC: 1.0.15 [FreeBSD-ports]
    libXxf86vm: 1.1.7 [FreeBSD-ports]
    libdisplay-info: 0.4.0 [FreeBSD]
    libdrm: 2.4.134,1 [FreeBSD]
    libedit: 3.1.20260512,1 [FreeBSD-ports]
    libepoll-shim: 0.0.20240608 [FreeBSD-ports]
    libepoxy: 1.5.10 [FreeBSD-ports]
    libfontenc: 1.1.9 [FreeBSD-ports]
    libpcap: 1.10.7 [FreeBSD]
    libpciaccess: 0.19 [FreeBSD-ports]
    libudev-devd: 0.7.0 [FreeBSD]
    libxcvt: 0.1.3 [FreeBSD-ports]
    libxkbfile: 1.2.0 [FreeBSD-ports]
    libxshmfence: 1.3.3 [FreeBSD-ports]
    llvm19: 19.1.7_4 [FreeBSD]
    llvm19-lite: 19.1.7_4 [FreeBSD-ports]
    lua53: 5.3.6_1 [FreeBSD-ports]
    lua54: 5.4.8 [FreeBSD-ports]
    mesa-dri: 26.2.2 [FreeBSD]
    mesa-libs: 26.1.3 [FreeBSD-ports]
    mozjpeg: 4.1.5 [FreeBSD-ports]
    nvidia-driver-340: 340.108_5 [FreeBSD-ports]
    nvidia-driver-390: 390.157_1 [FreeBSD-ports]
    nvidia-kmod-340: 340.108.1500068 [FreeBSD-ports]
    nvidia-kmod-390: 390.157.1500068 [FreeBSD-ports]
    pixman: 0.46.4 [FreeBSD-ports]
    pkg-devel: 2.7.99.3 [FreeBSD-ports]
    spirv-llvm-translator-llvm19: 19.1.22 [FreeBSD]
    spirv-tools: 2026.3 [FreeBSD]
    wayland: 1.25.0 [FreeBSD-ports]
    xkbcomp: 1.5.0 [FreeBSD-ports]
    xkeyboard-config: 2.48 [FreeBSD-ports]
    xorg-server: 21.1.24,1 [FreeBSD-ports]

Installed packages to be UPGRADED:
    pkgconf: 2.4.3_1,1 -> 3.0.5,1 [FreeBSD]

Number of packages to be installed: 40
Number of packages to be upgraded: 1

The process will require 3 GiB more space.
433 MiB to be downloaded.

Proceed with this action? [y/N]:

# pkg upgrade pkgconf
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 41 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    basu: 0.2.1 [FreeBSD-ports]
    hwdata: 0.411,1 [FreeBSD]
    libXdamage: 1.1.7 [FreeBSD-ports]
    libXfixes: 6.0.2 [FreeBSD]
    libXfont2: 2.0.9 [FreeBSD-ports]
    libXrandr: 1.5.5 [FreeBSD-ports]
    libXv: 1.0.13,1 [FreeBSD-ports]
    libXvMC: 1.0.15 [FreeBSD-ports]
    libXxf86vm: 1.1.7 [FreeBSD-ports]
    libdisplay-info: 0.4.0 [FreeBSD]
    libdrm: 2.4.134,1 [FreeBSD]
    libedit: 3.1.20260512,1 [FreeBSD-ports]
    libepoll-shim: 0.0.20240608 [FreeBSD-ports]
    libepoxy: 1.5.10 [FreeBSD-ports]
    libfontenc: 1.1.9 [FreeBSD-ports]
    libpcap: 1.10.7 [FreeBSD]
    libpciaccess: 0.19 [FreeBSD-ports]
    libudev-devd: 0.7.0 [FreeBSD]
    libxcvt: 0.1.3 [FreeBSD-ports]
    libxkbfile: 1.2.0 [FreeBSD-ports]
    libxshmfence: 1.3.3 [FreeBSD-ports]
    llvm19: 19.1.7_4 [FreeBSD]
    llvm19-lite: 19.1.7_4 [FreeBSD-ports]
    lua53: 5.3.6_1 [FreeBSD-ports]
    lua54: 5.4.8 [FreeBSD-ports]
    mesa-dri: 26.2.2 [FreeBSD]
    mesa-libs: 26.1.3 [FreeBSD-ports]
    mozjpeg: 4.1.5 [FreeBSD-ports]
    nvidia-driver-340: 340.108_5 [FreeBSD-ports]
    nvidia-driver-390: 390.157_1 [FreeBSD-ports]
    nvidia-kmod-340: 340.108.1500068 [FreeBSD-ports]
    nvidia-kmod-390: 390.157.1500068 [FreeBSD-ports]
    pixman: 0.46.4 [FreeBSD-ports]
    pkg-devel: 2.7.99.3 [FreeBSD-ports]
    spirv-llvm-translator-llvm19: 19.1.22 [FreeBSD]
    spirv-tools: 2026.3 [FreeBSD]
    wayland: 1.25.0 [FreeBSD-ports]
    xkbcomp: 1.5.0 [FreeBSD-ports]
    xkeyboard-config: 2.48 [FreeBSD-ports]
    xorg-server: 21.1.24,1 [FreeBSD-ports]

Installed packages to be UPGRADED:
    pkgconf: 2.4.3_1,1 -> 3.0.5,1 [FreeBSD]

Number of packages to be installed: 40
Number of packages to be upgraded: 1

The process will require 3 GiB more space.
433 MiB to be downloaded.

Proceed with this action? [y/N]:

# pkg upgrade python312
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 43 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    basu: 0.2.1 [FreeBSD-ports]
    hwdata: 0.411,1 [FreeBSD]
    libXdamage: 1.1.7 [FreeBSD-ports]
    libXfixes: 6.0.2 [FreeBSD]
    libXfont2: 2.0.9 [FreeBSD-ports]
    libXrandr: 1.5.5 [FreeBSD-ports]
    libXv: 1.0.13,1 [FreeBSD-ports]
    libXvMC: 1.0.15 [FreeBSD-ports]
    libXxf86vm: 1.1.7 [FreeBSD-ports]
    libdisplay-info: 0.4.0 [FreeBSD]
    libdrm: 2.4.134,1 [FreeBSD]
    libedit: 3.1.20260512,1 [FreeBSD-ports]
    libepoll-shim: 0.0.20240608 [FreeBSD-ports]
    libepoxy: 1.5.10 [FreeBSD-ports]
    libfontenc: 1.1.9 [FreeBSD-ports]
    libpcap: 1.10.7 [FreeBSD]
    libpciaccess: 0.19 [FreeBSD-ports]
    libudev-devd: 0.7.0 [FreeBSD]
    libxcvt: 0.1.3 [FreeBSD-ports]
    libxkbfile: 1.2.0 [FreeBSD-ports]
    libxshmfence: 1.3.3 [FreeBSD-ports]
    llvm19: 19.1.7_4 [FreeBSD]
    llvm19-lite: 19.1.7_4 [FreeBSD-ports]
    lua53: 5.3.6_1 [FreeBSD-ports]
    lua54: 5.4.8 [FreeBSD-ports]
    mesa-dri: 26.2.2 [FreeBSD]
    mesa-libs: 26.1.3 [FreeBSD-ports]
    mozjpeg: 4.1.5 [FreeBSD-ports]
    nvidia-driver-340: 340.108_5 [FreeBSD-ports]
    nvidia-driver-390: 390.157_1 [FreeBSD-ports]
    nvidia-kmod-340: 340.108.1500068 [FreeBSD-ports]
    nvidia-kmod-390: 390.157.1500068 [FreeBSD-ports]
    pixman: 0.46.4 [FreeBSD-ports]
    pkg-devel: 2.7.99.3 [FreeBSD-ports]
    spirv-llvm-translator-llvm19: 19.1.22 [FreeBSD]
    spirv-tools: 2026.3 [FreeBSD]
    wayland: 1.25.0 [FreeBSD-ports]
    xkbcomp: 1.5.0 [FreeBSD-ports]
    xkeyboard-config: 2.48 [FreeBSD-ports]
    xorg-server: 21.1.24,1 [FreeBSD-ports]

Installed packages to be UPGRADED:
    expat: 2.8.2 -> 2.8.4 [FreeBSD]
    libffi: 3.7.1 -> 3.8.0 [FreeBSD]
    python312: 3.12.13_3 -> 3.12.14 [FreeBSD-ports] (vulnerable!)

Number of packages to be installed: 40
Number of packages to be upgraded: 3

The process will require 3 GiB more space.
469 MiB to be downloaded.

WARNING: 1 package(s) have known vulnerabilities

Proceed with this action? [y/N]:

# pkg upgrade expat
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 41 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    basu: 0.2.1 [FreeBSD-ports]
    hwdata: 0.411,1 [FreeBSD]
    libXdamage: 1.1.7 [FreeBSD-ports]
    libXfixes: 6.0.2 [FreeBSD]
    libXfont2: 2.0.9 [FreeBSD-ports]
    libXrandr: 1.5.5 [FreeBSD-ports]
    libXv: 1.0.13,1 [FreeBSD-ports]
    libXvMC: 1.0.15 [FreeBSD-ports]
    libXxf86vm: 1.1.7 [FreeBSD-ports]
    libdisplay-info: 0.4.0 [FreeBSD]
    libdrm: 2.4.134,1 [FreeBSD]
    libedit: 3.1.20260512,1 [FreeBSD-ports]
    libepoll-shim: 0.0.20240608 [FreeBSD-ports]
    libepoxy: 1.5.10 [FreeBSD-ports]
    libfontenc: 1.1.9 [FreeBSD-ports]
    libpcap: 1.10.7 [FreeBSD]
    libpciaccess: 0.19 [FreeBSD-ports]
    libudev-devd: 0.7.0 [FreeBSD]
    libxcvt: 0.1.3 [FreeBSD-ports]
    libxkbfile: 1.2.0 [FreeBSD-ports]
    libxshmfence: 1.3.3 [FreeBSD-ports]
    llvm19: 19.1.7_4 [FreeBSD]
    llvm19-lite: 19.1.7_4 [FreeBSD-ports]
    lua53: 5.3.6_1 [FreeBSD-ports]
    lua54: 5.4.8 [FreeBSD-ports]
    mesa-dri: 26.2.2 [FreeBSD]
    mesa-libs: 26.1.3 [FreeBSD-ports]
    mozjpeg: 4.1.5 [FreeBSD-ports]
    nvidia-driver-340: 340.108_5 [FreeBSD-ports]
    nvidia-driver-390: 390.157_1 [FreeBSD-ports]
    nvidia-kmod-340: 340.108.1500068 [FreeBSD-ports]
    nvidia-kmod-390: 390.157.1500068 [FreeBSD-ports]
    pixman: 0.46.4 [FreeBSD-ports]
    pkg-devel: 2.7.99.3 [FreeBSD-ports]
    spirv-llvm-translator-llvm19: 19.1.22 [FreeBSD]
    spirv-tools: 2026.3 [FreeBSD]
    wayland: 1.25.0 [FreeBSD-ports]
    xkbcomp: 1.5.0 [FreeBSD-ports]
    xkeyboard-config: 2.48 [FreeBSD-ports]
    xorg-server: 21.1.24,1 [FreeBSD-ports]

Installed packages to be UPGRADED:
    expat: 2.8.2 -> 2.8.4 [FreeBSD]

Number of packages to be installed: 40
Number of packages to be upgraded: 1

The process will require 3 GiB more space.
432 MiB to be downloaded.

Proceed with this action? [y/N]:
# pkg upgrade expat
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 41 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    basu: 0.2.1 [FreeBSD-ports]
    hwdata: 0.411,1 [FreeBSD]
    libXdamage: 1.1.7 [FreeBSD-ports]
    libXfixes: 6.0.2 [FreeBSD]
    libXfont2: 2.0.9 [FreeBSD-ports]
    libXrandr: 1.5.5 [FreeBSD-ports]
    libXv: 1.0.13,1 [FreeBSD-ports]
    libXvMC: 1.0.15 [FreeBSD-ports]
    libXxf86vm: 1.1.7 [FreeBSD-ports]
    libdisplay-info: 0.4.0 [FreeBSD]
    libdrm: 2.4.134,1 [FreeBSD]
    libedit: 3.1.20260512,1 [FreeBSD-ports]
    libepoll-shim: 0.0.20240608 [FreeBSD-ports]
    libepoxy: 1.5.10 [FreeBSD-ports]
    libfontenc: 1.1.9 [FreeBSD-ports]
    libpcap: 1.10.7 [FreeBSD]
    libpciaccess: 0.19 [FreeBSD-ports]
    libudev-devd: 0.7.0 [FreeBSD]
    libxcvt: 0.1.3 [FreeBSD-ports]
    libxkbfile: 1.2.0 [FreeBSD-ports]
    libxshmfence: 1.3.3 [FreeBSD-ports]
    llvm19: 19.1.7_4 [FreeBSD]
    llvm19-lite: 19.1.7_4 [FreeBSD-ports]
    lua53: 5.3.6_1 [FreeBSD-ports]
    lua54: 5.4.8 [FreeBSD-ports]
    mesa-dri: 26.2.2 [FreeBSD]
    mesa-libs: 26.1.3 [FreeBSD-ports]
    mozjpeg: 4.1.5 [FreeBSD-ports]
    nvidia-driver-340: 340.108_5 [FreeBSD-ports]
    nvidia-driver-390: 390.157_1 [FreeBSD-ports]
    nvidia-kmod-340: 340.108.1500068 [FreeBSD-ports]
    nvidia-kmod-390: 390.157.1500068 [FreeBSD-ports]
    pixman: 0.46.4 [FreeBSD-ports]
    pkg-devel: 2.7.99.3 [FreeBSD-ports]
    spirv-llvm-translator-llvm19: 19.1.22 [FreeBSD]
    spirv-tools: 2026.3 [FreeBSD]
    wayland: 1.25.0 [FreeBSD-ports]
    xkbcomp: 1.5.0 [FreeBSD-ports]
    xkeyboard-config: 2.48 [FreeBSD-ports]
    xorg-server: 21.1.24,1 [FreeBSD-ports]

Installed packages to be UPGRADED:
    expat: 2.8.2 -> 2.8.4 [FreeBSD]

Number of packages to be installed: 40
Number of packages to be upgraded: 1

The process will require 3 GiB more space.
432 MiB to be downloaded.

Proceed with this action? [y/N]: 
# pkg upgrade rsync
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 41 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    basu: 0.2.1 [FreeBSD-ports]
    hwdata: 0.411,1 [FreeBSD]
    libXdamage: 1.1.7 [FreeBSD-ports]
    libXfixes: 6.0.2 [FreeBSD]
    libXfont2: 2.0.9 [FreeBSD-ports]
    libXrandr: 1.5.5 [FreeBSD-ports]
    libXv: 1.0.13,1 [FreeBSD-ports]
    libXvMC: 1.0.15 [FreeBSD-ports]
    libXxf86vm: 1.1.7 [FreeBSD-ports]
    libdisplay-info: 0.4.0 [FreeBSD]
    libdrm: 2.4.134,1 [FreeBSD]
    libedit: 3.1.20260512,1 [FreeBSD-ports]
    libepoll-shim: 0.0.20240608 [FreeBSD-ports]
    libepoxy: 1.5.10 [FreeBSD-ports]
    libfontenc: 1.1.9 [FreeBSD-ports]
    libpcap: 1.10.7 [FreeBSD]
    libpciaccess: 0.19 [FreeBSD-ports]
    libudev-devd: 0.7.0 [FreeBSD]
    libxcvt: 0.1.3 [FreeBSD-ports]
    libxkbfile: 1.2.0 [FreeBSD-ports]
    libxshmfence: 1.3.3 [FreeBSD-ports]
    llvm19: 19.1.7_4 [FreeBSD]
    llvm19-lite: 19.1.7_4 [FreeBSD-ports]
    lua53: 5.3.6_1 [FreeBSD-ports]
    lua54: 5.4.8 [FreeBSD-ports]
    mesa-dri: 26.2.2 [FreeBSD]
    mesa-libs: 26.1.3 [FreeBSD-ports]
    mozjpeg: 4.1.5 [FreeBSD-ports]
    nvidia-driver-340: 340.108_5 [FreeBSD-ports]
    nvidia-driver-390: 390.157_1 [FreeBSD-ports]
    nvidia-kmod-340: 340.108.1500068 [FreeBSD-ports]
    nvidia-kmod-390: 390.157.1500068 [FreeBSD-ports]
    pixman: 0.46.4 [FreeBSD-ports]
    pkg-devel: 2.7.99.3 [FreeBSD-ports]
    spirv-llvm-translator-llvm19: 19.1.22 [FreeBSD]
    spirv-tools: 2026.3 [FreeBSD]
    wayland: 1.25.0 [FreeBSD-ports]
    xkbcomp: 1.5.0 [FreeBSD-ports]
    xkeyboard-config: 2.48 [FreeBSD-ports]
    xorg-server: 21.1.24,1 [FreeBSD-ports]

Installed packages to be UPGRADED:
    rsync: 3.4.4_1 -> 3.5.0_1 [FreeBSD]

Number of packages to be installed: 40
Number of packages to be upgraded: 1

The process will require 3 GiB more space.
433 MiB to be downloaded.

Proceed with this action? [y/N]:

python312 and python311 now have a xorg-server dependency? it's because of expat depending on xorg-server right now. I think something is wrong.

This is in latest, I mean why would wireshark-nox11 need xorg-server !? and nvidia drivers in turn? I mean why have a nox11 pkg if it is required? Even rsync why would it need xorg-server to run anything?
 
need xorg-server !? and nvidia drivers in turn?
Also, xorg-server doesn't even have a dependency on the nvidia-drivers. Even if -nox11 would have accidentally ended up including X, it still doesn't explain the NVidia drivers. Also interesting, it wants to install nvidia-driver-340 and nvidia-driver-390. They conflict with each other. Same for nvidia-kmod-340 and nvidia-kmod-390.

Something's certainly messed up here.
 
So went back to quarterly and now this shows as i would expect:
Code:
# pkg upgrade
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
Checking for upgrades (21 candidates): 100%
Processing candidates (21 candidates): 100%
The following 12 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
    acpi_call: 1.0.1.1500068_2 -> 1.0.1.1501000_2 [FreeBSD-ports-kmods]
    curl: 8.21.0 -> 8.22.0 [FreeBSD-ports]
    htop: 3.5.1 -> 3.5.3 [FreeBSD-ports]
    json-c: 0.19 -> 0.19_1 [FreeBSD-ports]
    libssh: 0.12.0_1 -> 0.12.2 [FreeBSD-ports]
    netdata: 2.8.5_8 -> 2.8.5_10 [FreeBSD-ports]
    perl5: 5.42.2 -> 5.42.3 [FreeBSD-ports]
    python311: 3.11.15_2 -> 3.11.16 [FreeBSD-ports] (vulnerable!)
    python312: 3.12.13_3 -> 3.12.14 [FreeBSD-ports] (vulnerable!)
    rsync: 3.4.4_1 -> 3.5.0_1 [FreeBSD-ports]
    swtpm: 0.10.1 -> 0.10.2 [FreeBSD-ports]

Installed packages to be REINSTALLED:
    json-glib-1.10.8 [FreeBSD-ports] (direct dependency changed: python311 (removed), python312 (added))

Number of packages to be upgraded: 11
Number of packages to be reinstalled: 1

The process will require 1 MiB more space.
123 MiB to be downloaded.

WARNING: 2 package(s) have known vulnerabilities

Proceed with this action? [y/N]:


Ran this, ..
Code:
# sed 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf > /usr/local/etc/pkg/repos/FreeBSD.conf
# pkg update
Updating FreeBSD-ports repository catalogue...
pkg: Repository FreeBSD-ports has a wrong packagesite, need to re-create database
Fetching meta.conf: 100%     168 B   0.2 kB/s    00:01  
Fetching data: 100%  9565 KiB   2.5 MB/s    00:04  
Processing entries: 100%
FreeBSD-ports repository update completed. 38132 packages processed.
Updating FreeBSD-ports-kmods repository catalogue...
pkg: Repository FreeBSD-ports-kmods has a wrong packagesite, need to re-create database
Fetching meta.conf: 100%     179 B   0.2 kB/s    00:01  
Fetching data: 100%    35 KiB  36.0 kB/s    00:01  
Processing entries: 100%
FreeBSD-ports-kmods repository update completed. 240 packages processed.
All repositories are up to date.

And the result is, ..
NOTE * I did do an upgrade under quarterly just in case.

Code:
# pkg upgrade
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
All repositories are up to date.
Checking for upgrades (35 candidates): 100%
Processing candidates (35 candidates): 100%
The following 37 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    libedit: 3.1.20260512,1 [FreeBSD-ports]
    libpcap: 1.10.7 [FreeBSD-ports]
    lua54: 5.4.8 [FreeBSD-ports]

Installed packages to be UPGRADED:
    abseil: 20250127.1_1 -> 20250127.1_2 [FreeBSD-ports]
    expat: 2.8.2 -> 2.8.4 [FreeBSD-ports]
    freeipmi: 1.6.18 -> 1.6.19 [FreeBSD-ports]
    giflib: 5.2.2 -> 6.1.3 [FreeBSD-ports]
    glib: 2.86.4,2 -> 2.88.3,2 [FreeBSD-ports]
    glib-bootstrap: 2.86.4,2 -> 2.88.3,2 [FreeBSD-ports]
    gnu-watch: 4.0.6_1 -> 4.0.7 [FreeBSD-ports]
    jsoncpp: 1.9.6_1 -> 1.9.8 [FreeBSD-ports]
    lerc: 4.1.1 -> 4.2.0 [FreeBSD-ports]
    libXft: 2.3.8 -> 2.3.9 [FreeBSD-ports]
    libdeflate: 1.25 -> 1.26 [FreeBSD-ports]
    libffi: 3.7.1 -> 3.8.0 [FreeBSD-ports]
    libgcrypt: 1.12.2 -> 1.12.3_2 [FreeBSD-ports]
    libnghttp2: 1.69.0 -> 1.70.0 [FreeBSD-ports]
    libpsl: 0.22.0 -> 0.23.3 [FreeBSD-ports]
    libslirp: 4.9.3 -> 4.9.4 [FreeBSD-ports]
    libuuid: 2.42.2 -> 2.42.3 [FreeBSD-ports]
    libvirt: 12.5.0 -> 12.7.0_1 [FreeBSD-ports]
    libxml2: 2.15.3 -> 2.15.4 [FreeBSD-ports]
    nano: 9.0 -> 9.2 [FreeBSD-ports]
    netdata: 2.8.5_10 -> 2.8.5_11 [FreeBSD-ports]
    nmap: 7.99_1 -> 7.991 [FreeBSD-ports]
    p11-kit: 0.26.4 -> 0.26.5 [FreeBSD-ports]
    pciids: 20260711 -> 20260912 [FreeBSD-ports]
    pcre2: 10.47_1 -> 10.48 [FreeBSD-ports]
    pkgconf: 2.4.3_1,1 -> 3.0.5,1 [FreeBSD-ports]
    powerman: 2.3.20_3 -> 2.4.4 [FreeBSD-ports]
    py312-packaging: 26.2 -> 26.3 [FreeBSD-ports]
    py312-pyyaml: 6.0.3 -> 6.0.3_1 [FreeBSD-ports]
    py312-wcwidth: 0.8.2 -> 0.8.3 [FreeBSD-ports]
    qemu-tools: 11.0.2 -> 11.1.1 [FreeBSD-ports]
    screen: 5.0.2 -> 5.0.2_1 [FreeBSD-ports]
    tiff: 4.7.1_1 -> 4.7.2 [FreeBSD-ports]
    x11perf: 1.6.1_1 -> 1.7.0 [FreeBSD-ports]

Number of packages to be installed: 3
Number of packages to be upgraded: 34

The process will require 6 MiB more space.
91 MiB to be downloaded.

Proceed with this action? [y/N]:

So I guess it was a me thing, .. just not sure where it came from as I frequently upgrade and .. no strange behavior was seen before.
 
Rich (BB code):
# pkg upgrade pkgconf
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
FreeBSD-ports-kmods repository is up to date.
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 41 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    basu: 0.2.1 [FreeBSD-ports]
    hwdata: 0.411,1 [FreeBSD]
This looks wrong:
Rich (BB code):
   [...]
New packages to be INSTALLED:
    basu: 0.2.1 [FreeBSD-ports]
    hwdata: 0.411,1 [FreeBSD]
[FreeBSD-ports] is a repository name used for the 15 branch.
[FreeBSD] is a repsository name used for the 14 branch.

I suspect some pkg .conf stuff got slightly out of tune in your /usr/local/etc/pkg/repos/FreeBSD.conf or elsewhere.

Can you post the output of:
pkg -vv | sed -nE -e '/^OSVERSION|^ABI/ p' -e '/^Repositories:/,$ p'
 
Good catch. Ran into this myself when I accidentally configured my custom repository twice. Got some really weird version issues, seems the resolver in pkg(8) gets royally confused by it.
 
This looks wrong:
Rich (BB code):
New packages to be INSTALLED:
    basu: 0.2.1 [FreeBSD-ports]
    hwdata: 0.411,1 [FreeBSD]
A possible explanation for the issue could be OP's [FreeBSD-ports] was latest and [FreeBSD] is quarterly.

Now with both repos in sync ("quarterly"), the problem went away.
 
This looks wrong:
Rich (BB code):
   [...]
New packages to be INSTALLED:
    basu: 0.2.1 [FreeBSD-ports]
    hwdata: 0.411,1 [FreeBSD]
[FreeBSD-ports] is a repository name used for the 15 branch.
[FreeBSD] is a repsository name used for the 14 branch.

I suspect some pkg .conf stuff got slightly out of tune in your /usr/local/etc/pkg/repos/FreeBSD.conf or elsewhere.

Can you post the output of:
pkg -vv | sed -nE -e '/^OSVERSION|^ABI/ p' -e '/^Repositories:/,$ p'


Code:
# pkg -vv | sed -nE -e '/^OSVERSION|^ABI/ p' -e '/^Repositories:/,$ p'
ABI = "FreeBSD:15:amd64";
OSVERSION = "1501000";
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_1",
    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_1",
    enabled         : no,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkgbase-15"
  }
 
A possible explanation for the issue could be OP's [FreeBSD-ports] was latest and [FreeBSD] is quarterly.

Now with both repos in sync ("quarterly"), the problem went away.
That is interesting, in the past I would call it a corner case. But if we're moving to pkgbase, I don't think it is anymore.
From a SecTeam perspective, what is the correct configuration?
Me doing a freebsd-update fetch, where does that pull from? The equivalent to "FreeBSD for 15.1 latest" or "FreeBSD 15.1 quarterly"?

Would the problem have gone away if both repos were pointing at latest?

I think that is closer to the root question. pkbase system, currently running 15.1-p1, do I need to point my FreeBSD repo at "latest" which should be gated by ABI/VERSION of 15.1-p1 to pick up "15.1-p3"
 
Me doing a freebsd-update fetch, where does that pull from? The equivalent to "FreeBSD for 15.1 latest" or "FreeBSD 15.1 quarterly"?
There is no "quarterly" or "latest" when it comes to the base OS.
 
There is no "quarterly" or "latest" when it comes to the base OS.
Ok, so if on pkgbase, a repo defined as "quarterly" should point to the same set of packages if the repo was defined as "latest"?
Just trying to reconcile in my head around post #8, with kmods repo and base repo.
 
Ok, so if on pkgbase, a repo defined as "quarterly" should point to the same set of packages if the repo was defined as "latest"?
Only FreeBSD-ports and FreeBSD-ports-kmods have a 'quarterly' or 'latest'. FreeBSD-base does not.
 
  • Like
Reactions: mer
Back
Top