for-mac
for-mac copied to clipboard
Sonoma fails to install Rosetta
Description
Rosetta install is stuck on 'Finding Update'
Reproduce
fresh install on sonoma 14.1.2 , docker for mac apple silicon 4.26,
Expected behavior
No response
docker version
Client:
Cloud integration: v1.0.35+desktop.5
Version: 24.0.7
API version: 1.43
Go version: go1.20.10
Git commit: afdd53b
Built: Thu Oct 26 09:04:20 2023
OS/Arch: darwin/arm64
Context: desktop-linux
Server: Docker Desktop 4.26.0 (130397)
Engine:
Version: 24.0.7
API version: 1.43 (minimum version 1.12)
Go version: go1.20.10
Git commit: 311b9ff
Built: Thu Oct 26 09:08:15 2023
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.6.25
GitCommit: d8f198a4ed8892c764191ef7b3b06d8a2eeb5c7f
runc:
Version: 1.1.10
GitCommit: v1.1.10-0-g18a0cb0
docker-init:
Version: 0.19.0
GitCommit: de40ad0
docker info
Client:
Version: 24.0.7
Context: desktop-linux
Debug Mode: false
Kernel Version: 6.5.11-linuxkit
Operating System: Docker Desktop
OSType: linux
Architecture: aarch64
CPUs: 14
Total Memory: 7.662GiB
Diagnostics ID
a716c20b-5001-4dfc-9236-78c8f2401f27/20231209095854
Additional Info
No response
i have installed it by running , /usr/sbin/softwareupdate --install-rosetta --agree-to-license
but should also work directly from docker triggering the install.
LOL! me too
Thanks for the report, @djcristi. Did you also try with any other app needing, or that can run with, Rosetta 2? If so, does the same thing happen when Rosetta isn't installed and you run that app?
Docker developers interested in this issue can look at the experience formed at orbstack: Automatically installing rosetta fails - stuck in "finding update" #633 . Told to have been fixed.
Had the same issue today on a new M3 Pro that I just unboxed. Stuck on Finding Update. Solved with running above command
Having the same issue, M3 Pro MBP 14"
The same problem. Solve it by installing Rosetta 2 by hands.
Entering softwareupdate --install-rosetta in terminal. Then type 'A' and enter to confirm.
The djcristi's comment above is also correct. My reference is this: https://osxdaily.com/2020/12/04/how-install-rosetta-2-apple-silicon-mac/ . So our Macs are able to install Rosetta 2 by hands (or by opening other intel type softwares and the system will ask you to install). The problem is why it will fail when it comes to Docker.
Using both /usr/sbin/softwareupdate --install-rosetta --agree-to-license and softwareupdate --install-rosetta mentioned above gives the following error:
2024-05-19 14:05:00.587 softwareupdate[28817:3372442] Package Authoring Error: 042-41726: Package reference com.apple.pkg.RosettaUpdateAuto is missing installKBytes attribute Install of Rosetta 2 finished successfully
It also says Install of Rosetta 2 finished successfully
Is this expected? Can I assume that Rosetta2 has been updated on my system?
Sorry for late reply, the easiest way to confirm whether Rosetta has been installed is by running an Intel app on your M-series Mac.
I am having a similar problem. It says it's downloading rosetta when I activate it from the Docker settings (under General), but it seems to never finish... then I click "Not Now" and I get an error "Installing Rosetta: exit status 42". How long is the installation of Rosetta supposed to take? I don't know if this is really a problem or the installation is supposed to take hours.
First
Then
if you meet the Rosetta installation issues in docker, try the previous solutions, which manually install Rosetta2 through terminal.
@ksDreamer Yes, meanwhile, I had installed rosetta with softwareupdate --install-rosetta --agree-to-license (which took just a few seconds, which suggests that there's really a problem), and then enabling it in Docker did not trigger another installation or dialog. However, one would still expect this issue not to happen in the Docker UI.
Had the same issue and @djcristi's response worked for me
Same issue, @djcristi's response worked