nix-installer icon indicating copy to clipboard operation
nix-installer copied to clipboard

Mac APFS volume cannot be unmounted (script)

Open shriharip opened this issue 1 year ago • 1 comments

Error

Error: 
   0: Error reverting
   0: Action `create_or_merge_nix_config` errored
      Remove file `/etc/nix/nix.conf`

      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 1310 (script)

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



Metadata

key value
version 0.16.1
os macos
arch x86_64

shriharip avatar Feb 13 '24 16:02 shriharip

Similar to https://github.com/DeterminateSystems/nix-installer/issues/836

Hoverbear avatar Feb 13 '24 17:02 Hoverbear