-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Install of cask docker stuck at UnpackStrategy::Dmg step #198010
Comments
Update: I decided to let the command run indefinitely, and after 56 minutes, it prompted for a password for a sudo operation before completing. Any idea what could be causing the unusually long runtime of the command? brew install --debug --cask docker
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading docker
==> Cask::Installer#install
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading rancher
==> Printing caveats
==> Cask::Installer#fetch
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-cask/492a90c5ae1c2824ecbf5238dad363cacfa33c71/Casks/d/docker.r
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.15-81-g2432d01\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 14.5\)\ curl/8.6.0 --header Accept-Language:\ en --retry 3 -V
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.15-81-g2432d01\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 14.5\)\ curl/8.6.0 --header Accept-Language:\ en --retry 3 --fail --location --silent --head https://raw.githubusercontent.com/Homebrew/homebrew-cask/492a90c5ae1c2824ecbf5238dad363cacfa33c71/Casks/d/docker.rb
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.15-81-g2432d01\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 14.5\)\ curl/8.6.0 --header Accept-Language:\ en --retry 3 --fail --location --silent --head --request GET https://raw.githubusercontent.com/Homebrew/homebrew-cask/492a90c5ae1c2824ecbf5238dad363cacfa33c71/Casks/d/docker.rb
Already downloaded: /Users/muescha/Library/Caches/Homebrew/downloads/a0657e0a07036ad3f7df0cc0861fcccb2989f85933e654ed307eef4d017e0fad--docker.rb
==> Downloading https://desktop.docker.com/mac/main/arm64/179585/Docker.dmg
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.15-81-g2432d01\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 14.5\)\ curl/8.6.0 --header Accept-Language:\ en --retry 3 -V
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.15-81-g2432d01\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 14.5\)\ curl/8.6.0 --header Accept-Language:\ en --retry 3 --fail --location --silent --head https://desktop.docker.com/mac/main/arm64/179585/Docker.dmg
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.15-81-g2432d01\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 14.5\)\ curl/8.6.0 --header Accept-Language:\ en --retry 3 --fail --location --silent --head --request GET https://desktop.docker.com/mac/main/arm64/179585/Docker.dmg
Already downloaded: /Users/muescha/Library/Caches/Homebrew/downloads/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.dmg
==> Checking quarantine support
/usr/bin/env /usr/bin/xattr -h
/usr/bin/env /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -target arm64-apple-macosx14 /opt/homebrew/Library/Homebrew/cask/utils/quarantine.swift
==> Quarantine is available.
==> Verifying Gatekeeper status of /Users/muescha/Library/Caches/Homebrew/downloads/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.dmg
/usr/bin/env /usr/bin/xattr -p com.apple.quarantine /Users/muescha/Library/Caches/Homebrew/downloads/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.dmg
==> /Users/muescha/Library/Caches/Homebrew/downloads/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.dmg is quarantined
/usr/bin/env tar --list --file /Users/muescha/Library/Caches/Homebrew/downloads/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.dmg
/usr/bin/env hdiutil imageinfo -format /Users/muescha/Library/Caches/Homebrew/downloads/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.dmg
==> Installing Cask docker
==> Cask::Installer#stage
==> Extracting primary container
==> Using container class UnpackStrategy::Dmg for /Users/muescha/Library/Caches/Homebrew/downloads/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.dmg
/usr/bin/env hdiutil attach -plist -nobrowse -readonly -mountrandom /private/tmp/homebrew-dmg20250112-37318-65te49 /Users/muescha/Library/Caches/Homebrew/downloads/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.dmg
/usr/bin/env hdiutil convert -quiet -format UDTO -o /private/tmp/homebrew-dmg20250112-37318-65te49/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.cdr /Users/muescha/Library/Caches/Homebrew/downloads/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.dmg
/usr/bin/env hdiutil attach -plist -nobrowse -readonly -mountrandom /private/tmp/homebrew-dmg20250112-37318-65te49 /private/tmp/homebrew-dmg20250112-37318-65te49/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.cdr
/usr/bin/env find . -print0
/usr/bin/env mkbom -s -i /private/tmp/20250112-37318-kao2pw.list -- /private/tmp/20250112-37318-fzx71i.bom
/usr/bin/env ditto --bom /private/tmp/20250112-37318-fzx71i.bom -- /private/tmp/homebrew-dmg20250112-37318-65te49/dmg.jkmJ3J /private/tmp/homebrew-unpack-20250112-37318-eonmps
/usr/bin/env diskutil info -plist /private/tmp/homebrew-dmg20250112-37318-65te49/dmg.jkmJ3J
/usr/bin/env diskutil eject /private/tmp/homebrew-dmg20250112-37318-65te49/dmg.jkmJ3J
==> Verifying Gatekeeper status of /Users/muescha/Library/Caches/Homebrew/downloads/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.dmg
/usr/bin/env /usr/bin/xattr -p com.apple.quarantine /Users/muescha/Library/Caches/Homebrew/downloads/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.dmg
==> /Users/muescha/Library/Caches/Homebrew/downloads/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.dmg is quarantined
==> Propagating quarantine from /Users/muescha/Library/Caches/Homebrew/downloads/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.dmg to /opt/homebrew/Caskroom/docker/4.37.2,179585
/usr/bin/env /usr/bin/xattr -p com.apple.quarantine /Users/muescha/Library/Caches/Homebrew/downloads/a956d2181704622448bfdfd1a38d510f98fca386f98c1f547ec7b22939db47dd--Docker.dmg
/usr/bin/env /usr/bin/xargs -0 -- /bin/chmod -h u+w
/usr/bin/env /usr/bin/xargs -0 -- /usr/bin/xattr -w com.apple.quarantine 0381\;67835c6e\;\;ED26BA45-AAE7-420F-9076-36D17F509024
==> Creating metadata directory: /opt/homebrew/Caskroom/docker/.metadata/4.37.2,179585/20250112223339.958
==> Creating metadata subdirectory: /opt/homebrew/Caskroom/docker/.metadata/4.37.2,179585/20250112223339.958/Casks
==> Installing artifacts
==> Installing artifact of class Cask::Artifact::App
==> Moving App 'Docker.app' to '/Applications/Docker.app'
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'docker-compose.zsh-completion' to '/opt/homebrew/share/zsh/site-functions/_docker-compose'
/usr/bin/env /bin/ln -h -f -s -- /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker-compose.zsh-completion /opt/homebrew/share/zsh/site-functions/_docker-compose
==> Adding com.apple.metadata:kMDItemAlternateNames metadata
/usr/bin/env /usr/bin/xattr -p com.apple.metadata:kMDItemAlternateNames /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker-compose.zsh-completion
==> Existing metadata is:
/usr/bin/env /bin/chmod -- u+rw /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker-compose.zsh-completion /Applications/Docker.app/Contents/Resources/etc/docker-compose.zsh-completion
/usr/bin/env /usr/bin/xattr -w com.apple.metadata:kMDItemAlternateNames \(\"_docker-compose\"\) /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker-compose.zsh-completion
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'docker-compose.fish-completion' to '/opt/homebrew/share/fish/vendor_completions.d/docker-compose.fish'
/usr/bin/env /bin/ln -h -f -s -- /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker-compose.fish-completion /opt/homebrew/share/fish/vendor_completions.d/docker-compose.fish
==> Adding com.apple.metadata:kMDItemAlternateNames metadata
/usr/bin/env /usr/bin/xattr -p com.apple.metadata:kMDItemAlternateNames /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker-compose.fish-completion
==> Existing metadata is:
/usr/bin/env /bin/chmod -- u+rw /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker-compose.fish-completion /Applications/Docker.app/Contents/Resources/etc/docker-compose.fish-completion
/usr/bin/env /usr/bin/xattr -w com.apple.metadata:kMDItemAlternateNames \(\"docker-compose.fish\"\) /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker-compose.fish-completion
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'docker' to '/usr/local/bin/docker'
/usr/bin/sudo -E -- /bin/ln -h -f -s -- /Applications/Docker.app/Contents/Resources/bin/docker /usr/local/bin/docker
Password:
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'docker-credential-desktop' to '/usr/local/bin/docker-credential-desktop'
/usr/bin/sudo -E -- /bin/ln -h -f -s -- /Applications/Docker.app/Contents/Resources/bin/docker-credential-desktop /usr/local/bin/docker-credential-desktop
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'docker-credential-ecr-login' to '/usr/local/bin/docker-credential-ecr-login'
/usr/bin/sudo -E -- /bin/ln -h -f -s -- /Applications/Docker.app/Contents/Resources/bin/docker-credential-ecr-login /usr/local/bin/docker-credential-ecr-login
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'docker-credential-osxkeychain' to '/usr/local/bin/docker-credential-osxkeychain'
/usr/bin/sudo -E -- /bin/ln -h -f -s -- /Applications/Docker.app/Contents/Resources/bin/docker-credential-osxkeychain /usr/local/bin/docker-credential-osxkeychain
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'hub-tool' to '/usr/local/bin/hub-tool'
/usr/bin/sudo -E -- /bin/ln -h -f -s -- /Applications/Docker.app/Contents/Resources/bin/hub-tool /usr/local/bin/hub-tool
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'docker-compose' to '/usr/local/cli-plugins/docker-compose'
/usr/bin/sudo -E -- /bin/mkdir -p -- /usr/local/cli-plugins
/usr/bin/sudo -E -- /bin/ln -h -f -s -- /Applications/Docker.app/Contents/Resources/cli-plugins/docker-compose /usr/local/cli-plugins/docker-compose
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'docker.bash-completion' to '/opt/homebrew/etc/bash_completion.d/docker'
/usr/bin/env /bin/ln -h -f -s -- /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker.bash-completion /opt/homebrew/etc/bash_completion.d/docker
==> Adding com.apple.metadata:kMDItemAlternateNames metadata
/usr/bin/env /usr/bin/xattr -p com.apple.metadata:kMDItemAlternateNames /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker.bash-completion
==> Existing metadata is:
/usr/bin/env /bin/chmod -- u+rw /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker.bash-completion /Applications/Docker.app/Contents/Resources/etc/docker.bash-completion
/usr/bin/env /usr/bin/xattr -w com.apple.metadata:kMDItemAlternateNames \(\"docker\"\) /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker.bash-completion
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'docker.zsh-completion' to '/opt/homebrew/share/zsh/site-functions/_docker'
/usr/bin/env /bin/ln -h -f -s -- /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker.zsh-completion /opt/homebrew/share/zsh/site-functions/_docker
==> Adding com.apple.metadata:kMDItemAlternateNames metadata
/usr/bin/env /usr/bin/xattr -p com.apple.metadata:kMDItemAlternateNames /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker.zsh-completion
==> Existing metadata is:
/usr/bin/env /bin/chmod -- u+rw /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker.zsh-completion /Applications/Docker.app/Contents/Resources/etc/docker.zsh-completion
/usr/bin/env /usr/bin/xattr -w com.apple.metadata:kMDItemAlternateNames \(\"_docker\"\) /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker.zsh-completion
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'docker.fish-completion' to '/opt/homebrew/share/fish/vendor_completions.d/docker.fish'
/usr/bin/env /bin/ln -h -f -s -- /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker.fish-completion /opt/homebrew/share/fish/vendor_completions.d/docker.fish
==> Adding com.apple.metadata:kMDItemAlternateNames metadata
/usr/bin/env /usr/bin/xattr -p com.apple.metadata:kMDItemAlternateNames /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker.fish-completion
==> Existing metadata is:
/usr/bin/env /bin/chmod -- u+rw /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker.fish-completion /Applications/Docker.app/Contents/Resources/etc/docker.fish-completion
/usr/bin/env /usr/bin/xattr -w com.apple.metadata:kMDItemAlternateNames \(\"docker.fish\"\) /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker.fish-completion
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'kubectl' to '/usr/local/bin/kubectl.docker'
/usr/bin/sudo -E -- /bin/ln -h -f -s -- /Applications/Docker.app/Contents/Resources/bin/kubectl /usr/local/bin/kubectl.docker
==> Adding com.apple.metadata:kMDItemAlternateNames metadata
/usr/bin/env /usr/bin/xattr -p com.apple.metadata:kMDItemAlternateNames /Applications/Docker.app/Contents/Resources/bin/kubectl
==> Existing metadata is:
/usr/bin/env /bin/chmod -- u+rw /Applications/Docker.app/Contents/Resources/bin/kubectl /Applications/Docker.app/Contents/Resources/bin/kubectl
/usr/bin/env /usr/bin/xattr -w com.apple.metadata:kMDItemAlternateNames \(\"kubectl.docker\"\) /Applications/Docker.app/Contents/Resources/bin/kubectl
==> Installing artifact of class Cask::Artifact::Binary
==> Linking Binary 'docker-compose.bash-completion' to '/opt/homebrew/etc/bash_completion.d/docker-compose'
/usr/bin/env /bin/ln -h -f -s -- /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker-compose.bash-completion /opt/homebrew/etc/bash_completion.d/docker-compose
==> Adding com.apple.metadata:kMDItemAlternateNames metadata
/usr/bin/env /usr/bin/xattr -p com.apple.metadata:kMDItemAlternateNames /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker-compose.bash-completion
==> Existing metadata is:
/usr/bin/env /bin/chmod -- u+rw /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker-compose.bash-completion /Applications/Docker.app/Contents/Resources/etc/docker-compose.bash-completion
/usr/bin/env /usr/bin/xattr -w com.apple.metadata:kMDItemAlternateNames \(\"docker-compose\"\) /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/etc/docker-compose.bash-completion
==> Installing artifact of class Cask::Artifact::PostflightBlock
==> Installing artifact of class Cask::Artifact::PostflightBlock
/usr/bin/sudo -E -- /bin/ln -sfn /opt/homebrew/Caskroom/docker/4.37.2,179585/Docker.app/Contents/Resources/bin/kubectl /usr/local/bin/kubectl
🍺 docker was successfully installed!
/usr/bin/env PATH=/opt/homebrew/opt/gh/bin:/opt/homebrew/Library/Homebrew/shims/shared:/usr/bin:/bin:/usr/sbin:/sbin HOME=/Users/muescha gh auth token --hostname github.com
==> Downloading https://formulae.brew.sh/api/formula.jws.json
/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/4.4.15-81-g2432d01\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 14.5\)\ curl/8.6.0 --header Accept-Language:\ en --fail --progress-bar --remote-time --output /Users/muescha/Library/Caches/Homebrew/api/formula.jws.json --location --time-cond /Users/muescha/Library/Caches/Homebrew/api/formula.jws.json --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.15-81-g2432d01\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 14.5\)\ curl/8.6.0 --header Accept-Language:\ en --fail --progress-bar --compressed --speed-limit 100 --speed-time 5 https://formulae.brew.sh/api/formula.jws.json
########################################################################################################################### 100.0%
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading gh |
Do you have any software running that would scan files, like antivirus software? |
No 🤷♂️ |
Just to rule out the obvious, you have no issues mounting and unmounting the dmg file manually? |
Verification
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
since there is a bug for docker I tried to do a:
brew uninstall --force --formula docker
brew uninstall --force --cask docker
and now I am at the step:
brew install --cask docker
some other notes:
diskutil list
hangs and don't complete and show nothingdiskutil info -all
show me infobrew update ==> Updating Homebrew... Already up-to-date.
Command that failed
brew install --debug --cask docker
Output of command with
--verbose --debug
Output of
brew doctor
andbrew config
Output of
brew tap
The text was updated successfully, but these errors were encountered: