On Wed, 19 Dec 2018 11:34:32 +0100
Marcin Mirosław wrote:

> W dniu 03.12.2018 o 15:42, Marcin Mirosław pisze:
> > Hi!
> > I have problem with sa-update and my own channel. sa-update queries
> > for A record of strange domain:
> > 
> > # /usr/bin/sa-update --channel sa.mejor.pl --no-gpg -vv
> > DNS TXT query: 2.4.3.sa.mejor.pl -> 3209
> > Update available for channel sa.mejor.pl: -1 -> 3209
> > DNS A query update.sa.mejor.pl/sa-updates failed: NXDOMAIN
> > DNS AAAA query update.sa.mejor.pl/sa-updates failed: NXDOMAIN
> > channel: could not find working mirror, channel failed
> > Update failed, exiting with code 4
> > 
> > and this is what logged local resolver:
> > 2018-12-03T15:35:42.613624+01:00 jowisz unbound: [8540:0] info:
> > 127.0.0.1 update.sa.mejor.pl?sa-updates. A IN

> any ideas what can be wrong?

It looks like sa-update has lost support for paths in mirror URLs. The
SA mirrors don't currently have paths, but the commented-out dostech
entry suggests that they have been supported in the past.

If I edit the sa.mejor.pl mirror file and strip 'sa-updates/' from the
end, sa-update gets past the DNS error:


$ sa-update --channel sa.mejor.pl --no-gpg -vv  --updatedir /tmp
DNS TXT query: 2.4.3.sa.mejor.pl -> 3399
Update available for channel sa.mejor.pl: -1 -> 3399
DNS A query: update.sa.mejor.pl -> 193.33.111.90
fetching http://update.sa.mejor.pl/3399.tar.gz
http: (curl) GET http://update.sa.mejor.pl/3399.tar.gz, FAILED, status:
exit 22 Cannot open file /tmp/sa_mejor_pl/3399.tar.gz: No such file or
directory at /usr/local/bin/sa-update line 1599.

Reply via email to