Re: [Nix-dev] nixos-rebuild switch error

2017-03-15 Thread Sander
Linus Heckemann wrote (ao):
> these are the key lines; particularly
> > curl: (6) Couldn't resolve host '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 :)

nix 1.12 contains fixes for that.

Sander
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nixos-rebuild switch error

2017-03-08 Thread Tilo Schwarz
On Tue, Mar 7, 2017 at 2:09 AM Linus Heckemann  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  >'
> > /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  >'
> 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
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nixos-rebuild switch error

2017-03-07 Thread Mark Gardner
On Tue, Mar 7, 2017 at 5:09 AM, Linus Heckemann  wrote:

> 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 :)
>

​Or when Cloudfront (Amazon), which hosts cache.nixos.org, has problems as
it did a week ago in my region. DNS was up and down throughout the day (as
was the storage itself). The problem went away when Amazon fixed the
problem.

The frustration of last week brings to mind a quotation from Leslie
Lamport: "A distributed system is one in which the failure of a computer
you didn't even know existed can render your own computer unusable." (In my
case not quite unusable but it was a pain as I was attempting to install on
a new machine.)

Mark
-- 
Mark Gardner
--
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] nixos-rebuild switch error

2017-03-07 Thread Linus Heckemann
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 '
> /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 '
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
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] nixos-rebuild switch error

2017-03-06 Thread Tilo Schwarz
Hi,

from time to time I have an error doing "nixos-rebuild switch" (see below,
I stored the last lines including the error messages).

What is strange: If I simply execute above command a second time, the
command succeeds.

Maybe someone has an idea, what could be wrong.

Thank you,
Tilo


% uname -a
Linux schleppa 4.4.45 #1-NixOS SMP Thu Jan 26 07:24:03 UTC 2017 i686
GNU/Linux
% nix-channel --list
nixos https://nixos.org/channels/nixos-16.09
nixpkgs https://nixos.org/channels/nixpkgs-unstable
% cat nixos_error.txt
fetching path
‘/nix/store/8bx4c9f7nmjw8vfjqzldz28bq1ci1n5z-libXrender-0.9.10’...

*** Downloading ‘
https://cache.nixos.org/nar/0syarsyw5y4lzawc4czr5p26z17679n4l3m1d2f7lgl62f0fa9iw.nar.xz’
(signed by ‘cache.nixos.org-1’) to
‘/nix/store/8bx4c9f7nmjw8vfjqzldz28bq1ci1n5z-libXrender-0.9.10’...
  % Total% Received % Xferd  Average Speed   TimeTime Time
 Current
 Dload  Upload   Total   SpentLeft
 Speed
100 17452  100 174520 0  21950  0 --:--:-- --:--:-- --:--:--
21952

fetching path ‘/nix/store/sh5ymcdi3r5vvd7wi3pdqxr9xj29nsz9-libXt-1.1.5’...

*** Downloading ‘
https://cache.nixos.org/nar/1iwri3235mlbh6hqxj082jj362x501i6vxv6ryyyb40di2n05a0n.nar.xz’
(signed by ‘cache.nixos.org-1’) to
‘/nix/store/sh5ymcdi3r5vvd7wi3pdqxr9xj29nsz9-libXt-1.1.5’...
  % Total% Received % Xferd  Average Speed   TimeTime Time
 Current
 Dload  Upload   Total   SpentLeft
 Speed
100  307k  100  307k0 0   212k  0  0:00:01  0:00:01 --:--:--
 212k

fetching path
‘/nix/store/zmmmpk12b2w1qid8ly0l2gd0anifr0g3-libXcursor-1.1.14’...
 65 44.1M   65 28.8M0 0   196k  0  0:03:49  0:02:30  0:01:19
 388k
*** Downloading ‘
https://cache.nixos.org/nar/1rf7rmhvgibn85n7kdgzw43z91m64ja7hc6524wsxbbf397wll51.nar.xz’
(signed by ‘cache.nixos.org-1’) to
‘/nix/store/zmmmpk12b2w1qid8ly0l2gd0anifr0g3-libXcursor-1.1.14’...
  % Total% Received % Xferd  Average Speed   TimeTime Time
 Current
 Dload  Upload   Total   SpentLeft
 Speed
100 20484  100 204840 0   3927  0  0:00:05  0:00:05 --:--:--
 5272

fetching path ‘/nix/store/psxqsm2rx0is5yp6sh9bkh4pvsvhpw1b-appres-1.0.4’...

*** 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'
/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
fetching path ‘/nix/store/psxqsm2rx0is5yp6sh9bkh4pvsvhpw1b-appres-1.0.4’
failed with exit code 1
fetching path
‘/nix/store/6cc66l9fhh9haj46gdxhcddv2zc50qxm-libXcursor-1.1.14-dev’...
killing process 14434
fetching path ‘/nix/store/b5kjqkz5gyhxrc9jf1ckkbhnwb5k5011-libXft-2.3.2’...
cannot build derivation
‘/nix/store/80avjn8nd38m02h9zy2s0dwl6ix8didg-system-path.drv’: 1
dependencies couldn't be built
killing process 13433
building path(s) ‘/nix/store/wyv292c4d6c9rwpwxinfnrgdmj70qdiy-unit-script’
killing process 14435
cannot build derivation
‘/nix/store/6bkqi5vc8sbljp2h565bynvckv7lcmh6-nixos-system-schleppa-16.09.1803.40de598.drv’:
1 dependencies couldn't be built
error: build of
‘/nix/store/6bkqi5vc8sbljp2h565bynvckv7lcmh6-nixos-system-schleppa-16.09.1803.40de598.drv’
failed

-- 

Best regards / Viele Grüße,

Tilo Schwarz
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev