On 14/12/2025 12:07, Lars Tunkrans wrote:
… its nessesary to disable the KMOD repo. …
Not necessary.
You may, if you wish, perform a repository-specific installation.
The second example below uses the --repository (-r) option of
pkg-install(8)
<https://man.freebsd.org/cgi/man.cgi?query=pkg-install&sektion=8&manpath=freebsd-ports>.
If I recall correctly, excluding the FreeBSD-ports-kmods repo when
installing may cause future confusion when performing an ordinary
(non-specific) upgrade.
root@minimal-kde-pre:~ # pkg install -nU nvidia-drm-kmod
Checking integrity... done (0 conflicting)
The following 6 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
drm-66-kmod: 6.6.25.1500068_8 [FreeBSD-ports-kmods]
egl-wayland: 1.1.20 [FreeBSD-ports]
nvidia-driver: 580.95.05 [FreeBSD-ports]
nvidia-drm-66-kmod: 580.95.05.1500068 [FreeBSD-ports]
nvidia-drm-kmod: 580.95.05_1 [FreeBSD-ports]
nvidia-kmod: 580.105.08.1500068 [FreeBSD-ports-kmods]
Number of packages to be installed: 6
The process will require 516 MiB more space.
root@minimal-kde-pre:~ # pkg install -nU -r FreeBSD-ports nvidia-drm-kmod
The following 6 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
drm-66-kmod: 6.6.25.1500068_5 [FreeBSD-ports]
egl-wayland: 1.1.20 [FreeBSD-ports]
nvidia-driver: 580.95.05 [FreeBSD-ports]
nvidia-drm-66-kmod: 580.95.05.1500068 [FreeBSD-ports]
nvidia-drm-kmod: 580.95.05_1 [FreeBSD-ports]
nvidia-kmod: 580.95.05.1500068 [FreeBSD-ports]
Number of packages to be installed: 6
The process will require 516 MiB more space.
155 MiB to be downloaded.
root@minimal-kde-pre:~ #