[Nix-dev] nixos-rebuild switch error
Linus Heckemann
acc at sphalerite.org
Tue Mar 7 11:09:02 CET 2017
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. Nothing to be concerned about, besides
perhaps the poor UX, making it very unclear what the actual cause of the
failure is :)
Linus
More information about the nix-dev
mailing list