error: path '/nix/store/1sdpjz86bvr6v4h01s98r43rg24v6ncd-lix-2.95.3' does not exist and cannot be created during install #82

Open
opened 2026-05-13 19:22:32 +00:00 by djanatyn · 6 comments

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 3.95.0
os macos
arch aarch64

Let me know if you need some more information! I'm very interested in using lix, and will probably follow the instructions above to remove the volume. It's a bit awkward since I already started installing packages, but I've only installed git currently:

jstrickland@Jonathan-Filament ~ % nix --extra-experimental-features nix-command --extra-experimental-features flakes profile list
Name:               git
Flake attribute:    legacyPackages.aarch64-darwin.git
Original flake URL: flake:nixpkgs
Locked flake URL:   github:NixOS/nixpkgs/48d91f2c0ce7b9e589f967d4f685153dd765dcdd?narHash=sha256-t%2B8AVV8ExvOmslz2sLIgw/hJBKlyl65rJvxjvvjHgpE%3D
Store paths:        /nix/store/5y6cp247hspkqa7pp6cbc4540ygx0249-git-2.53.0
## 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**|3.95.0| |**os**|macos| |**arch**|aarch64| Let me know if you need some more information! I'm very interested in using lix, and will probably follow the instructions above to remove the volume. It's a bit awkward since I already started installing packages, but I've only installed `git` currently: ``` jstrickland@Jonathan-Filament ~ % nix --extra-experimental-features nix-command --extra-experimental-features flakes profile list Name: git Flake attribute: legacyPackages.aarch64-darwin.git Original flake URL: flake:nixpkgs Locked flake URL: github:NixOS/nixpkgs/48d91f2c0ce7b9e589f967d4f685153dd765dcdd?narHash=sha256-t%2B8AVV8ExvOmslz2sLIgw/hJBKlyl65rJvxjvvjHgpE%3D Store paths: /nix/store/5y6cp247hspkqa7pp6cbc4540ygx0249-git-2.53.0 ```
djanatyn changed title from Issue running curl -sSf -L https://install.lix.systems/lix | sh -s -- install on fresh machine after nix install to keychain password error running curl -sSf -L https://install.lix.systems/lix | sh -s -- install on fresh machine after nix install 2026-05-13 19:22:43 +00:00
Author

This is on a machine that is fresh out of the box today. I used all the default settings with the installer from the NixOS homepage:

sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install)
This is on a machine that is fresh out of the box today. I used all the default settings with the installer from the NixOS homepage: ``` sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) ```
Author

This might just be my misunderstanding of the documentation. I read:

You can either perform a new install, or choose to upgrade an existing install to Lix. [..] The easiest way to install Lix is to use the Lix Installer.

But, this is under the "new installs" section. I assumed the command was used for both new and existing installs, probably incorrectly. After submitting this ticket, I kept reading:

If you have an existing Nix installation (either CppNix or Lix), you should be able to upgrade by using a variant of the upgrade-nix command.

This is probably what I needed. I'll test it out. It's possible this is confusing other people, so I'll leave this ticket open.

This might just be my misunderstanding of the documentation. [I read](https://lix.systems/install/): > You can either perform a new install, or choose to upgrade an existing install to Lix. [..] The easiest way to install Lix is to use the Lix Installer. But, this is under the "new installs" section. I assumed the command was used for both new and existing installs, probably incorrectly. After submitting this ticket, I kept reading: > If you have an existing Nix installation (either CppNix or Lix), you should be able to upgrade by using a variant of the upgrade-nix command. This is probably what I needed. I'll test it out. It's possible this is confusing other people, so I'll leave this ticket open.
Author

Looking much better with the upgrade. Only suggestion I have here is to make it more explicit that the command I ran should not be used for existing installations (I know you already have the header!). Thanks for your work on this project :)

Looking much better with the upgrade. Only suggestion I have here is to make it more explicit that the command I ran should *not* be used for existing installations (I know you already have the header!). Thanks for your work on this project :)
Author

Ah, never mind, still failed:

jstrickland@Jonathan-Filament ~ % curl -sSf -L "https://git.lix.systems/lix-project/lix/raw/tag/2.95.1/misc/upgrade-lix.sh" | sudo --preserve-env=PATH bash -s -- 2.95.1
Password:
+ exec /nix/var/nix/profiles/default/bin/nix run --extra-experimental-features 'nix-command flakes' --extra-substituters https://cache.lix.systems --extra-trusted-public-keys cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o= 'git+https://git.lix.systems/lix-project/lix?ref=refs/tags/2.95.1' --extra-experimental-features 'nix-command flakes' upgrade-nix --extra-substituters https://cache.lix.systems --extra-trusted-public-keys cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=
warning: $HOME ('/Users/jstrickland') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/root')
remote: Enumerating objects: 133884, done.
remote: Counting objects: 100% (16994/16994), done.
remote: Compressing objects: 100% (5710/5710), done.
remote: Total 133884 (delta 15296), reused 11308 (delta 11221), pack-reused 116890 (from 1)
Receiving objects: 100% (133884/133884), 66.42 MiB | 3.75 MiB/s, done.
Resolving deltas: 100% (97796/97796), done.
From https://git.lix.systems/lix-project/lix
 * [new tag]             2.95.1     -> 2.95.1
 * [new tag]             1.0        -> 1.0
 * [new tag]             1.1        -> 1.1
 * [new tag]             1.10       -> 1.10
 * [new tag]             1.11       -> 1.11
 * [new tag]             1.11.1     -> 1.11.1
 * [new tag]             1.2        -> 1.2
 * [new tag]             1.3        -> 1.3
 * [new tag]             1.4        -> 1.4
 * [new tag]             1.5        -> 1.5
 * [new tag]             1.5.1      -> 1.5.1
 * [new tag]             1.5.2      -> 1.5.2
 * [new tag]             1.5.3      -> 1.5.3
 * [new tag]             1.6        -> 1.6
 * [new tag]             1.6.1      -> 1.6.1
 * [new tag]             1.7        -> 1.7
 * [new tag]             1.8        -> 1.8
 * [new tag]             1.9        -> 1.9
 * [new tag]             2.90.0-rc1 -> 2.90.0-rc1
 * [new tag]             2.91.0     -> 2.91.0
 * [new tag]             2.92.0     -> 2.92.0
 * [new tag]             2.93.0     -> 2.93.0
 * [new tag]             2.94.0     -> 2.94.0
 * [new tag]             2.95.0     -> 2.95.0
warning: $HOME ('/Users/jstrickland') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/root')
error: path '/nix/store/1sdpjz86bvr6v4h01s98r43rg24v6ncd-lix-2.95.3' does not exist and cannot be created
jstrickland@Jonathan-Filament ~ % echo $?
1
Ah, never mind, still failed: ``` jstrickland@Jonathan-Filament ~ % curl -sSf -L "https://git.lix.systems/lix-project/lix/raw/tag/2.95.1/misc/upgrade-lix.sh" | sudo --preserve-env=PATH bash -s -- 2.95.1 Password: + exec /nix/var/nix/profiles/default/bin/nix run --extra-experimental-features 'nix-command flakes' --extra-substituters https://cache.lix.systems --extra-trusted-public-keys cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o= 'git+https://git.lix.systems/lix-project/lix?ref=refs/tags/2.95.1' --extra-experimental-features 'nix-command flakes' upgrade-nix --extra-substituters https://cache.lix.systems --extra-trusted-public-keys cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o= warning: $HOME ('/Users/jstrickland') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/root') remote: Enumerating objects: 133884, done. remote: Counting objects: 100% (16994/16994), done. remote: Compressing objects: 100% (5710/5710), done. remote: Total 133884 (delta 15296), reused 11308 (delta 11221), pack-reused 116890 (from 1) Receiving objects: 100% (133884/133884), 66.42 MiB | 3.75 MiB/s, done. Resolving deltas: 100% (97796/97796), done. From https://git.lix.systems/lix-project/lix * [new tag] 2.95.1 -> 2.95.1 * [new tag] 1.0 -> 1.0 * [new tag] 1.1 -> 1.1 * [new tag] 1.10 -> 1.10 * [new tag] 1.11 -> 1.11 * [new tag] 1.11.1 -> 1.11.1 * [new tag] 1.2 -> 1.2 * [new tag] 1.3 -> 1.3 * [new tag] 1.4 -> 1.4 * [new tag] 1.5 -> 1.5 * [new tag] 1.5.1 -> 1.5.1 * [new tag] 1.5.2 -> 1.5.2 * [new tag] 1.5.3 -> 1.5.3 * [new tag] 1.6 -> 1.6 * [new tag] 1.6.1 -> 1.6.1 * [new tag] 1.7 -> 1.7 * [new tag] 1.8 -> 1.8 * [new tag] 1.9 -> 1.9 * [new tag] 2.90.0-rc1 -> 2.90.0-rc1 * [new tag] 2.91.0 -> 2.91.0 * [new tag] 2.92.0 -> 2.92.0 * [new tag] 2.93.0 -> 2.93.0 * [new tag] 2.94.0 -> 2.94.0 * [new tag] 2.95.0 -> 2.95.0 warning: $HOME ('/Users/jstrickland') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/root') error: path '/nix/store/1sdpjz86bvr6v4h01s98r43rg24v6ncd-lix-2.95.3' does not exist and cannot be created jstrickland@Jonathan-Filament ~ % echo $? 1 ```
djanatyn changed title from keychain password error running curl -sSf -L https://install.lix.systems/lix | sh -s -- install on fresh machine after nix install to error: path '/nix/store/1sdpjz86bvr6v4h01s98r43rg24v6ncd-lix-2.95.3' does not exist and cannot be created during install 2026-05-13 19:30:27 +00:00
Author

I get a much faster failure now if I re-run the installation command:

jstrickland@Jonathan-Filament ~ % nix --version
nix (Nix) 2.34.7
jstrickland@Jonathan-Filament ~ % curl -sSf -L "https://git.lix.systems/lix-project/lix/raw/tag/2.95.1/misc/upgrade-lix.sh" | sudo --preserve-env=PATH bash -s -- 2.95.1
+ exec /nix/var/nix/profiles/default/bin/nix run --extra-experimental-features 'nix-command flakes' --extra-substituters https://cache.lix.systems --extra-trusted-public-keys cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o= 'git+https://git.lix.systems/lix-project/lix?ref=refs/tags/2.95.1' --extra-experimental-features 'nix-command flakes' upgrade-nix --extra-substituters https://cache.lix.systems --extra-trusted-public-keys cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o=
warning: $HOME ('/Users/jstrickland') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/root')
warning: $HOME ('/Users/jstrickland') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/root')
error: path '/nix/store/1sdpjz86bvr6v4h01s98r43rg24v6ncd-lix-2.95.3' does not exist and cannot be created
I get a much faster failure now if I re-run the installation command: ``` jstrickland@Jonathan-Filament ~ % nix --version nix (Nix) 2.34.7 jstrickland@Jonathan-Filament ~ % curl -sSf -L "https://git.lix.systems/lix-project/lix/raw/tag/2.95.1/misc/upgrade-lix.sh" | sudo --preserve-env=PATH bash -s -- 2.95.1 + exec /nix/var/nix/profiles/default/bin/nix run --extra-experimental-features 'nix-command flakes' --extra-substituters https://cache.lix.systems --extra-trusted-public-keys cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o= 'git+https://git.lix.systems/lix-project/lix?ref=refs/tags/2.95.1' --extra-experimental-features 'nix-command flakes' upgrade-nix --extra-substituters https://cache.lix.systems --extra-trusted-public-keys cache.lix.systems:aBnZUw8zA7H35Cz2RyKFVs3H4PlGTLawyY5KRbvJR8o= warning: $HOME ('/Users/jstrickland') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/root') warning: $HOME ('/Users/jstrickland') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/root') error: path '/nix/store/1sdpjz86bvr6v4h01s98r43rg24v6ncd-lix-2.95.3' does not exist and cannot be created ```
Author

Confusingly, I do think that /Users/jstrickland is owned by my user (it seems like jstrickland:staff):

jstrickland@Jonathan-Filament ~ % stat /Users/jstrickland
16777230 346049 drwxr-x--- 18 jstrickland staff 0 576 "May 13 15:14:08 2026" "May 13 15:14:08 2026" "May 13 15:14:08 2026" "May 13 13:16:38 2026" 4096 0 0 /Users/jstrickland
jstrickland@Jonathan-Filament ~ % stat -l $HOME
drwxr-x--- 18 jstrickland staff 576 May 13 15:14:08 2026 /Users/jstrickland

So the error, warning: $HOME ('/Users/jstrickland') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/root') is maybe not correct?

Confusingly, I do think that `/Users/jstrickland` is owned by my user (it seems like `jstrickland:staff`): ``` jstrickland@Jonathan-Filament ~ % stat /Users/jstrickland 16777230 346049 drwxr-x--- 18 jstrickland staff 0 576 "May 13 15:14:08 2026" "May 13 15:14:08 2026" "May 13 15:14:08 2026" "May 13 13:16:38 2026" 4096 0 0 /Users/jstrickland jstrickland@Jonathan-Filament ~ % stat -l $HOME drwxr-x--- 18 jstrickland staff 576 May 13 15:14:08 2026 /Users/jstrickland ``` So the error, `warning: $HOME ('/Users/jstrickland') is not owned by you, falling back to the one defined in the 'passwd' file ('/var/root')` is maybe not correct?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix-installer#82
No description provided.