[Nix-dev] nix-store --verify strange hashes
Rickard Nilsson
rickard.nilsson at telia.com
Fri Dec 2 13:47:19 CET 2011
Hi,
On my newly installed Sheevaplug NixOS system, I ran "nix-store --verify
--check-contents". I then got a lot of output like this:
path `/nix/store/yn52bgxj6afy99qjgf2ja57ajz5gx0j4-nixos-deploy-network'
was modified! expected hash
`0000000000000000000000000000000000000000000000000000000000000000', got
`b1f8a22f80e4e6c812db42faeb68368e0d2676b63f5ab9f789796ed88088cf01'
path `/nix/store/yp4j84qw2kr9r4f2dpjx0fp0yx7864pl-pcre-8.10' was modified!
expected hash
`0000000000000000000000000000000000000000000000000000000000000000', got
`71ae74f763182700028bf48c4fe245aa6595b6410456749b625b3a3b02ba00a9'
path `/nix/store/ypljdsy4r5sj0k5c3crlaki0wxqcycjf-rsync-3.0.7' was
modified! expected hash
`0000000000000000000000000000000000000000000000000000000000000000', got
`64578b4ee9ac63e1e202eb2147409bc86c089c1a3e0322b2b76a4f04145284e2'
path `/nix/store/yr6hnliz7j6sslks5iw3plkmy4y5bqxf-sshd.pam' was modified!
expected hash
`0000000000000000000000000000000000000000000000000000000000000000', got
`f57e401d8482191441a97c2dbabaa2549a3a59f784ce0ec8e86caecf31716ecb'
path `/nix/store/yr99ggw2nhgmzxfj4zr8c3c7bwyn55n9-var-run-console.ck' was
modified! expected hash
`0000000000000000000000000000000000000000000000000000000000000000', got
`759b6efd07fe91078c9a9c94fc0cae9c5dadd523f4a3e4dc8a34029872cf0f30'
path `/nix/store/yv98askxvc1pxx2yiyyb54nhfq39rvps-stage-2-init.sh' was
modified! expected hash
`0000000000000000000000000000000000000000000000000000000000000000', got
`bd3facca8bc5bc818cd37600265b535c43837ad9236d62db8bce5d3401241cd4'
Is my database corrupt in some way? Can I fix it? Why did it happen, was
it maybe because I started out with an old system-tarball? I didn't run
nix-store --verify when I got the original system-tarball running, only
after I got my system built more or less from scratch.
/ Rickard Nilsson
More information about the nix-dev
mailing list