DeterminateSystems / nix-installer

Install Nix and flakes with the fast and reliable Determinate Nix Installer, with over 7 million installs.
https://determinate.systems
GNU Lesser General Public License v2.1
2.21k stars 57 forks source link

The keychain lacks a password for the already existing "Nix Store" volume on disk `disk3` #1142

Closed eric0fw closed 1 month ago

eric0fw commented 1 month ago

Error

Error: 
   0: Planner error
   1: Error executing action
   2: Action `encrypt_apfs_volume` errored
   3: The keychain lacks a password for the already existing "Nix Store" volume on disk `disk3`, consider removing the volume with `diskutil apfs deleteVolume "Nix Store"` (if you receive error -69888, you may need to run `sudo launchctl bootout system/org.nixos.darwin-store` and `sudo launchctl bootout system/org.nixos.nix-daemon` first)

Metadata

key value
version 0.14.0
os macos
arch aarch64
eric0fw commented 1 month ago

Instructions in error do not work.

cole-h commented 1 month ago

0.14.0 is quite old (almost a year at this point!). Could you try a newer version, such as the recently released 0.24.0? You should be able to get it with:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/tag/v0.24.0 | sh -s -- install

If that still doesn't work, could you show the output of the commands suggested by the error message?

mubarak23 commented 1 month ago

what is the correct version.

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/tag/v0.24.0 | sh -s -- install

my system in Apple chip, m2

cole-h commented 1 month ago

I'm going to close this for now. If you're able to reproduce this with a newer version of the installer (or have logs showing that the instructions in the error didn't do the right thing), please open a new issue!