[Nix-dev] unable to delete a store path

Mathijs Kwik mathijs at bluescreen303.nl
Wed Sep 26 13:13:48 CEST 2012


Manually deleting will probably work, but I would like to find out why
the path is there and nix won't remove it.


On Wed, Sep 26, 2012 at 12:25 PM, Marc Weber <marco-oweber at gmx.de> 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