DeterminateSystems / nix-installer

Install Nix and flakes with the fast and reliable Determinate Nix Installer, with over 2 million installs.
GNU Lesser General Public License v2.1
2.09k stars 52 forks source link

System has not been booted with systemd as init system (PID 1). Can't operate. #1000

Open PRozalski opened 3 months ago

PRozalski commented 3 months ago

Error

Error: 
   0: Error reverting
   0: Action `configure_init_service` errored
      Failed to execute command with status 1 `"systemctl" "daemon-reload"`, stdout: 
      stderr: System has not been booted with systemd as init system (PID 1). Can't operate.
      Failed to connect to bus: Host is down

Metadata

key value
version 0.19.0
os linux
arch x86_64
cole-h commented 3 months ago

Hm, that's odd. Is this inside of WSL2, or some kind of container by chance?

Did this just happen when trying to uninstall, or were you installing, something went wrong while installing, and then something went wrong while trying to undo all the actions we did to install?