[Nix-dev] [nix-dev] broken manifest

Lluís Batlle i Rossell viric at viric.name
Sun Jan 15 18:16:22 CET 2012


On Sun, Jan 15, 2012 at 12:22:29PM +0100, Arie Middelkoop wrote:
> Delete:  /nix/store/ps8c0vgpwz4zdgr0jznxak6cp53f95lm-MANIFEST.bz2
> then run: nix-store --verify
> Your next nixos-rebuild will then download the manifest again.

That's not the way to work. Breaking the match between database and filesystem,
and then ask a repair.

"nix-store --delete STOREPATH" will do.
If you have gcroots pointing to it, you can find what ones with nix-store --gc
command variants.

Regards,
Lluís.

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

> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev



More information about the nix-dev mailing list