[Nix-dev] [nix-dev] broken manifest
Arie Middelkoop
amiddelk at gmail.com
Sun Jan 15 12:22:29 CET 2012
Delete: /nix/store/ps8c0vgpwz4zdgr0jznxak6cp53f95lm-MANIFEST.bz2
then run: nix-store --verify
Your next nixos-rebuild will then download the manifest again.
The problem is that the manifest that you downloaded is corrupted. I had
this several times when I was connected to an access point that required me
to login. It would then redirect my connection to a login website, which
would be downloaded as the manifest file and thus be corrupt.
It would actually be nice if nixos-rebuild would transparently deal with
this issue.
Arie
2012/1/15 Sergey Mironov <ierton at gmail.com>
> Hi! Looks like nix-rebuild switch is broken! MANIFEST.bz2 from the server
> is an empty file.
>
> [root at pokemon:~]# nixos-rebuild switch
> fetching list of Nix archives at `
> http://nixos.org/releases/nixpkgs/channels/nixpkgs-unstable/MANIFEST.bz2'.
> ..
> % Total % Received % Xferd Average Speed Time Time Time
> Current
> Dload Upload Total Spent Left
> Speed
> 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
> 0
> caching /nix/store/ps8c0vgpwz4zdgr0jznxak6cp53f95lm-MANIFEST.bz2...
> you have an old-style or corrupt manifest
> `/nix/var/nix/manifests/nixpkgs-unstable-4059d198768f9f8dc9372dc1c54bc3c3.nixmanifest';
> please delete it at
> /var/run/current-system/sw/lib/perl5/site_perl/5.10.1/i686-linux-thread-multi/Nix/Manifest.pm
> line 345.
> building Nix...
> building the system configuration...
> error: unexpected EOF reading a line
>
> deleting the *nixmanifest file doesn't change anything. Is it a buildfarm
> bug?
>
> Sergey
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120115/63cb5363/attachment.html
More information about the nix-dev
mailing list