[Nix-dev] Binary cache failures
Eelco Dolstra
eelco.dolstra at logicblox.com
Tue Apr 23 13:11:06 CEST 2013
Hi,
On 20/04/13 20:36, Peter Simons wrote:
> | error: unexpected end-of-file
> | download of `http://nixos.org/binary-cache/nar/0mxy5d62gcxfl0y6210x75pzvlik54inyq5ygmsmjmclrf9jy770.nar.bz2' failed: No such file or directory
> | could not download ‘/nix/store/yrwnszzsfzw83ay45x2rfyf90syk9y28-haskell-MonadCatchIO-transformers-ghc7.6.2-0.3.0.0’ from any binary cache
> | error: unexpected EOF reading a line
>
> This looks like the information served by nixos.org is incoherent. Does
> anyone know where these errors come from?
The problem is that Nix caches NAR info in /nix/var/nix/binary-cache-v2.sqlite.
So if NARs get removed from nixos.org/binary-cache, you may still have a cached
reference to them. Perhaps Nix should do an automatic fallback in that case...
Workaround is to delete /nix/var/nix/binary-cache-v2.sqlite.
--
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
More information about the nix-dev
mailing list