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

Bug: When uninstall `nix` on macOS, uninstaller tries to delete mounted APFS disk in use

Open sambacha opened this issue 1 year ago • 3 comments

Error

Error: 
   0: Error reverting
   0: 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 disk3s7
      The volume "Nix Store" on disk3s7 couldn't be unmounted because it is in use by process 45624 (bash)

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



Metadata

key value
version 0.8.0
os macos
arch aarch64
Screenshot 2023-12-03 at 8 31 34 PM

sambacha avatar Dec 04 '23 04:12 sambacha

Thanks for this report! This is indeed unexpected.

Hoverbear avatar Dec 04 '23 20:12 Hoverbear

Thanks for this report! This is indeed unexpected.

Thank you for responding so quickly, please let me know if you need any additional information etc thx

sambacha avatar Dec 05 '23 04:12 sambacha

I suspect this may be related to a recent change on Mac. :(

Hoverbear avatar Dec 05 '23 19:12 Hoverbear