freebsd-update borked?

Yass Amed zagazaw2004 at gmail.com
Sat Aug 6 02:21:49 UTC 2016


On 08/05/2016 07:00 AM, freebsd-stable-request at freebsd.org wrote:
> Well the:
>
> [root at cheetah ~]# mv /var/db/freebsd-update /var/db/freebsd-update.9.2
> [root at cheetah ~]# mkdir  /var/db/freebsd-update
>
> Would have done the same thing...
>
> DNS should be fine... appears to be:
>
> [michelle at cheetah /usr/home/michelle]$ dig update.freebsd.org
>
> ; <<>> DiG 9.8.4-P2 <<>> update.freebsd.org
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39566
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 3, ADDITIONAL: 6
>
> ;; QUESTION SECTION:
> ;update.freebsd.org.        IN    A
>
> ;; ANSWER SECTION:
> update.freebsd.org.    600    IN    CNAME    update5.freebsd.org.
> update5.freebsd.org.    600    IN    A    204.9.55.80
>
> ;; AUTHORITY SECTION:
> freebsd.org.        600    IN    NS    ns2.isc-sns.com.
> freebsd.org.        600    IN    NS    ns1.isc-sns.net.
> freebsd.org.        600    IN    NS    ns3.isc-sns.info.
>
> ;; ADDITIONAL SECTION:
> ns1.isc-sns.net.    3600    IN    A    72.52.71.1
> ns1.isc-sns.net.    3600    IN    AAAA    2001:470:1a::1
> ns2.isc-sns.com.    3600    IN    A    63.243.194.1
> ns2.isc-sns.com.    3600    IN    AAAA    2001:5a0:10::1
> ns3.isc-sns.info.    3600    IN    A    63.243.194.1
> ns3.isc-sns.info.    3600    IN    AAAA    2001:5a0:10::1
>
> ;; Query time: 164 msec
> ;; SERVER: 89.150.192.2#53(89.150.192.2)
> ;; WHEN: Thu Aug  4 22:41:04 2016
> ;; MSG SIZE  rcvd: 294
>
> And actually it'll do this:
>
> [michelle at cheetah /usr/home/michelle]$ host -t srv
> _http._tcp.update.freebsd.org
> _http._tcp.update.freebsd.org has SRV record 1 40 80 update6.freebsd.org.
> _http._tcp.update.freebsd.org has SRV record 1 50 80 update5.freebsd.org.
> _http._tcp.update.freebsd.org has SRV record 1 5 80 update3.freebsd.org.
> _http._tcp.update.freebsd.org has SRV record 1 35 80 update4.freebsd.org.
>
> Which actually returns this:
>
> [michelle at cheetah /usr/home/michelle]$ host -t srv
> _http._tcp.update.freebsd.org | sed -nE "s/update.freebsd.org (has SRV
> record|server selection) //p" | cut -f 1,2,4 -d ' ' | sed -e 's/\.$//' |
> sort
> _http._tcp.1 35 update4.freebsd.org
> _http._tcp.1 40 update6.freebsd.org
> _http._tcp.1 5 update3.freebsd.org
> _http._tcp.1 50 update5.freebsd.org
>
> You'll note however, that now...
>
> [michelle at cheetah /usr/home/michelle]$ sudo freebsd-update -r
> 9.3-RELEASE upgrade
> Password:
> Looking up update.FreeBSD.org mirrors... none found.
> Fetching metadata signature for 9.2-RELEASE from update.FreeBSD.org... done.
> Fetching metadata index... done.
> Fetching 2 metadata files... done.
> Inspecting system... done.
>
> The following components of FreeBSD seem to be installed:
> kernel/generic world/base world/doc
>
> The following components of FreeBSD do not seem to be installed:
> src/src world/games world/lib32
>
> Does this look reasonable (y/n)? y
>
> Fetching metadata signature for 9.3-RELEASE from update.FreeBSD.org... done.
> Fetching metadata index... done.
> Fetching 1 metadata patches. done.
> .
> .
> etc..
>
> So what ever was broken is not now... and it still says "Looking up
> update.FreeBSD.org mirrors... none found."
>
> Thanks for trying...

I'm glad it worked itself out, I've seen posts like these multiple times 
before. It could be that you tried downloading the upgrade while 
devs/maintainers were working on updating the files on the server(s).

About the "...not found" message, I'm only aware of DNS to be causing 
this issue, but it's definitely not limited to that.


Yass

-- 
    



More information about the freebsd-stable mailing list