<autogenerated-issue> #63

Open
opened 2025-11-18 08:14:15 +00:00 by irfanhakim-as · 1 comment

Error

Error: 
   0: Error reverting
   0: Action `configure_init_service` errored
      Remove file `/etc/tmpfiles.d/nix-daemon.conf`

      Action `place_nix_configuration` errored
      Multiple child errors

      Action `create_or_merge_nix_config` errored
      Remove file `/etc/nix/nix.conf`

      Action `create_directory` errored
      Read path `/etc/nix`


Metadata

key value
version 0.17.1
os linux
arch x86_64
## Error ``` Error: 0: Error reverting 0: Action `configure_init_service` errored Remove file `/etc/tmpfiles.d/nix-daemon.conf` Action `place_nix_configuration` errored Multiple child errors Action `create_or_merge_nix_config` errored Remove file `/etc/nix/nix.conf` Action `create_directory` errored Read path `/etc/nix` ``` ## Metadata |key|value| |--|--| |**version**|0.17.1| |**os**|linux| |**arch**|x86_64|
Author

On the Steam Deck, installing and using Lix initially worked as expected - but at some point not long after, I had an issue with the 'environment', as in Nix wasn't in path or XDG_DATA_DIRS, stuff like that.

On my EndeavourOS PC, I didn't have this issue using Nix's experimental installer. I suspect this isn't a Lix issue maybe, and that it's a Steam Deck issue, but I wanted to try uninstalling Lix and reinstalling Nix using the experimental installer anyway.

I faced the error above when uninstalling:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.lix.systems/lix | sh -s -- uninstall

Additional context:

Command used when installing ~few weeks ago:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.lix.systems/lix | sh -s -- install steam-deck

Full output in my attempt to uninstall:

❯ curl --proto '=https' --tlsv1.2 -sSf -L https://install.lix.systems/lix | sh -s -- uninstall
info: downloading installer https://install.lix.systems/lix/lix-installer-x86_64-linux
Warning: Not enforcing strong cipher suites for TLS, this is potentially less secure
Warning: Not enforcing TLS v1.2, this is potentially less secure
`lix-installer` needs to run as `root`, attempting to escalate now via `sudo`...
Lix uninstall plan (v0.17.1)

Planner: steam-deck

Configured settings:
* nix_package_url: {"Url":"https://releases.lix.systems/lix/lix-2.93.0/lix-2.93.0-x86_64-linux.tar.xz"}

Planned actions:
* Run `systemctl daemon-reload`
* Disable (and stop) the systemd unit `ensure-symlinked-units-resolve.service`
* Unconfigure Nix daemon related settings with systemd
* Unconfigure the shell profiles
* Remove the Nix configuration in `/etc/nix/nix.conf`
* Unset the default Nix profile
* Remove Nix users and group
* Remove the directory tree in `/nix`
* Delete file `/etc/systemd/system/ensure-symlinked-units-resolve.service`
* Clean the `/home/.steamos/offload/nix` directory
* Run `systemctl daemon-reload`


Proceed? ([Y]es/[n]o/[e]xplain):
 INFO Revert: Run `systemctl daemon-reload`
 INFO Revert: Remove directory `/nix/temp-install-dir`
 INFO Revert: Enable (and start) the systemd unit `ensure-symlinked-units-resolve.service`
 INFO Revert: Configure Nix daemon related settings with systemd
 INFO Revert: Configure Nix
 INFO Revert: Create build users (UID 30001-30032) and group (GID 30000)
 INFO Revert: Provision Nix
 INFO Revert: Create or overwrite file `/etc/systemd/system/ensure-symlinked-units-resolve.service`
 INFO Revert: Enable (and start) the systemd unit `nix.mount`
 INFO Revert: Ensure SteamOS's `/nix` directory exists
 INFO Revert: Clean the `/home/.steamos/offload/nix` directory
 INFO Revert: Run `systemctl daemon-reload`
ERROR Uninstallation complete, some errors encountered
Error:
   0: Error reverting
   0: Action `configure_init_service` errored
      Remove file `/etc/tmpfiles.d/nix-daemon.conf`

      Action `place_nix_configuration` errored
      Multiple child errors

      Action `create_or_merge_nix_config` errored
      Remove file `/etc/nix/nix.conf`

      Action `create_directory` errored
      Read path `/etc/nix`

   0:

Location:
   src/cli/subcommand/uninstall.rs:193

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

I'm not sure if it's safe for me to reinstall Nix, at this point - or some manual cleanup is needed to sort this out.

On the Steam Deck, installing and using Lix initially worked as expected - but at some point not long after, I had an issue with the 'environment', as in Nix wasn't in path or `XDG_DATA_DIRS`, stuff like that. On my EndeavourOS PC, I didn't have this issue using Nix's experimental installer. I suspect this isn't a Lix issue maybe, and that it's a Steam Deck issue, but I wanted to try uninstalling Lix and reinstalling Nix using the experimental installer anyway. I faced the error above when uninstalling: ``` curl --proto '=https' --tlsv1.2 -sSf -L https://install.lix.systems/lix | sh -s -- uninstall ``` --- Additional context: Command used when installing ~few weeks ago: ```sh curl --proto '=https' --tlsv1.2 -sSf -L https://install.lix.systems/lix | sh -s -- install steam-deck ``` Full output in my attempt to uninstall: ``` ❯ curl --proto '=https' --tlsv1.2 -sSf -L https://install.lix.systems/lix | sh -s -- uninstall info: downloading installer https://install.lix.systems/lix/lix-installer-x86_64-linux Warning: Not enforcing strong cipher suites for TLS, this is potentially less secure Warning: Not enforcing TLS v1.2, this is potentially less secure `lix-installer` needs to run as `root`, attempting to escalate now via `sudo`... Lix uninstall plan (v0.17.1) Planner: steam-deck Configured settings: * nix_package_url: {"Url":"https://releases.lix.systems/lix/lix-2.93.0/lix-2.93.0-x86_64-linux.tar.xz"} Planned actions: * Run `systemctl daemon-reload` * Disable (and stop) the systemd unit `ensure-symlinked-units-resolve.service` * Unconfigure Nix daemon related settings with systemd * Unconfigure the shell profiles * Remove the Nix configuration in `/etc/nix/nix.conf` * Unset the default Nix profile * Remove Nix users and group * Remove the directory tree in `/nix` * Delete file `/etc/systemd/system/ensure-symlinked-units-resolve.service` * Clean the `/home/.steamos/offload/nix` directory * Run `systemctl daemon-reload` Proceed? ([Y]es/[n]o/[e]xplain): INFO Revert: Run `systemctl daemon-reload` INFO Revert: Remove directory `/nix/temp-install-dir` INFO Revert: Enable (and start) the systemd unit `ensure-symlinked-units-resolve.service` INFO Revert: Configure Nix daemon related settings with systemd INFO Revert: Configure Nix INFO Revert: Create build users (UID 30001-30032) and group (GID 30000) INFO Revert: Provision Nix INFO Revert: Create or overwrite file `/etc/systemd/system/ensure-symlinked-units-resolve.service` INFO Revert: Enable (and start) the systemd unit `nix.mount` INFO Revert: Ensure SteamOS's `/nix` directory exists INFO Revert: Clean the `/home/.steamos/offload/nix` directory INFO Revert: Run `systemctl daemon-reload` ERROR Uninstallation complete, some errors encountered Error: 0: Error reverting 0: Action `configure_init_service` errored Remove file `/etc/tmpfiles.d/nix-daemon.conf` Action `place_nix_configuration` errored Multiple child errors Action `create_or_merge_nix_config` errored Remove file `/etc/nix/nix.conf` Action `create_directory` errored Read path `/etc/nix` 0: Location: src/cli/subcommand/uninstall.rs:193 Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets. ``` --- I'm not sure if it's safe for me to reinstall Nix, at this point - or some manual cleanup is needed to sort this out.
Sign in to join this conversation.
No labels
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#63
No description provided.