Clarification of uprading 13.2 -> 14.3

I hate running freebsd-update because things have not worked properly in the past, but I guess I need to get my systems upto date.

Can someone just clarify that upgraing 13.2 -> 14.3 involves these steps:?

# freebsd-update fetch
# freebsd-update install
# freebsd-update upgrade -r 14.3-RELEASE
# freebsd-update install
# freebsd-update install

I'm not sure is freebsd-update install should be run three times.
 
# freebsd-update fetch
# freebsd-update install
You don't really need to do this step. Does not hurt but is handled by upgrade.

There should be a reboot between the two freebsd-update install

Code:
# freebsd-update upgrade -r 14.3-RELEASE
# freebsd-update install //<<this updates kernel
# reboot
# freebsd-update install //<<this updates userland

After that you must force update all packages.
pkg-static upgrade -f

To verify everything went ok check your version:
freebsd-version -kru
 
Fetching metadata signature for 14.3-RELEASE from dualstack.aws.update.freebsd.org... failed.
No mirrors remaining, giving up.

This may be because upgrading from this platform (amd64)
or release (14.3-RELEASE) is unsupported by freebsd-update. Only
platforms with Tier 1 support can be upgraded by freebsd-update.
See https://www.freebsd.org/platforms/ for more info.

If unsupported, FreeBSD must be upgraded by source.
 
As I mentioned in my original post, I have running freebsd-update. Here's why:-

Fetching metadata signature for 13.2-RELEASE from update.FreeBSD.org... failed.
No mirrors remaining, giving up.

This may be because upgrading from this platform (amd64)
or release (13.2-RELEASE) is unsupported by freebsd-update. Only
platforms with Tier 1 support can be upgraded by freebsd-update.
See https://www.freebsd.org/platforms/ for more info.

If unsupported, FreeBSD must be upgraded by source.

I'm trying to upgrade from 13.2 to 14.3 and have no idea why I get this.
 
As I mentioned in my original post, I have running freebsd-update. Here's why:-



I'm trying to upgrade from 13.2 to 14.3 and have no idea why I get this.
Because 13.2-RELEASE has been EOL for over 2 years now and is missing important bits that were necessary for the update to the 14 branch.
You should always read the release notes and installation instructions for major release upgrades to catch any required manual steps (e.g. changed config syntax) and possibly breaking changes for your setup. For the 14.0-RELEASE there was an explicit requirement to first run freebsd-update fetch install to get freebsd-update itself updated to account for some changes in 14.0. IIRC the most important bits were dealing with files that become folders during the upgrade, which could otherwise result in freebsd-update locking up or taking extremely long because it has to wait for a lot of commands to run into timeout.
 
Can I not update from 13.2 to 13.5 which is supported up until April 30, 2026?
On one system I'm managing to start an upgrade to 13.5-RELEASE after updating 13.2 to the last patchlevel.

Unfortunately I get stuck during the automatic merge changes process where I need to use vi to manually resolve conflicts in /etc/master.passwd
 
You can set the EDITOR environment variable to an editor you're more comfortable with. Or do you have a problem with the actual merge and don't know what to keep and/or remove?
 
I'm not sure how to handle this(/etc/master.passwd):-

Code:
<<<<<<< current version
# $FreeBSD$
#
root:$6$BagHN0cLVgy0sciY$/qEs2kpTdnwj5W5GsYspB6wzGGpIznDM5QjjDZi0Xgp8XTN3eM0e5JgbdU/.K2pNF6rbGK2sU6VU.12VM3elg0:0:0::0:0:Charlie &:/root:/bin/sh
=======
root::0:0::0:0:Charlie &:/root:/bin/csh
>>>>>>> 13.5-RELEASE
toor:*:0:0::0:0:Bourne-again Superuser:/root:
daemon:*:1:1::0:0:Owner of many system processes:/root:/usr/sbin/nologin
 
Code:
<<<<<<< current version                          <---- REMOVE
# $FreeBSD$                                      <-----REMOVE
#                                                <-----REMOVE
root:<snip>:0:0::0:0:Charlie &:/root:/bin/sh     <-----KEEP THIS LINE!!!!!
=======                                          <-----REMOVE
root::0:0::0:0:Charlie &:/root:/bin/csh          <-----REMOVE
>>>>>>> 13.5-RELEASE                             <-----REMOVE
toor:*:0:0::0:0:Bourne-again Superuser:/root:
daemon:*:1:1::0:0:Owner of many system processes:/root:/usr/sbin/nologin
 
On the other problem (where it says "No mirrors remaining, giving up."): that should not happen.

Does that system have good network connectivity, to reach the FreeBSD download servers? Could it be that it is a hosted system (for example in AWS or Google cloud), and is configured to only use their internal upgrade servers? Have you read /etc/freebsd-update.conf carefully?
 
Back
Top