Solved freebsd-update fails early in process - FreeBSD Update Servers out of sync

Hi, tried twice now to upgrade a FreeBSD 10.3 to 10.4 using freebsd-update -r 10.4-RELEASE upgrade

First time the upgrade fails with:
...8330....8340....8350....8360....8370....8380....8390....8400....8410....8420....8430....8440....8450....8460....8470....8480....8490... done.
Applying patches... done.
Fetching 2615 files... failed.

The second attempt to upgrade failed with:

Fetching metadata signature for 10.4-RELEASE from update.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Code:
Fetching 1 metadata files... gunzip: (stdin): unexpected end of file
metadata is corrupt.
Any ideas on how to get the upgrade to successfully complete?
Thanks.
 
Hi SirDice, ran freebsd-update fetch followed by freebsd-update install. Currently the server is at:
10.3-RELEASE-p20

Re-ran # freebsd-update -r 10.4-RELEASE upgrade

Applying patches... done.
Fetching 102 files... gunzip: (stdin): unexpected end of file
51668738a1028de52ed6a31c725ac53701f3f7c62a02a12a052820ebeb1413dd has incorrect hash.

So it's still failing.
Thanks.
 
It may have downloaded some corrupt files. Try cleaning the cache; rm -rf /var/db/freebsd-update/*. Then try running it again.
 
Hi SirDice, did what you recommended but still fails.

# rm -rf /var/db/freebsd-update/*

# freebsd-update -r 10.4-RELEASE upgrade

Applying patches... done.
Fetching 1712 files... gunzip: (stdin): unexpected end of file
0ecd5f3ae4128b9491a288e73205bbf7162876cf8bc43d14e93cfb450a7e1d55 has incorrect hash.
 
Going to try changing /etc/freebsd-update.conf to use
Code:
ServerName update5.FreeBSD.org
instead of default
Code:
update.FreeBSD.org

Update5.freebsd.org failed same as before.

Tried update6.FreeBSD.org....

Fetching files from 10.3-RELEASE for merging... done.
Preparing to download files... done.
Fetching 749 patches.....10....20....30....40....50....60....70....80....90....100....110....120....130....140....150....160....170....180....190....200....210....220....230....240....250....260....270....280....290....300....310....320....330....340....350....360....370....380....390....400....410....420....430....440....450....460....470....480....490....500....510....520....530....540....550....560....570....580....590....600....610....620....630....640....650....660....670....680....690....700....710....720....730....740.... done.
Applying patches... done.
Fetching 74 files... done.
Attempting to automatically merge changes in files... done.

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

Looks like it's working.
Perhaps there is a problem with the update servers keeping same files?
 
Hi SirDice,
Changing /etc/freebsd-update.conf ServerName from:

Code:
ServerName update.FreeBSD.org

to

Code:
ServerName update6.FreeBSD.org

Worked.

Thank you for your assistance SirDice.
 
Back
Top