FreeBSD 15.1 Upgrade Question

I'm upgrading from 14.4 to 15.1 and currently on this step:
Code:
Completing this upgrade requires removing old shared object files.
Please upgrade or rebuild all installed 3rd party software (e.g.,
programs installed with pkg or from the ports tree) and then run
'freebsd-update [options] install' again to finish installing updates.

I have 2 different AI's saying two completely different things. I'm using synth to rebuild all my ports.

I'm assuming I need to do all of this before running freebsd-update install again?

Code:
su (change to root)
screen
rm -rf /var/synth/live_packages/All/*.pkg
sudo rm -f /var/db/gitup/ports /var/db/gitup/ports.history
gitup ports
synth just-build `cat /home/mayhem/build.list`
synth rebuild-repository
pkg delete -af
/usr/sbin/pkg bootstrap -f
pkg install `cat /home/mayhem/install.list`
 
I have 2 different AI's saying two completely different things.
Thus the cause of all your problems. I have as yet to get a correct answer from AI about anything.
Use the source, my friend. AI will screw you up every way imaginable.
Yes, when moving from one major version to another, all software needs to be reinstalled because the ABI changes.
I'm using synth to rebuild all my ports.
Why would you use a third party thing instead of FreeBSD's native for that?
EDIT: Re-reading I see you are using ports. I don't recall what is done for ports since I haven't used them in many years.
 
My issue here is with the wording:
Please upgrade or rebuild all installed 3rd party software

It doesn't say whether to install them or not. So I don't know what to do .. I'm just sitting at this prompt.
 
Thanks, I'm using non-standard configuration for ports. I'll let them build tonight and worry about the rest of the steps tomorrow.
 
The biggest concern about ports and upgrading is "do you have any third party kmods lie drm stuff that gets loaded during reboot".
What I have done in the past is comment out the kld_list variable in /etc/rc.conf, do the freebsd-update steps, rebuild/install all the ports then reenable kld_list. First time I usually manually load any of the modules just to play it safe.

Applications are typically safe because of compatibility with the previous version in the kernel, but one needs to update as soon a possible.

If you are using ZFS you can manually create new BEs and do the upgrade into them.
 
Back
Top