Re: FreeBSD 15.0-RELEASE: Trouble after upgrade
Date: Wed, 03 Dec 2025 12:10:40 UTC
On Tue, Dec 2, 2025 at 6:48 PM Matthias Fechner <idefix@fechner.net> wrote: > Am 02.12.2025 um 14:21 schrieb Odhiambo Washington: > > I have upgraded my FreeBSD 14.3-RELEASE to 15.0-RELEASE using freebsd > update. > > have you followed these steps? > > freebsd-update upgrade -r 15.0-RELEASE > freebsd-update install > # nextboot -k GENERIC > reboot > freebsd-update install > # check that config files in etc are correct! > reboot > # Make sure you point pkg repo definition to correct FreeBSD version > pkg update -f > pkg-static install -f pkg > pkg-static upgrade -F -y > pkg upgrade -f -y > freebsd-update install > reboot > > This worked perfectly fine for me. > > Matthias > I tossed my VM and restored from backup, then went through the upgrade process again. Finally, I hit the error that led me into a wild goose chase: root@gw:/home/wash # shutdown -r now Shutdown NOW! shutdown: [pid 70896] root@gw:/home/wash # *** FINAL System shutdown message from wash@gw.wash.lan *** System going down IMMEDIATELY System shutdown time has arrived login as: wash Keyboard-interactive authentication prompts from server: | Password for wash@gw.wash.lan: End of keyboard-interactive prompts from server wash@gw:~$ doas su root@gw:/home/wash # freebsd-update install pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended Installing updates... done. root@gw:/home/wash # pkg bootstrap -f The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+ https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0, please wait... pkg: Error fetching https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/Latest/pkg.pkg: Not Found A pre-built version of pkg could not be found for your system. root@gw:/home/wash # root@gw:/home/wash # root@gw:/home/wash # root@gw:/home/wash # root@gw:/home/wash # portupgrade -af pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... - 0 packages found (-0 +0) nothing to do] root@gw:/home/wash # pkg bootstrap -f The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+ https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0, please wait... pkg: Error fetching https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/Latest/pkg.pkg: Not Found A pre-built version of pkg could not be found for your system. root@gw:/home/wash # pkg-static install -f pkg pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended Updating FreeBSD-ports-kmods repository catalogue... FreeBSD-ports-kmods repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The most recent versions of packages are already installed root@gw:/home/wash # pkg-static upgrade -F -y pkg-static: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended Updating FreeBSD-ports-kmods repository catalogue... FreeBSD-ports-kmods repository is up to date. All repositories are up to date. Checking for upgrades (0 candidates): 100% Processing candidates (0 candidates): 100% Checking integrity... done (0 conflicting) Your packages are up to date. root@gw:/home/wash # pkg upgrade -f -y ld-elf.so.1: Shared object "libutil.so.9" not found, required by "pkg" <========================================= root@gw:/home/wash # freebsd-update install No updates are available to install. Run 'freebsd-update [options] fetch' first. root@gw:/home/wash # reboot login as: wash Keyboard-interactive authentication prompts from server: | Password for wash@gw.wash.lan: End of keyboard-interactive prompts from server wash@gw:~$ doas su ld-elf.so.1: Shared object "libutil.so.9" not found, required by "doas" <======================================== wash@gw:~$ -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]