Solved What is the most simple upgrade procedure from FreeBSD 15.0 to 15.1?

Apologies, if I miss the obvious. I am new to FreeBSD since December 2025.

My system is at
Code:
dvl@mybsd:~ % uname -a
FreeBSD mybsd 15.0-RELEASE-p10 FreeBSD 15.0-RELEASE-p10 GENERIC amd64
Code:
dvl@mybsd:~ % doas freebsd-update install
Password:
No updates are available to install.
Run 'freebsd-update [options] fetch' first.
Code:
dvl@mybsd:~ % cat /etc/pkg/FreeBSD.conf 
FreeBSD-ports: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
FreeBSD-ports-kmods: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_quarterly_${VERSION_MINOR}",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
FreeBSD-base: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkgbase-${VERSION_MAJOR}",
  enabled: no
}

If I try to upgrade I get the following message:
Code:
dvl@mybsd:~ % freebsd-update upgrade -r 15.1-RELEASE
freebsd-update: Directory does not exist or is not writable: /var/db/freebsd-update
dvl@mybsd:~ % doas freebsd-update upgrade -r 15.1-RELEASE
Password:

The following modules have been installed from packages.
As a consequence they might not work when performing a major or minor upgrade.
It is advised to rebuild these ports:

Module                                                            Package                                            Port
------                                                            -------                                            ----
/boot/firmware/amd-ucode.bin                                      cpu-microcode-amd-20251202                         sysutils/cpu-microcode-amd
/boot/firmware/intel-ucode.bin                                    cpu-microcode-intel-20260227                       sysutils/cpu-microcode-intel
/boot/modules/amdgpu.ko                                           drm-latest-kmod-6.9.1500068_1                      graphics/drm-latest-kmod
/boot/modules/dmabuf.ko                                           drm-latest-kmod-6.9.1500068_1                      graphics/drm-latest-kmod
/boot/modules/drm.ko                                              drm-latest-kmod-6.9.1500068_1                      graphics/drm-latest-kmod
/boot/modules/i915kms.ko                                          drm-latest-kmod-6.9.1500068_1                      graphics/drm-latest-kmod
/boot/modules/radeonkms.ko                                        drm-latest-kmod-6.9.1500068_1                      graphics/drm-latest-kmod
/boot/modules/ttm.ko                                              drm-latest-kmod-6.9.1500068_1                      graphics/drm-latest-kmod
/boot/modules/amdgpu_dcn_3_1_5_dmcub_bin.ko                       gpu-firmware-amd-kmod-dcn-3-1-5-20250109.1500068   graphics/gpu-firmware-amd-kmod
/boot/modules/amdgpu_gc_10_3_6_ce_bin.ko                          gpu-firmware-amd-kmod-gc-10-3-6-20250109.1500068   graphics/gpu-firmware-amd-kmod
/boot/modules/amdgpu_gc_10_3_6_me_bin.ko                          gpu-firmware-amd-kmod-gc-10-3-6-20250109.1500068   graphics/gpu-firmware-amd-kmod
/boot/modules/amdgpu_gc_10_3_6_mec2_bin.ko                        gpu-firmware-amd-kmod-gc-10-3-6-20250109.1500068   graphics/gpu-firmware-amd-kmod
/boot/modules/amdgpu_gc_10_3_6_mec_bin.ko                         gpu-firmware-amd-kmod-gc-10-3-6-20250109.1500068   graphics/gpu-firmware-amd-kmod
/boot/modules/amdgpu_gc_10_3_6_pfp_bin.ko                         gpu-firmware-amd-kmod-gc-10-3-6-20250109.1500068   graphics/gpu-firmware-amd-kmod
/boot/modules/amdgpu_gc_10_3_6_rlc_bin.ko                         gpu-firmware-amd-kmod-gc-10-3-6-20250109.1500068   graphics/gpu-firmware-amd-kmod
/boot/modules/amdgpu_psp_13_0_5_asd_bin.ko                        gpu-firmware-amd-kmod-psp-13-0-5-20250109.1500068  graphics/gpu-firmware-amd-kmod
/boot/modules/amdgpu_psp_13_0_5_ta_bin.ko                         gpu-firmware-amd-kmod-psp-13-0-5-20250109.1500068  graphics/gpu-firmware-amd-kmod
/boot/modules/amdgpu_psp_13_0_5_toc_bin.ko                        gpu-firmware-amd-kmod-psp-13-0-5-20250109.1500068  graphics/gpu-firmware-amd-kmod
/boot/modules/amdgpu_sdma_5_2_6_bin.ko                            gpu-firmware-amd-kmod-sdma-5-2-6-20250109.1500068  graphics/gpu-firmware-amd-kmod
/boot/modules/amdgpu_vcn_3_1_2_bin.ko                             gpu-firmware-amd-kmod-vcn-3-1-2-20250109.1500068   graphics/gpu-firmware-amd-kmod
/boot/modules/if_re.ko                                            realtek-re-kmod-1101.00.1500068                    net/realtek-re-kmod
/boot/firmware/mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin         wifi-firmware-mt76-kmod-mt792x-20240513.1500068_2  net/wifi-firmware-mt76-kmod
/boot/firmware/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin         wifi-firmware-mt76-kmod-mt792x-20240513.1500068_2  net/wifi-firmware-mt76-kmod
/boot/firmware/mediatek/WIFI_RAM_CODE_MT7922_1.bin                wifi-firmware-mt76-kmod-mt792x-20240513.1500068_2  net/wifi-firmware-mt76-kmod
/boot/firmware/mediatek/WIFI_RAM_CODE_MT7961_1.bin                wifi-firmware-mt76-kmod-mt792x-20240513.1500068_2  net/wifi-firmware-mt76-kmod
/boot/firmware/mediatek/mt7925/WIFI_MT7925_PATCH_MCU_1_1_hdr.bin  wifi-firmware-mt76-kmod-mt792x-20240513.1500068_2  net/wifi-firmware-mt76-kmod
/boot/firmware/mediatek/mt7925/WIFI_RAM_CODE_MT7925_1_1.bin       wifi-firmware-mt76-kmod-mt792x-20240513.1500068_2  net/wifi-firmware-mt76-kmod


Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 15.0-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic src/src world/base

The following components of FreeBSD do not seem to be installed:
kernel/generic-dbg world/base-dbg world/lib32 world/lib32-dbg

Does this look reasonable (y/n)? n

And indeed, if I follow the upgrade instructions I run into a Core Dump because of drm module.

Do I have to search where I load the modules shown above and deactivate them before doing a doas freebsd-update install followed by shutdown -r now? Or is there a simpler way?

What is the most simple upgrade procedure?
 
:cool: Anyone with children is always in a hurry. I only have an hour or two a day to get things done. That’s why I thought it would be a good idea to do the upgrade now.

But you are right. Now I will wait until June, 15th and start a new thread if something breaks again.
 
I had one laptop that was using freebsd-update rather than pkg base. I attempted an upgrade, trying to do what I did on a vm, go to rc3 then to release, but after the upgrade it kept going back to the boot menu. So, as I had the time, used the Boot Environment to revert and converted it to pkgbase. And, decided to wait for the announcement, especially as there's a potential issue, since it boots via Grub (a Linux multibooting laptop and not sure what'll happen after it's upgraded.)
 
Actually as I was rather bored tonight. I updated the laptop. First created a Boot Environment of the working system. Then, as I said before, I'd updated it to pkgbase, so I used the pkgbase instructions to upgrade to RC3. Then from RC3, I just ran pkg update, pkg upgrade and it upgraded to 15.1-RELEASE. This is on a laptop that I use more often with a few Linux distributions that are also installed on it.
 
Seems I spoke too soon. I went right from RC-3 to 15.1 so I don't know how much is part of that. Anyway, it installed a bunch of Xlibre Nvidia stuff--I don't have nvidia on this laptop and I don't want Xlibre anything. Also alacritty stopped working saying it needed some GLX something. (Not asking for help, just commenting, when the release becomes final if the issue persists, I'll ask for help and give better info.)

So, as I'd made a Boot Environment I called WORKING, I went back to 15.0-p10 for now.
 
Back
Top