[Nix-dev] nixos-rebuild switch error

Tilo Schwarz tilo.schwarz.de at gmail.com
Thu Mar 9 08:54:47 CET 2017


On Tue, Mar 7, 2017 at 2:09 AM Linus Heckemann <acc at sphalerite.org> wrote:

> Hi Tilo,
>
> On 07/03/17 07:30, Tilo Schwarz wrote:
> > *** Downloading
> > ‘
> https://cache.nixos.org/nar/1krfkq7lilh69g6ha7gxpck184x7nqwhxh1c51zmsc2p13fqrii4.nar.xz
>> > (signed by ‘cache.nixos.org-1’) to
> > ‘/nix/store/psxqsm2rx0is5yp6sh9bkh4pvsvhpw1b-appres-1.0.4’...
> > curl: (6) Couldn't resolve host 'cache.nixos.org <http://cache.nixos.org
> >'
> > /nix/store/lymkrlb84c8v3pmi9xlw8d3dh3g20q1c-xz-5.2.2-bin/bin/xz:
> > (stdin): File format not recognized
> > error: unexpected end-of-file
> > download of
> > ‘
> https://cache.nixos.org/nar/1krfkq7lilh69g6ha7gxpck184x7nqwhxh1c51zmsc2p13fqrii4.nar.xz
>> > failed: No such file or directory
> > could not download
> > ‘/nix/store/psxqsm2rx0is5yp6sh9bkh4pvsvhpw1b-appres-1.0.4’ from any
> > binary cache
> these are the key lines; particularly
> > curl: (6) Couldn't resolve host 'cache.nixos.org <http://cache.nixos.org
> >'
> This failure is caused by a flaky internet connection, so it makes sense
> that trying again would fix it.
>

Hmm, what is really strange though: I am on usually pretty stable and fast
connection and do a lot networking. And never saw any 'Couldn't resolve
host' errors in other situations. But when doing 'nixos-rebuild switch' I
see it every other time ...

Thank you,
Tilo

-- 

Best regards / Viele Grüße,

Tilo Schwarz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170309/5e45eb24/attachment.html>


More information about the nix-dev mailing list