How can I silently upgrade macOS from intel (Rosetta) process?

I have an app with admin privileges running on M1 with Rosetta and I'm trying to silently upgrade the macOS.


for example, I tried to run an upgrade command from Terminal running on Intel (Rosetta)


The command I run is:


sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/startosinstall --agreetolicense –nointeraction --forcequitapps


and I got the following error:


> running in rosetta 2 is not supported


How can I make it work? or is there another way to silently install macOS patch from an Intel (Rosetta) process?

Posted on Aug 27, 2022 11:51 AM

Reply
5 replies

Aug 27, 2022 2:17 PM in response to dorfellus

dorfellus wrote:

I got the following error:

> Error: failed to authorize for installation. Provide a password with
> --stdinpass or --passprompt.

I know I can use --stdinpass or --passprompt:
sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/startosinstall --agreetolicense --forcequitapps --passprompt

but I want to install without password like I did on Mac Intel.

How can I make it work? or is there another way to silently install macOS patch?


This sentence makes no sense to me, like a non sequitur...

"I have an app with admin privileges running on M1 with Rosetta and I'm trying to silently upgrade the macOS."


Well you are not running on Intel. If it doesn't work then it doesn't work.


The installer is a Universal app...



Is this your Mac?

Are you admin?

and why not simple authenticate using your admin passwd...



You can try,—and report back your success or failure, copy and paste:

sudo softwareupdate -i -a -R

Aug 27, 2022 2:00 PM in response to dorfellus

dorfellus wrote:

I have an app with admin privileges running on M1 with Rosetta and I'm trying to silently upgrade the macOS.

for example, I tried to run an upgrade command from Terminal running on Intel (Rosetta)

The command I run is:

sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/startosinstall --agreetolicense –nointeraction --forcequitapps

and I got the following error:

> running in rosetta 2 is not supported

How can I make it work? or is there another way to silently install macOS patch from an Intel (Rosetta) process?


I don't get it .... why are you trying to involve Rosetta on a M1


What are you trying to do upgrade the macOS...



The current stable release of Monterey including bug fixes, is macOS 12.5.1


Keep your Mac up to date - Apple Support

Keep your Mac up to date - Apple Support


If you downloaded the full installer, then it is sitting in your Applications folder—launch it like an other application from there.

Aug 27, 2022 2:00 PM in response to leroydouglas

I want to upgrade macOS silently without a password (I'm running with administrative privileges)


I'm trying to run the following command on M1 mac (which works on Mac with intel chip)


sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/startosinstall --agreetolicense –nointeraction --forcequitapps


and I got the following error:


> Error: failed to authorize for installation. Provide a password with

> --stdinpass or --passprompt.


I know I can use --stdinpass or --passprompt:

sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/startosinstall --agreetolicense --forcequitapps --passprompt


but I want to install without password like I did on Mac Intel.


How can I make it work? or is there another way to silently install macOS patch?

Aug 27, 2022 2:25 PM in response to dorfellus

dorfellus wrote:

I'm trying to perform the upgrade remotely, I have an agent with admin privileges


an agent?


It seems if this remote mac being managed by some Enterprise/MDM/active directory list (?) I suspect you will still need to authenticate the process locally with a password or talk to your IT for advise.


When you activate the OS, the Mac will check with Apple activation servers and if it is a corporate owned device, it will flag you to enter the admin/IT/user credentials in order to finish.




if you think it should be some other way—

Call Customer Support  (800) MYAPPLE (800–692–7753)


or on line  Apple Support




This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How can I silently upgrade macOS from intel (Rosetta) process?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.