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.15k stars 53 forks source link

<autogenerated-issue> #926

Open Nafanya opened 6 months ago

Nafanya commented 6 months ago

Error


Error: 
   0: Error reverting
   0: Action `create_nix_hook_service` errored
      Remove file `/Library/LaunchDaemons/systems.determinate.nix-installer.nix-hook.plist`

      Action `configure_nix` errored
      Multiple child errors

      Action `configure_shell_profile` errored
      Multiple child errors

      Action `create_directory` errored
      Read path `/etc/profile.d`

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

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

      Action `set_tmutil_exclusion` errored
      Failed to execute command with status 22 `"tmutil" "removeexclusion" "/nix/var"`, stdout: 
      stderr: /nix/var: Error (-43) while attempting to change exclusion setting.

      Action `create_users_and_group` errored
      Multiple child errors

      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld1"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld2"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld3"`, stdout: delete: Invalid Path

      stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

      Action `create_user` errored
      Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld4"
Nafanya commented 6 months ago

When rerun with sudo, I get this:

Error: 0: Error reverting 0: Action create_nix_hook_service errored Remove file /Library/LaunchDaemons/systems.determinate.nix-installer.nix-hook.plist

  Action `configure_nix` errored
  Multiple child errors

  Action `configure_shell_profile` errored
  Multiple child errors

  Action `create_directory` errored
  Read path `/etc/profile.d`

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

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

  Action `set_tmutil_exclusion` errored
  Failed to execute command with status 22 `"tmutil" "removeexclusion" "/nix/var"`, stdout:
  stderr: /nix/var: Error (-43) while attempting to change exclusion setting.

  Action `create_users_and_group` errored
  Multiple child errors

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld1"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld2"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld3"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld4"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld5"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld6"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld7"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld8"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld9"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld10"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld11"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld12"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld13"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld14"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld15"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld16"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld17"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld18"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld19"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld20"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld21"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld22"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld23"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld24"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld25"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld26"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld27"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld28"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld29"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld30"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld31"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_user` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Users/_nixbld32"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_group` errored
  Failed to execute command with status 185 `"/usr/bin/dscl" "." "-delete" "/Groups/nixbld"`, stdout: delete: Invalid Path

  stderr: <dscl_cmd> DS Error: -14009 (eDSUnknownNodeName)

  Action `create_nix_tree` errored
  Multiple child errors

  Action `create_directory` errored
  Read path `/nix/var/nix/daemon-socket`

  Action `create_directory` errored
  Read path `/nix/var/nix/userpool`

  Action `create_directory` errored
  Read path `/nix/var/nix/temproots`

  Action `create_directory` errored
  Read path `/nix/var/nix/profiles/per-user`

  Action `create_directory` errored
  Read path `/nix/var/nix/profiles`

  Action `create_directory` errored
  Read path `/nix/var/nix/gcroots/per-user`

  Action `create_directory` errored
  Read path `/nix/var/nix/gcroots`

  Action `create_directory` errored
  Read path `/nix/var/nix/db`

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

  Action `create_directory` errored
  Read path `/nix/var/log/nix/drvs`

  Action `create_directory` errored
  Read path `/nix/var/log/nix`

  Action `create_directory` errored
  Read path `/nix/var/log`

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

  Action `create_nix_volume` errored
  Multiple child errors

  Action `bootstrap_launchctl_service` errored
  Failed to execute command with status 5 `"launchctl" "bootout" "system" "/Library/LaunchDaemons/org.nixos.darwin-store.plist"`, stdout:
  stderr: Boot-out failed: 5: Input/output error

  Action `create_volume_service` errored
  Remove file `/Library/LaunchDaemons/org.nixos.darwin-store.plist`

  Action `create_apfs_volume` errored
  Failed to execute command with status 1 `"/usr/sbin/diskutil" "apfs" "deleteVolume" "Nix Store"`, stdout: Started APFS operation
  Deleting APFS Volume from its APFS Container
  Unmounting disk1s7
  The volume "Nix Store" on disk1s7 couldn't be unmounted because it is in use by process 0 (kernel)

  stderr: Error: -69888: Couldn't unmount disk
Nafanya commented 6 months ago

I guess the main problem is this:

Unmounting disk1s7
  The volume "Nix Store" on disk1s7 couldn't be unmounted because it is in use by process 0 (kernel)

  stderr: Error: -69888: Couldn't unmount disk