-
-
Notifications
You must be signed in to change notification settings - Fork 117
m1n1 update fails with "SameFileError: '.../AdminUserRecoveryInfo.plist' and '.../AdminUserRecoveryInfo.plist' are the same file" #420
Copy link
Copy link
Open
Description
Tried to update m1n1 on my 2020 M1 Mac Mini, running Asahi + nixOS. Ran into the following exception:
Traceback (most recent call last):
File "/System/Volumes/Data/private/tmp/asahi-install/main.py", line 1149, in <module>
InstallerMain(installer_version).main()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/System/Volumes/Data/private/tmp/asahi-install/main.py", line 946, in main
while self.main_loop():
~~~~~~~~~~~~~~^^
File "/System/Volumes/Data/private/tmp/asahi-install/main.py", line 1116, in main_loop
return self.action_repair_or_upgrade(oses_upgradable, upgrade=True)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/System/Volumes/Data/private/tmp/asahi-install/main.py", line 414, in action_repair_or_upgrade
self.ins.repair(self.cur_os)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/System/Volumes/Data/private/tmp/asahi-install/stub.py", line 196, in repair
self.copy_admin_users(cur_os)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "/System/Volumes/Data/private/tmp/asahi-install/stub.py", line 179, in copy_admin_users
shutil.copy(admin_users, tg_admin_users)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/System/Volumes/Data/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.13/lib/python3.13/shutil.py", line 428, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/System/Volumes/Data/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.13/lib/python3.13/shutil.py", line 240, in copyfile
raise SameFileError("{!r} and {!r} are the same file".format(src, dst))
shutil.SameFileError: '/Volumes/Preboot/45A7F00D-EC71-4981-8CEE-F1C6C5EB1D63/var/db/AdminUserRecoveryInfo.plist' and '/Volumes/Preboot/45A7F00D-EC71-4981-8CEE-F1C6C5EB1D63/var/db/AdminUserRecoveryInfo.plist' are the same file
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels