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

MacOS 15.0 Beta broke users - attempting to re-install #1002

Closed
poetinger opened this issue Jun 11, 2024 · 2 comments
Closed

MacOS 15.0 Beta broke users - attempting to re-install #1002

poetinger opened this issue Jun 11, 2024 · 2 comments

Comments

@poetinger
Copy link

Error

Error: 
   0: Install failure
   1: Error executing action
   2: Action `create_users_and_group` errored
   3: Action `create_user` errored
   4: Failed to execute command with status 55 `"/usr/bin/dscl" "." "-create" "/Users/_nixbld1" "UniqueID" "301"`, stdout: 
      stderr: <main> attribute status: eDSRecordAlreadyExists
      <dscl_cmd> DS Error: -14135 (eDSRecordAlreadyExists)


Metadata

key value
version 0.19.0
os macos
arch aarch64

Description

After OS update, I had many issues trying to get the _nixbld1 user (really any build user) to work. So I uninstalled nix-darwin using the uninstaller already in the Nix Store, as I could not build the uninstaller anymore (following Darwin instructions). This worked. I then uninstalled nix through the determinate uninstaller. This also worked.

The issue begins with the installation. First the nix volume was never actually deleted by the uninstaller (manual command worked).

Now I cannot progress past the user/group step due to these users and groups "existing" yet not being listed when I run the commands manually. Attempting to remove them from via the nix uninstall step:

sudo dscl . -delete /Groups/nixbld
for u in $(sudo dscl . -list /Users | grep _nixbld); do sudo dscl . -delete /Users/$u; done

outputs nothing, and listing both shows nothing on the device. I've tried a couple "solutions" from previous discussions related to _nixbldN and the group, but no luck.

@poetinger
Copy link
Author

Related to #1001 most likely.

@poetinger poetinger changed the title MacOS 18.0 Beta broke users - attempting to re-install MacOS 15.0 Beta broke users - attempting to re-install Jun 11, 2024
@poetinger
Copy link
Author

I'll let the other issue track this issue, as it has the (hopefully temporary) solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant