freebsd-update checksum mismatch (why not resume?)
Koichiro IWAO
meta at vmeta.jp
Tue Aug 18 16:41:45 UTC 2015
Hi,
Why freebsd-update does not resume previous run with same arguent?
I tried to upgrade my FreeBSD system with freebsd-update. However,
applying patch
phase stops by checksum mismatch. See following output.
I ran "freebsd-update upgrade" 5 times. Finally 5th try went smoothly.
It looks each n-th run of freebsd-update fetches and patches at the
beginning.
What a waste of time! Refetching file with incorrect hash is enough,
right?
Refetching all files in order to refetch only single file with incorrect
hash
is waste of time and network.
Why don't you implement resume in freebsd-update? Isn't it a good idea?
# freebsd-update upgrade -r 10.2-RELEASE
Looking up update.FreeBSD.org mirrors... none found.
Fetching metadata signature for 10.1-RELEASE from update.FreeBSD.org...
done.
Fetching metadata index... done.
Fetching 2 metadata patches.. done.
Applying metadata patches... done.
Inspecting system... done.
The following components of FreeBSD seem to be installed:
kernel/generic src/src world/base world/lib32
The following components of FreeBSD do not seem to be installed:
world/doc world/games
Does this look reasonable (y/n)? y
Fetching metadata signature for 10.2-RELEASE from update.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 10.1-RELEASE for merging... done.
Preparing to download files... done.
Fetching 41390 patches.....<snip>..41380....41390 done.
Applying patches... done.
Fetching 8464 files...
0820ce82763e357f692678c6dcddd0a217a9a411888f25d999177164df8a7dd0 has
incorrect hash.
--
`whois vmeta.jp | nkf -w`
meta <meta at vmeta.jp>
More information about the freebsd-questions
mailing list