Posted on 07-07-2022 10:35 AM
#!/bin/bash
/Applications/Install\ macOS\ Monterey.app/Contents/Resources/startosinstall --agreetolicense --forcequitapps --nointeraction
Getting the error:
Script result: Error: The update cannot be installed on this computer.
The .app is the full version installed via PKG (Download Full Installer app).
What am I missing?
Posted on 07-07-2022 10:47 AM
Guess I should have checked this sooner, but it also won't run manually. It starts the app when double clicked, but when you select the drive you get the same error.
Posted on 07-07-2022 11:05 AM
What model is the Mac you're running it on? If the hardware isn't supported, it will give that exact error.
Posted on 07-07-2022 11:06 AM
2020 Air. Definitely a supported model.
Posted on 07-07-2022 11:08 AM
Hmm. then the only other thing I can think of is the hard drive is full. One trick you can do is when you launch the installer, after you get to the initial screen, press Command-L to display the log. Then change the setting to Show All (or something to that effect). Then when you click through to run the installation, you should see the cause appear in the log window.
Posted on 07-07-2022 12:47 PM
Thought about storage too. Over 200GB available on all the machines I tested. The only other thing I can think of is that I ran Download Full Installer on my M1 pro and that there might be a variant .app for m1, despite the fact that the installer reports as a universal app. The only other thing I can thinks is some kind of corruption on the PKG itself.
Posted on 07-10-2022 05:07 PM
Have you verified that the logged in account has a secure token?