Solved Issue with upgrade 10.1 to 10.2

Hi,
I try to upgrade 10.1 to 10.2, I put this command on VT terminal : freebsd-update upgrade -r 10.2, but I've error:
Code:
5210....25220....25230....25240....25250....25260....25270....25280....25290....25300....25310....25320....25330....25340....25350....25360....25370....25380....25390....25400....25410....25420....25430....25440....25450....25460....25470....25480....25490....25500....25510....25520....25530....25540 done.
Applying patches... done.
Fetching 26375 files... 08ecb2c700f9c427a0e03ead91b02153ca92544278c8d445f1ed5446d5f57d92 has incorrect hash.
root@dct-orion:~ #
After reading my output there are "incorrect hash", it's about checksum?
I want to upgrade and keep my config, like Gnome3...

Regards
Philippe
 
I try with the command : freebsd-update -r 10.2-RELEASE upgrade
I've the same error >> has incorrect hash !
This is my output :
Code:
0....23260....23270....23280....23290....23300....23310....23320....23330....23340....23350....23360....23370....23380....23390....23400....23410....23420....23430....23440....23450....23460....23470....23480....23490....23500....23510....23520....23530....23540....23550....23560....23570... done.
Applying patches... done.
Fetching 24298 files... 0bbfa6d8c6cf21e270c637944bbf11f372d466ac7a16ab38edc6263fc9cefdf7 has incorrect hash.
root@dct-orion:~ #

Regards
Philippe
 
The corrupt file is stored in /var/db/freebsd-update directory, delete it and try again:
rm /var/db/freebsd-update/0bbfa6d8c6cf21e270c637944bbf11f372d466ac7a16ab38edc6263fc9cefdf7.gz
 
If cpm's suggestion doesn't work, you can also try changing the update server in /etc/freebsd-update.conf from
Code:
#ServerName update.FreeBSD.org
to
Code:
ServerName update%n.FreeBSD.org
with %n being a number between 1 and 5, and see if that helps.
 
Ok,
I understand, but I see the directory /var/db/freebsd-update/ and I do not find the corrupt file that you indicate: 08ecb2c700f9c427a0e03ead91b02153ca92544278c8d445f1ed5446d5f57d92.gz,
this file begins with 08ecb but I can't find it. How you calculate the good file?
This is the output of files beginning with 08*:
Code:
root@dct-orion:/var/db/freebsd-update # ls 08*
[FILE]086c242aa5743e1f5093e37829e5f7728b1360d5f6a0168a033987761d96a3c6.gz
0871fc11742b0267e1bd88a624500f106eca09730d006b206a1849b2f914e218.gz
08b8fcb27d32536d64490951b82ae4226456b8408b6f2de74ce3f65f9d3d133e.gz[/FILE]
root@dct-orion:/var/db/freebsd-update #

Best Regards
Philippe
 
with n% i've a mistake !

Code:
root@dct-orion:/var/db/freebsd-update # freebsd-update -r 10.2-RELEASE upgrade  Looking up update%n.FreeBSD.org mirrors... none found.
Fetching metadata signature for 10.1-RELEASE from update%n.FreeBSD.org... failed.
No mirrors remaining, giving up.
root@dct-orion:/var/db/freebsd-update #
 
I don't understand why they use www/lighttpd for such critical operation. The software in question has a notorious history of bugs and security issues that the developers keep denying until someone shoves them in their face.
 
Hi,
I explain how to upgrade FreeBSD 10.1 to 10.2 !

  1. The best command are : freebsd-update -r 10.2-RELEASE upgrade
  2. If there are issue then goto the directory /var/db/freebsd-update/ and delete the corrupt file indicate in your VT terminal
  3. Don't forgot to change the line ServerName update%n.FreeBSD.org in /etc/freebsd-update.conf (with 1 < %n <5)

Regards
Philippe

Ps: I'm not inquire about www/lighttpd
 
Hi,
I explain how to upgrade FreeBSD 10.1 to 10.2 !

  1. The best command are : freebsd-update -r 10.2-RELEASE upgrade
  2. If there are issue then goto the directory /var/db/freebsd-update/ and delete the corrupt file indicate in your VT terminal
  3. Don't forgot to change the line ServerName update%n.FreeBSD.org in /etc/freebsd-update.conf (with 1 < %n <5)

Regards
Philippe

Ps: I'm not inquire about www/lighttpd
These workarounds are no longer needed. Please see the link in post #12 above.
 
Back
Top