FreeBSD-kmods pkg repo on 14.3

hello,
i have tried upgrading my system for the first time.
I did freebsd-update fetch and install 3 times, rebooted inbetween. Then i did freebsd-update upgrade -r 14.3-RELEASE and rebooted when it was done. I got these errors when trying to kldload i915kms.

1000005266.jpg



The solution was to add the FreeBSD-kmods repo to /usr/local/etc/pkg/repos/latest.conf.
Code:
FreeBSD-kmods {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_latest_${VERSION_MINOR}",
  enabled: yes,
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  mirror_type: "srv"
}

But according to this comment that shouldnt have been necessary. So now i am confused if i have upgraded correctly.

[~] $ freebsd-version -kru
14.3-RELEASE-p2
14.3-RELEASE-p2
14.3-RELEASE-p2

Could anyone explain to me why this was necessary?
 
I did freebsd-update fetch and install 3 times, rebooted inbetween.
Why three times? The first would have already installed the very latest patch updates for your version, there's absolutely no reason to repeat the entire fetch/install cycle three times in a row.

Then i did freebsd-update upgrade -r 14.3-RELEASE and rebooted when it was done.
It didn't install or update anything at this point. Here's where you had to run freebsd-update install two (for minor version upgrades) or three times (for major version upgrades), rebooting after each individual install.

The solution was to add the FreeBSD-kmods repo to /usr/local/etc/pkg/repos/latest.conf.
"Added" seems to imply you had switched the "FreeBSD" package repository to latest previously. The "FreeBSD-kmods" repository was added to /etc/pkg/FreeBSD.conf with the 14.3 update. Both "FreeBSD" and "FreeBSD-kmods" repositories in /etc/pkg/FreeBSD.conf default to the quarterly package repositories.
 
Back
Top