Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Dec 2016 13:13:07 -0800
From:      Randy Bush <randy@psg.com>
To:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   freebsd-update <bleep>
Message-ID:  <m2eg1i6s64.wl-randy@psg.com>

next in thread | raw e-mail | index | archive | help
Basic symptom:

    #  /usr/sbin/freebsd-update fetch
    Looking up update.FreeBSD.org mirrors... none found.
    Fetching metadata signature for 10.3-STABLE from update.FreeBSD.org... failed.
    No mirrors remaining, giving up.

Trace:

    # sh -x /usr/sbin/freebsd-update fetch
    ...
    + echo -n 'Looking up update.FreeBSD.org mirrors... '
    Looking up update.FreeBSD.org mirrors... + MLIST=_http._tcp.update.FreeBSD.org
    + host -t srv _http._tcp.update.FreeBSD.org
    + sed -nE 's/_http._tcp.update.FreeBSD.org (has SRV record|server selection) //p'
    + cut -f 1,2,4 -d ' '
    + sed -e 's/\.$//'
    + sort
    + wc -l
    + [ 0 -eq 0 ]
    + echo 'none found.'
    none found.

Diagnosis:

The sed regexp is doing case-sensitive matching against DNS names
returned by "host" (don't even get me started about using "host").

After flushing DNS and retrying, one gets:

    #  /usr/sbin/freebsd-update fetch
    Looking up update.FreeBSD.org mirrors... 4 mirrors found.
    Fetching metadata signature for 10.3-STABLE from update4.freebsd.org... failed.
    Fetching metadata signature for 10.3-STABLE from update5.freebsd.org... failed.
    Fetching metadata signature for 10.3-STABLE from update6.freebsd.org... failed.
    Fetching metadata signature for 10.3-STABLE from update3.freebsd.org... failed.
    No mirrors remaining, giving up.

Which the Net of a Million Lies translates as "Oops, bad update" and
suggests rollback, which doesn't work so well when this is the first
update after switching to binary updates.

boys and girls, please do not make it so hard to stay on freebsd.

oh, and yesterday, i had the 10.3-p12 to -13 patch neglect to upgrad
libpixc.so from 4 to 5.  little things such as ifconfig broke.

randy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2eg1i6s64.wl-randy>