Cannot update, HTTP error 200, then "error decompressing xz file"

Since about last week, I cannot nixos-rebuild switch --upgrade anymore. The error(s) I get look like:

warning: unable to download ‘https://cache.nixos.org/nar/1wj61iy9rlz6l32iwydi2qjspkq7gd74wqpmk7nfpqrnca037gcj.nar.xz’: HTTP error 200 (curl error: Failure when receiving data from the peer); retrying in 255 ms
warning: unable to download ‘https://cache.nixos.org/nar/1z054cmkn7kyvsd1b6gfsrq7579d9nml7aryhggfh0bdzpfr5r8k.nar.xz’: HTTP error 200 (curl error: Transferred a partial file); retrying in 340 ms
warning: unable to download ‘https://cache.nixos.org/nar/1j81fg069rpixr7d8yw0lkda8bd5k19q9s7qbyvfmb6m2s3ba2jb.nar.xz’: HTTP error 200 (curl error: Transferred a partial file); retrying in 314 ms
warning: unable to download ‘https://cache.nixos.org/nar/1snasilcgy4xhmkm8nh273ar5l30iia2xm2hfkj9fal63r6rxfsn.nar.xz’: HTTP error 200 (curl error: Transferred a partial file); retrying in 298 ms
warning: unable to download ‘https://cache.nixos.org/nar/1m1j4v578g1yij1cl9am2zvdb1pzrpjfp44fhnxqq2qnm1mpdc9y.nar.xz’: HTTP error 200 (curl error: Transferred a partial file); retrying in 309 ms
warning: unable to download ‘https://cache.nixos.org/nar/11z2ywlxyqyzg05hypgzl98sm32f5617zl94kvd0b2kmaxb29r7s.nar.xz’: HTTP error 200 (curl error: Transferred a partial file); retrying in 353 ms
warning: unable to download ‘https://cache.nixos.org/nar/15qvcz4mf5nnpfxfb0zqcavh7pl8irildx0zi4glks0fa4n8gzwy.nar.xz’: HTTP error 200 (curl error: Transferred a partial file); retrying in 314 ms
copying path ‘/nix/store/jpnvc1ywc0gvwk1ps678rrbyf11pcsi7-udisks-2.8.1-dev’ from ‘https://cache.nixos.org’…
copying path ‘/nix/store/gk276yvws95c8cckd3aw0j6a53pshi8r-mono-5.16.0.220’ from ‘https://cache.nixos.org’…
error 9 while decompressing xz file
copying path ‘/nix/store/y3pvkbafvsh3dqjf79z631i7m9ayhzcm-udiskie-1.7.5’ from ‘https://cache.nixos.org’…
building ‘/nix/store/ah3p5m5dabkx3836br190ldvzffj01lw-Xresources-Xft.drv’…
building ‘/nix/store/pqi86ajmssjl136ar4pxknqdapzwm15s-actkbd.conf.drv’…
building ‘/nix/store/yip6sypad7a9w30hfxxjrcnb8bjf5mjl-audit-disable.drv’…
building ‘/nix/store/dnb0yazip4kfxwayshjb24l2dy814bkx-audit-stop.drv’…
building ‘/nix/store/zh4mahdplvz5pbqmz9nbzaf61cla28di-breeze-plymouth-5.14.4.drv’…
cannot build derivation ‘/nix/store/f5bwxvsyw4bnq6zs7zj06kd4qhx5xkms-system-path.drv’: 1 dependencies couldn’t be built
building ‘/nix/store/25c07993is1xzwlrlqr6367nbscrixqc-systemd-boot-builder.py.drv’…
building ‘/nix/store/gakhdaail49xxc9h46gpq9b5zhggkh0w-unit-NetworkManager-dispatcher.service.drv’…
building ‘/nix/store/wjfm6wmvg4m6h6krnqywpggn5mvmgrcx-unit-alsa-store.service.drv’…
cannot build derivation ‘/nix/store/yrzbh3ypz8q3gzljpgsga3abzs4c43fz-nixos-system-hypnos-19.03pre169108.36f31600749.drv’: 1 dependencies couldn’t be built
error: build of ‘/nix/store/yrzbh3ypz8q3gzljpgsga3abzs4c43fz-nixos-system-hypnos-19.03pre169108.36f31600749.drv’ failed

Notice the “error 9 while decompressing xz file”.

1 Like

This is discussed on The NixOS Cache is now hosted by Fastly!

1 Like

This topic was automatically closed after 3 days. New replies are no longer allowed.