sa-update fails - no DNS for

Mike Clarke jmc-freebsd2 at
Tue Jun 10 16:03:49 UTC 2014

On Tuesday 10 June 2014 13:13:33 RW wrote:
> The two DNS lookups that failed aren't supposed to work anyway. If
> the problem persists try this:
> $ host -t txt
> descriptive text
> ""
> $ host -t txt
> is an alias for
> descriptive text "1588424"

The host commands give the same results for me too but sa-update 

It seems to be happening in this section of code (lines 539 to 547):

    if (!defined $newV) {
      my @mirs = do_dns_query("mirrors.$channel");
      if (defined shift @mirs) {
        dbg("channel: no updates available, skipping channel");
      } else {
        channel_failed("channel: no 'mirrors.$channel' record found");

At this point $newV is defined but is an empty string so do_dns_query 
is invoked to lookup the TXT record for which returns an empty arrayand 
results in channel_failed("channel: no 'mirrors.$channel' record 

Mike Clarke

More information about the freebsd-questions mailing list