Incomplete uninstallations leave the system in a tricky state #34

Open
opened 2024-11-12 14:59:30 +00:00 by lheckemann · 0 comments
Member

To reproduce (on macOS):

  • cd /nix
  • ./nix-installer uninstall

The uninstallation will fail because /nix is still in use (as the working directory of the shell from which the uninstaller was invoked) and can't be unmounted/deleted.

Attempting to uninstall again will fail more spectacularly because some of the steps will have been reverted already.

To reproduce (on macOS): - cd `/nix` - `./nix-installer uninstall` The uninstallation will fail because `/nix` is still in use (as the working directory of the shell from which the uninstaller was invoked) and can't be unmounted/deleted. Attempting to uninstall again will fail more spectacularly because some of the steps will have been reverted already.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix-installer#34
No description provided.