lix won't install on my macos sequoia machine #25

Closed
opened 2024-09-17 16:11:11 +00:00 by bonds · 4 comments

I was running the latest lix release on my mac. Then I upgraded to sequoia and it complained about the build users. I uninstalled lix, rebooted, and tried to reinstall lix but at the start of the installation process, after saying 'Y' to flakes, I get this error.

Error

Error: 
   0: Planner error
   1: Error executing action
   2: Action `configure_nix` errored
   3: Action `create_directory` errored
   4: Failed to execute command `"mount" "-d"`
   5: No such file or directory (os error 2)

Metadata

key value
version 0.17.1
os macos
arch aarch64
I was running the latest lix release on my mac. Then I upgraded to sequoia and it [complained about the build users](https://git.lix.systems/lix-project/lix/issues/521). I uninstalled lix, rebooted, and tried to reinstall lix but at the start of the installation process, after saying 'Y' to flakes, I get this error. ## Error ``` Error: 0: Planner error 1: Error executing action 2: Action `configure_nix` errored 3: Action `create_directory` errored 4: Failed to execute command `"mount" "-d"` 5: No such file or directory (os error 2) ``` ## Metadata |key|value| |--|--| |**version**|0.17.1| |**os**|macos| |**arch**|aarch64|
Author

Here's the full read out:

accismus% curl -sSf -L https://install.lix.systems/lix | sh -s -- install
info: downloading installer https://install.lix.systems/lix/lix-installer-aarch64-darwin
`lix-installer` needs to run as `root`, attempting to escalate now via `sudo`...


Welcome to the Lix installer! Just a couple of quick questions.

Flakes are an experimental feature, but widely used in the community.
You can change this later in `/etc/nix/nix.conf`.

Enable flakes? ([Y]es/[n]o): y

QUICK NOTE: we've enabled the experimental nix command for you!
Be aware that commands starting with `nix ` such as `nix build` may change syntax.

Error: 
   0: Planner error
   1: Error executing action
   2: Action `configure_nix` errored
   3: Action `create_directory` errored
   4: Failed to execute command `"mount" "-d"`
   5: No such file or directory (os error 2)

Location:
   src/cli/subcommand/install.rs:246

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Consider reporting this error using this URL: https://git.lix.systems/lix-project/lix-installer/issues/new?title=%3Cautogenerated-issue%3E&body=%23%23+Error%0A%60%60%60%0AError%3A+%0A+++0%3A+Planner+error%0A+++1%3A+Error+executing+action%0A+++2%3A+Action+%60configure_nix%60+errored%0A+++3%3A+Action+%60create_directory%60+errored%0A+++4%3A+Failed+to+execute+command+%60%22mount%22+%22-d%22%60%0A+++5%3A+No+such+file+or+directory+%28os+error+2%29%0A%60%60%60%0A%0A%23%23+Metadata%0A%7Ckey%7Cvalue%7C%0A%7C--%7C--%7C%0A%7C**version**%7C0.17.1%7C%0A%7C**os**%7Cmacos%7C%0A%7C**arch**%7Caarch64%7C%0A
accismus% 
Here's the full read out: ```` accismus% curl -sSf -L https://install.lix.systems/lix | sh -s -- install info: downloading installer https://install.lix.systems/lix/lix-installer-aarch64-darwin `lix-installer` needs to run as `root`, attempting to escalate now via `sudo`... Welcome to the Lix installer! Just a couple of quick questions. Flakes are an experimental feature, but widely used in the community. You can change this later in `/etc/nix/nix.conf`. Enable flakes? ([Y]es/[n]o): y QUICK NOTE: we've enabled the experimental nix command for you! Be aware that commands starting with `nix ` such as `nix build` may change syntax. Error: 0: Planner error 1: Error executing action 2: Action `configure_nix` errored 3: Action `create_directory` errored 4: Failed to execute command `"mount" "-d"` 5: No such file or directory (os error 2) Location: src/cli/subcommand/install.rs:246 Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets. Consider reporting this error using this URL: https://git.lix.systems/lix-project/lix-installer/issues/new?title=%3Cautogenerated-issue%3E&body=%23%23+Error%0A%60%60%60%0AError%3A+%0A+++0%3A+Planner+error%0A+++1%3A+Error+executing+action%0A+++2%3A+Action+%60configure_nix%60+errored%0A+++3%3A+Action+%60create_directory%60+errored%0A+++4%3A+Failed+to+execute+command+%60%22mount%22+%22-d%22%60%0A+++5%3A+No+such+file+or+directory+%28os+error+2%29%0A%60%60%60%0A%0A%23%23+Metadata%0A%7Ckey%7Cvalue%7C%0A%7C--%7C--%7C%0A%7C**version**%7C0.17.1%7C%0A%7C**os**%7Cmacos%7C%0A%7C**arch**%7Caarch64%7C%0A accismus% ````
Owner

Have you tried rebooting and trying again? This sounds suspiciously like PATH is busted in a way that might be fixed by rebooting (being unable to find mount is pretty strange).

Have you tried rebooting and trying again? This sounds suspiciously like PATH is busted in a way that might be fixed by rebooting (being unable to find mount is pretty strange).
Author

Just tried rebooting, it didn't help. But your PATH clue helped. Turns out my /etc/bashrc and friends were messed up and my PATH was just /bin and /sbin. A bunch of my files like /etc/bashrc were symlinked to /etc/static which was a directory that simlinked to something under /nix which no longer existed once I uninstalled nix. Anyhow, I had old bashrc, zshrc, zprofile and other files to fall back to, so I did that and things work again.

Just tried rebooting, it didn't help. But your PATH clue helped. Turns out my /etc/bashrc and friends were messed up and my PATH was just /bin and /sbin. A bunch of my files like /etc/bashrc were symlinked to /etc/static which was a directory that simlinked to something under /nix which no longer existed once I uninstalled nix. Anyhow, I had old bashrc, zshrc, zprofile and other files to fall back to, so I did that and things work again.
bonds closed this issue 2024-09-17 23:26:49 +00:00
Author

Thanks @jade !

Thanks @jade !
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
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#25
No description provided.