Bug 197308

Summary: Improve feedback of freebsd-update at failure of release upgrade
Product: Base System Reporter: Kalle Richter <krichter>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: emaste
Priority: ---    
Version: 9.2-STABLE   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204115

Description Kalle Richter 2015-02-04 02:32:17 UTC
Invoking `freebsd-update upgrade` can fail with the very unspecific error message `Fetching 2 metadata files... failed`. The user should be informed about the reason for the failure (network failure, network timeout, remote file not available, etc.)

    # freebsd-update upgrade -r 9.3-RELEASE
    Looking up update.FreeBSD.org mirrors... 5 mirrors found.
    Fetching metadata signature for 9.2-RELEASE from update6.freebsd.org... done.
    Fetching metadata index... done.
    Fetching 2 metadata files... failed.