Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NXTaar opened this issue Nov 1, 2024 · 1 comment
Labels
MacOS Darwin/MacOS

Comments

@NXTaar
Copy link

NXTaar commented Nov 1, 2024

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

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



Metadata

key value
version 0.20.2
os macos
arch aarch64
@cole-h
Copy link
Member

cole-h commented Nov 1, 2024

If you reboot and rerun the uninstaller, I think it will be able to complete the uninstall. This happens sometimes, unfortunately, and right now there's nothing we can do except say "reboot and try again".

(If you do try again, it will probably error on all the other things it already cleaned up, but it should be able to clean up the volume at that point)

@cole-h cole-h added the MacOS Darwin/MacOS label Nov 1, 2024
@cole-h cole-h changed the title <autogenerated-issue> The volume "Nix Store" on disk3s7 couldn't be unmounted because it is in use by process 0 (kernel) Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MacOS Darwin/MacOS
Projects
None yet
Development

No branches or pull requests

2 participants