[Nix-dev] unable to delete a store path
Shea Levy
shea at shealevy.com
Wed Sep 26 12:32:32 CEST 2012
This is a very bad idea, unless you're sure the garbage collector is
refusing to delete the path erroneously. Bypassing nix-store operations
is almost always the wrong thing to do.
On 09/26/2012 06:25 AM, Marc Weber wrote:
> Try manually deleting it:
> # unset readonly flag:
> chattr -R -i STORE_PATH
> # remove it:
> rm -fr STORE_PATH
>
> nix-store --verify should remove it automatically then.
> If it doesn't work you may have to delete it from the database manually
> (?). But then I'd make sure to have a backup.
>
> There may be more options, though
>
> Marc Weber
> _______________________________________________
> 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