[Nix-dev] nixos-rebuild switch error
Tilo Schwarz
tilo.schwarz.de at gmail.com
Tue Mar 7 08:30:42 CET 2017
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 Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 17452 100 17452 0 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 Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 307k 100 307k 0 0 212k 0 0:00:01 0:00:01 --:--:--
212k
fetching path
‘/nix/store/zmmmpk12b2w1qid8ly0l2gd0anifr0g3-libXcursor-1.1.14’...
65 44.1M 65 28.8M 0 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 Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 20484 100 20484 0 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170307/b5c1f6a7/attachment.html>
More information about the nix-dev
mailing list