Solved cannot upgrade from 13.0 to 13.1

Hi all, today I was trying to upgrade from 13.0 to 13.1 by the terminal command

sudo freebsd-update -r 13.1-RELEASE upgrade

but just after the command runs and asks for the first confirmation (y), then it ends with:

"Fetching metadata signature for 13.1-RELEASE from update1.freebsd.org... failed.
Fetching metadata signature for 13.1-RELEASE from update2.freebsd.org... failed.
No mirrors remaining, giving up.

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

Can anyone tell how to solve?
Thank you in advance
Mauro
 
Try updating to the last patch release first. So freebsd-update fetch install.
 
Try updating to the last patch release first. So freebsd-update fetch install.
Code:
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 13.0-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
The following files will be removed as part of updating to
13.0-RELEASE-p12:
/etc/ssl/certs/080911ac.0
/etc/ssl/certs/0b7c536a.0
/etc/ssl/certs/0c4c9b6c.0
/etc/ssl/certs/116bf586.0
/etc/ssl/certs/1320b215.0
/etc/ssl/certs/26312675.0
/etc/ssl/certs/349f2832.0
/etc/ssl/certs/442adcac.0
/etc/ssl/certs/5a4d6896.0
/etc/ssl/certs/9c2e7d30.0
/etc/ssl/certs/a8dee976.0
/etc/ssl/certs/b1b8a7f3.0
/etc/ssl/certs/c01cdfa2.0
/etc/ssl/certs/c47d9980.0
/etc/ssl/certs/cb59f961.0
/etc/ssl/certs/d853d49e.0
/etc/ssl/certs/dc45b0bd.0
/etc/ssl/certs/ee1365c0.0
/etc/ssl/certs/f90208f7.0
/usr/share/certs/trusted/Camerfirma_Chambers_of_Commerce_Root.pem
/usr/share/certs/trusted/Camerfirma_Global_Chambersign_Root.pem
/usr/share/certs/trusted/Certum_Root_CA.pem
/usr/share/certs/trusted/Chambers_of_Commerce_Root_-_2008.pem
/usr/share/certs/trusted/D-TRUST_Root_CA_3_2013.pem
:

cursor stops here, nothing happens anymore.  Then I give enter each time to get one-by-one the following lines:

/usr/share/certs/trusted/EC-ACC.pem
/usr/share/certs/trusted/GeoTrust_Primary_Certification_Authority_-_G2.pem
/usr/share/certs/trusted/Global_Chambersign_Root_-_2008.pem
/usr/share/certs/trusted/OISTE_WISeKey_Global_Root_GA_CA.pem
/usr/share/certs/trusted/QuoVadis_Root_CA.pem
/usr/share/certs/trusted/Sonera_Class_2_Root_CA.pem
/usr/share/certs/trusted/Staat_der_Nederlanden_Root_CA_-_G3.pem
/usr/share/certs/trusted/SwissSign_Platinum_CA_-_G2.pem
/usr/share/certs/trusted/Symantec_Class_1_Public_Primary_Certification_Authority_-_G6.pem
/usr/share/certs/trusted/Symantec_Class_2_Public_Primary_Certification_Authority_-_G6.pem
/usr/share/certs/trusted/Trustis_FPS_Root_CA.pem
/usr/share/certs/trusted/VeriSign_Universal_Root_Certification_Authority.pem
/usr/share/certs/trusted/Verisign_Class_1_Public_Primary_Certification_Authority_-_G3.pem
/usr/share/certs/trusted/Verisign_Class_2_Public_Primary_Certification_Authority_-_G3.pem
/usr/src/secure/caroot/trusted/Camerfirma_Chambers_of_Commerce_Root.pem
/usr/src/secure/caroot/trusted/Camerfirma_Global_Chambersign_Root.pem
/usr/src/secure/caroot/trusted/Certum_Root_CA.pem
/usr/src/secure/caroot/trusted/Chambers_of_Commerce_Root_-_2008.pem
/usr/src/secure/caroot/trusted/D-TRUST_Root_CA_3_2013.pem
/usr/src/secure/caroot/trusted/EC-ACC.pem
/usr/src/secure/caroot/trusted/GeoTrust_Primary_Certification_Authority_-_G2.pem
/usr/src/secure/caroot/trusted/Global_Chambersign_Root_-_2008.pem
/usr/src/secure/caroot/trusted/OISTE_WISeKey_Global_Root_GA_CA.pem
/usr/src/secure/caroot/trusted/QuoVadis_Root_CA.pem
/usr/src/secure/caroot/trusted/Sonera_Class_2_Root_CA.pem
/usr/src/secure/caroot/trusted/Staat_der_Nederlanden_Root_CA_-_G3.pem
/usr/src/secure/caroot/trusted/SwissSign_Platinum_CA_-_G2.pem
/usr/src/secure/caroot/trusted/Symantec_Class_1_Public_Primary_Certification_Authority_-_G6.pem
/usr/src/secure/caroot/trusted/Symantec_Class_2_Public_Primary_Certification_Authority_-_G6.pem
/usr/src/secure/caroot/trusted/Trustis_FPS_Root_CA.pem
/usr/src/secure/caroot/trusted/VeriSign_Universal_Root_Certification_Authority.pem
/usr/src/secure/caroot/trusted/Verisign_Class_1_Public_Primary_Certification_Authority_-_G3.pem
/usr/src/secure/caroot/trusted/Verisign_Class_2_Public_Primary_Certification_Authority_-_G3.pem
(END)
no operable prompt-cursor anymore, cannot go ahead as far as I understand.

Thank you
 
 
after ctrl+V , follows output as below:
Code:
...skipping...
13.0-RELEASE-p12:
/etc/ssl/certs/080911ac.0
/etc/ssl/certs/0b7c536a.0
/etc/ssl/certs/0c4c9b6c.0
/etc/ssl/certs/116bf586.0
/etc/ssl/certs/1320b215.0
/etc/ssl/certs/26312675.0
/etc/ssl/certs/349f2832.0
/etc/ssl/certs/442adcac.0
/etc/ssl/certs/5a4d6896.0
/etc/ssl/certs/9c2e7d30.0
/etc/ssl/certs/a8dee976.0
/etc/ssl/certs/b1b8a7f3.0
/etc/ssl/certs/c01cdfa2.0
/etc/ssl/certs/c47d9980.0
/etc/ssl/certs/cb59f961.0
/etc/ssl/certs/d853d49e.0
/etc/ssl/certs/dc45b0bd.0
/etc/ssl/certs/ee1365c0.0
/etc/ssl/certs/f90208f7.0
/usr/share/certs/trusted/Camerfirma_Chambers_of_Commerce_Root.pem
/usr/share/certs/trusted/Camerfirma_Global_Chambersign_Root.pem
/usr/share/certs/trusted/Certum_Root_CA.pem
/usr/share/certs/trusted/Chambers_of_Commerce_Root_-_2008.pem
/usr/share/certs/trusted/D-TRUST_Root_CA_3_2013.pem
/usr/share/certs/trusted/EC-ACC.pem
/usr/share/certs/trusted/GeoTrust_Primary_Certification_Authority_-_G2.pem
/usr/share/certs/trusted/Global_Chambersign_Root_-_2008.pem
/usr/share/certs/trusted/OISTE_WISeKey_Global_Root_GA_CA.pem
log file: d-update fetch install
what's next? should I look for a log file? Where?

Sorry maybe I'm not so good in translating/understanding the man page you have indicated (english is not my language) and I'm proceeding by attempts.
If possible I would need basic instructions.
Thank you
 
Why Ctrl+V - that's scroll-forward by a number of lines. Easiest just to press q at each prompt unless you want to see all the output.

You've omitted what commands you actually typed, and what the final output was, so not really clear what you are doing and what output you are getting.

If you do

freebsd-version -ruk

What is the output?
 
freebsd-version -ruk
13.0-RELEASE
13.0-RELEASE
13.0-RELEASE

Easiest just to press q at each prompt

good! That was the key to use.
Then:
Code:
WARNING: FreeBSD 13.0-RELEASE is approaching its End-of-Life date.
It is strongly recommended that you upgrade to a newer
release within the next 5 days.
Installing updates... 
Scanning //usr/share/certs/blacklisted for certificates...
Scanning //usr/share/certs/trusted for certificates...
Scanning //usr/local/share/certs for certificates...
 done.
and now the command freebsd-update -r 13.1-RELEASE upgrade
is running the job.
Later on I'll let you know how it went.
Thank you for now
 
now, after some work progress:

The following file could not be merged automatically: /etc/group
Press Enter to edit this file in /usr/bin/vi and resolve the conflicts
manually...

Code:
# $FreeBSD$
#
wheel:*:0:root,mauro
daemon:*:1:
kmem:*:2:
sys:*:3:
tty:*:4:
operator:*:5:root,mauro
mail:*:6:
bin:*:7:
news:*:8:
man:*:9:
games:*:13:
ftp:*:14:
staff:*:20:
sshd:*:22:
smmsp:*:25:
mailnull:*:26:
guest:*:31:
<<<<<<< current version
video:*:44:mauro
=======
video:*:44:
realtime:*:47:
idletime:*:48:
>>>>>>> 13.1-RELEASE
bind:*:53:
unbound:*:59:
proxy:*:62:
authpf:*:63:
_pflogd:*:64:
_dhcp:*:65:
uucp:*:66:
dialer:*:68:
network:*:69:
audit:*:77:
www:*:80:
ntpd:*:123:
_ypldap:*:160:
hast:*:845:
tests:*:977:
nogroup:*:65533:
nobody:*:65534:
_tss:*:601:
messagebus:*:556:
avahi:*:558:
cups:*:193:
polkitd:*:565:
colord:*:970:
mauro:*:1001:
sddm:*:219:
polkit:*:562:
haldaemon:*:560:
cyrus:*:60:
saned:*:194:
pulse:*:563:
pulse-access:*:564:
pulse-rt:*:557:
_sndio:*:702:
git_daemon:*:964
understand I'm in vi but no idea which are the conflicts and how to edit to resolve them
 
Default pager is less(1) which is very good program and you have to learn the basic commands for it.
In short the shortcut keys that you need to remember are
"q = quit"
"space = scroll one screen"
"/string = search for string"
"n = search next match"
"N = search backward"

When you are upgrading the text that you see is the output of the upgrade process into the LESS pager so to quickly navigate you can use "space" or if you don't care to read it and just want to exit press "q"
I would suggest you to test the LESS pager how it's work if you didn't use it yet, for example you can open some log file using and test it so you can get comfortable with it
less /var/log/messages or some other log file then press "/" and type some search string and hit enter or press "shift+G" to scroll to the "END" of the log file or "g" to go to TOP of the file if you press "h" a help window will appear with all shortcuts.
 
Looks like you added user mauro to the video group.

realtime and idletime are (I think) new users added in 13.1.

DELETE <<<<<<< current version
LEAVE video:*:44:mauro
DELETE =======
DELETE video:*:44:
LEAVE realtime:*:47:
LEAVE idletime:*:48:
DELETE >>>>>>> 13.1-RELEASE

Look at vi manual for how to achieve the edits OR instead of saying you’ll view and edit the changes you can install the 13.1 version and re-add the user to the group.
 
Some additional notes:

[...] Sorry maybe I'm not so good in translating/understanding the man page you have indicated (english is not my language) and I'm proceeding by attempts.
If possible I would need basic instructions.
Thank you
Default pager is LESS(1) which is very good program and you have to learn the basic commands for it.
I'm assuming you are more familiar with Italian, this would get you started in Italian:
Come usare il comando Less su Linux

Normally it is not advisible for the fine details to read instructions for a Linux variant but less(1) is very basic. It would be better to make the switch to english as quick as you can; I realize that may be easier said than done.
 
well it seems I've made it !!! :)
:)

Untitled.jpg

this after the editing of those file lines in vi, like richardtooehy2 wrote, and applying the command after a reboot indicated by last line message, run as above.
It seems all working fine then, I'll check everything later on but the result of version check is self explainatory
Thanks again
 
Make sure you do *all* the install steps (one for kernel, one for userland) and reboot after each.

13.1 has a newer version of SSH (userland) so you definitely need the reboot otherwise you can find ssh stops working (if you use it).

Use

freebsd-version -ruk

To check that you have running kernel, userland, and installed kernel all at the same level.

freebsd-update is very stable for most people and usually very simple - fetch, install kernel, reboot with new kernel, install userland, reboot new userland - job done.
 
13.1-RELEASE-p1
13.1-RELEASE-p1
13.1-RELEASE-p1

seems all the same right ?
Just to clarify: when updating from one major FreeBSD version (for example 12.x) to the next one (for example from 12.x to 13.y) the installed kernel, running kernel and userland do not necessarily all have to be of the same patch level, as happens to be the case in your upgrade with patch level p1.

To get a good look at what's going on with the installed kernel, running kernel and userland during an upgrade from one major FreeBSD version to the next one during the three times you issue freebsd-update install:
execute freebsd-version -kru after each reboot. With every step in the upgrade process, you'll see the progress.
 
Back
Top