pkg, FreeBSD-kmods & drm-61-kmod version

Hi, everyone!
I recently switched from quarterly to latest, and so far, so good.

But what I really can't figure out is the installation order for the drm-61-kmod version (1404000_9 vs. 1404000_10).

% uname -a
FreeBSD stage_name.internal 14.4-RELEASE-p8 FreeBSD 14.4-RELEASE-p8 releng/14.4-n273754-3de2d29b088e GENERIC amd64


My /usr/local/etc/pkg/repos/FreeBSD.conf:
Code:
% pkg repos
FreeBSD: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/latest",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
FreeBSD-kmods: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/kmods_latest_4",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
and
Code:
pkg info drm-61-kmod
drm-61-kmod-6.1.128.1404000_9
Name           : drm-61-kmod
Version        : 6.1.128.1404000_9
Installed on   : Sat Aug  1 13:26:00 2026 CEST
Origin         : graphics/drm-61-kmod
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : graphics kld
Licenses       : BSD2CLAUSE, MIT, GPLv2
Maintainer     : x11@FreeBSD.org
WWW            : https://github.com/freebsd/drm-kmod/
Comment        : Direct Rendering Manager GPU drivers
Annotations    :                                                                                                                                                                                                                                             
        FreeBSD_version: 1404000                                                                                                                                                                                                                             
        repo_type      : binary                                                                                                                                                                                                                               
        repository     : FreeBSD-kmods                                                                                                                                                                                                                       
Flat size      : 16.9MiB
But pkg search drm-61-kmod shows:

drm-61-kmod-6.1.128.1404000_10 Direct Rendering Manager (DRM) GPU drivers
and
drm-61-kmod-6.1.128.1404000_9 Direct Rendering Manager GPU drivers

and
Code:
% pkg version -r FreeBSD-kmods -vRx drm                                                                                                                                                                                                  
drm-61-kmod-6.1.128.1404000_9      =   up-to-date with remote                                                                                                                                                                                                 
libdrm-2.4.133,1                   ?   orphaned: graphics/libdrm
says its up-to-date and libdrm is orphaned?

The 1404000_10 is the version on freshports.org for latest and the 1404000_9 on FreeBSD-kmods (FreeBSD:14:amd64/kmods_latest_4/All/).



But why isn't the 1404000_10 version being installed?


I guess I've just fallen into my own rabbit hole.

Nandor
 
Ugh, of course—that's why:
Code:
# pkg install -r FreeBSD drm-61-kmod
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
FreeBSD is up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
        drm-61-kmod: 6.1.128.1404000_9 -> 6.1.128.1404000_10 [FreeBSD]

Number of packages to be upgraded: 1

3 MiB to be downloaded.

Proceed with this action? [y/N]:
The only question I have left is: if both repos have the same priority [0], why isn't the higher version installed?
 
Back
Top