Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2015 23:25:33 +1100
From:      Aristedes Maniatis <ari@ish.com.au>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   freebsd-update incorrect hashes
Message-ID:  <567A92BD.5010105@ish.com.au>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--0hmoLn3a8VgwDSKRx8AHUuF68NcQviQJ9
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

I've had problems with freebsd-update for many years now. It is by far th=
e least reliable component of FreeBSD since I started with the operating =
system back at 3.4 in 1999.

Anyhow, I'm usually able to get past the exceedingly slow downloads and e=
rrors to the upgrade process, but this time nothing I do will get me to t=
he end. I've tried deleting /var/db/freebsd-update but several hours late=
r I was at the same place again. The internet link is fast, but with a we=
b proxy in this location, some downloads are slightly delayed while the v=
irus scanner on the proxy does its thing. Perhaps 3-5 seconds delayed.

I've run the update maybe a dozen times, progressing a few patches each t=
ime. But it will always fetch 64 patches and then the number of files to =
fetch will drop by 5-25


# freebsd-update upgrade -r 10.2 -s update.freebsd.org
Looking up update.freebsd.org mirrors... 4 mirrors found.
Fetching metadata signature for 9.3-RELEASE from update6.freebsd.org... d=
one.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic world/base world/doc world/lib32

The following components of FreeBSD do not seem to be installed:
world/games

Does this look reasonable (y/n)? y

Fetching metadata signature for 10.2-RELEASE from update6.freebsd.org... =
done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 9.3-RELEASE for merging... done.
Preparing to download files... done.
Fetching 64 patches.....10....20....30....40....50....60.. done.
Applying patches... done.
Fetching 1834 files... 109e9b1e3e8719aa81bc06e4c4c8dc642db7137ea8330f11f7=
0b8e91524afef7 has incorrect hash.


Different file each time with an incorrect hash. So it will make very slo=
w progress. Oddly, it had no issue downloading the 10,000 patches it need=
ed, except for the last 64. No idea why it downloads them again and again=
 each time I attempt this.


Are there any ways to manually dump the right files in the right place? W=
hen I run phttpget by hand, I have no trouble very quickly downloading th=
e files it seems to want. But how do I trick the system into skipping dow=
nloading them again?

phttpget has no man pages, so I've been unable to get it to spit out any =
more verbose options.


Thanks
Ari




--=20
-------------------------->
Aristedes Maniatis
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A


--0hmoLn3a8VgwDSKRx8AHUuF68NcQviQJ9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAlZ6kr0ACgkQ72p9Lj5JECoXMgCeIv3GJkQA28LFJMy9uk1Lrxgi
+PgAn1xpDjFIOFFM9GeeHOrtiviipX5I
=EreE
-----END PGP SIGNATURE-----

--0hmoLn3a8VgwDSKRx8AHUuF68NcQviQJ9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?567A92BD.5010105>