-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
macOS: (re)install failure #5727
Comments
A full uninstall should get you back on track. I don't think the fix in #4531 will help the issue here, but we should make sure none of the users that cause this problem are left--if they are it'll affect step 6 in the uninstall process. You can check for nixbld users with
I believe this outline of the process is up-to-date: https://gist.github.com/toonn/94a38643d8fa5c9e06100cdfa81ba163#uninstalling |
Regarding the issue itself: I think the user fell into a gap in the installer's logic for when to print information about uninstalling (only when nix/scripts/install-multi-user.sh Lines 379 to 386 in eff48e8
My personal (biased?) thinking is that cases like this are better handled by the ~curing practices developed in create-darwin-volume than by detect-abort-instruct. I left some breadcrumbs to this effect: nix/scripts/install-multi-user.sh Lines 841 to 846 in eff48e8
|
@abathur - Thanks, uninstalling and reinstalling worked! I had the 32 _nixbld users and 4 nixbld users. The only other difference I found was with the launch daemons, I didn't have After that, I ran a new install and all is well! Thanks! I guess I'll see whenever I upgrade to Monterey if this fixes my issue with crashes during upgrade. |
Glad that got you on track :)
This should be fine. I think it would only be present if you were also using nix-darwin before.
The main thing to look out for, if you use zsh, is that macOS has been regularly rewriting /etc/zshrc during updates. If so, nix won't be on PATH after the update, and you'll need to re-add the Nix lines. |
I marked this as stale due to inactivity. → More info |
Describe the bug
I wanted to try out Nix again, the last time I tried it was several years ago and since I had no
/nix
directory I assumed I had uninstalled it already. The installer pointed out that I already had rc backups in /etc, I checked and didn't have any nix stuff in therc files so I removed the backups and ran the installer again.This time the installer got pretty far, but failed, last bit of log output below.
Looking here at issues, I've noticed #4531 and it looks a lot like an issue I've been having with macOS upgrades, I've always managed to get passed it just by rebooting and trying again and didn't figure out what was causing it.
So now I've got a failed install of Nix from today, and I'm not sure whether I should use the fix script from that issue.
I'm not sure how I should approach this.
Thanks
The text was updated successfully, but these errors were encountered: