I installed the patches from the EN for freebsd-update today on a number of systems. The one system running 11.0-BETA1 then was able to upgrade to BETA2 with no problems. However, none of the 9.3 systems would upgrade. This is what happened on each of them: mail# uname -a FreeBSD mail 9.3-RELEASE-p43 FreeBSD 9.3-RELEASE-p43 #0: Sat May 28 00:19:32 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 mail# freebsd-update upgrade -r 11.0-BETA2 Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 9.3-RELEASE from update6.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic world/base The following components of FreeBSD do not seem to be installed: world/doc world/games world/lib32 Does this look reasonable (y/n)? y Fetching metadata signature for 11.0-BETA2 from update6.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. The update metadata is correctly signed, but failed an integrity check. Cowardly refusing to proceed any further.
Just tried this afternoon upgrading to BETA3. Same issue.
Please check if applying the small fix from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211354 helps.
*** This bug has been marked as a duplicate of bug 211354 ***
Sorry - but that patch was already installed. freebsd-update still does not work. This bug is not fixed. I installed the EN before even trying the update. It may duplicate that other bug report, but the cause is not the same.
(In reply to bc979 from comment #4) Can you try applying this? (r279901) Index: head/usr.sbin/freebsd-update/freebsd-update.sh =================================================================== --- head/usr.sbin/freebsd-update/freebsd-update.sh (revision 279900) +++ head/usr.sbin/freebsd-update/freebsd-update.sh (revision 279901) @@ -1231,7 +1231,7 @@ fetch_metadata_sanity () { # Some aliases to save space later: ${P} is a character which can # appear in a path; ${M} is the four numeric metadata fields; and # ${H} is a sha256 hash. - P="[-+./:=%@_[~[:alnum:]]" + P="[-+./:=,%@_[~[:alnum:]]" M="[0-9]+\|[0-9]+\|[0-9]+\|[0-9]+" H="[0-9a-f]{64}"
I don't have src on the system, but edited the actual file. The lines were a little off, but it was easy to find the right place. r279901 seems to have fixed the problem. I have only tested one system, but it is now downloading files for the update. Looks like it will take hours ;-). Thanks for the help.
The is also a problem on 10.1. Without replacing that line in 10.1-RELEASE-p37 (i.e. with the EN installed), I cannot upgrade it to 11.0-RC1. 10.1->10.3->11.0-RC1 is no problem.
The same here from 10.3-RELEASE FreeBSD 10.3-RELEASE #0 r297264 to FreeBSD 11.0 RC2: # freebsd-update upgrade -r 11.0-RC2 src component not installed, skipped Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching public key from update5.freebsd.org... done. Fetching metadata signature for 10.3-RELEASE from update5.freebsd.org... done. Fetching metadata index... done. Fetching 2 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic world/base The following components of FreeBSD do not seem to be installed: world/doc world/games world/lib32 Does this look reasonable (y/n)? y Fetching metadata signature for 11.0-RC2 from update5.freebsd.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. The update metadata is correctly signed, but failed an integrity check. Cowardly refusing to proceed any further. root@irc-vServer:/usr/home/joneum # rehash root@irc-vServer:/usr/home/joneum # freebsd-update upgrade -r 11.0-RC2 src component not installed, skipped Looking up update.FreeBSD.org mirrors... 4 mirrors found. Fetching metadata signature for 10.3-RELEASE from update4.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic world/base The following components of FreeBSD do not seem to be installed: world/doc world/games world/lib32 Does this look reasonable (y/n)? y Fetching metadata signature for 11.0-RC2 from update4.freebsd.org... done. Fetching metadata index... done. The update metadata is correctly signed, but failed an integrity check. Cowardly refusing to proceed any further.
first, i updated to 10.3-p7, and than, the Update to 11.0-RC2 works for me
That approach works if your hardware will boot on 10.x. Mine will not boot. It boots fine on 9.x and 11.0-x. The patch was required to upgrade.
This patch helped me get from 10.3-RELEASE-p41 to 11.0-RELEASE. Thank you!
I think, we can close here?
It might be considered OBE, but I still get an occasional request for assistance with the conversion. There never was an update to 9.3 to fix the problem. I suspect it may no longer be worth the effort to correct that.
This is WAI. Do not skip major release when upgrading.