Homebrew / homebrew-cask

🍻 A CLI workflow for the administration of macOS applications distributed as binaries
https://brew.sh
BSD 2-Clause "Simplified" License
20.93k stars 10.72k forks source link

cask steam: steam_osx is damaged and can't be opened. #75183

Closed Tormen closed 4 years ago

Tormen commented 4 years ago

General troubleshooting steps

Description of issue

I did all of the above. Tried to reinstall. Tried to uninstall and install again. Tried to remove the downloaded dmg and install again.

Always the same result when launching steam: “steam_osx” is damaged and can’t be opened. You should move it to the Bin.

Command that failed

brew cask reinstall steam  --force --verbose --debug &> brew_cask_reinstall_steam_--force_--verbose_--debug_3.log
brew cask remove steam  --force --verbose --debug &> brew_cask_remove_steam_--force_--verbose_--debug.log
brew cask install steam  --force --verbose --debug &> brew_cask_install_steam_--force_--verbose_--debug.log
rm /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg
brew cask reinstall steam  --force --verbose --debug &> brew_cask_reinstall_steam_--force_--verbose_--debug_4.log

Output of command with --force --verbose --debug

==> Cask::Installer#reinstall
==> Cask::Installer#install
==> Printing caveats
==> Cask::Installer#fetch
==> Downloading
/usr/bin/curl -q --globoff --show-error --user-agent Homebrew/2.2.2-54-g8294060\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.2\)\ curl/7.64.1 --location --silent --head --request GET https://steamcdn-a.akamaihd.net/client/installer/steam.dmg
==> Downloading https://steamcdn-a.akamaihd.net/client/installer/steam.dmg
/usr/bin/curl -q --globoff --show-error --user-agent Homebrew/2.2.2-54-g8294060\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.2\)\ curl/7.64.1 --location --range 0-1 --dump-header - --write-out \%\{http_code\} --output /dev/null https://steamcdn-a.akamaihd.net/client/installer/steam.dmg
/usr/bin/curl -q --globoff --show-error --user-agent Homebrew/2.2.2-54-g8294060\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15.2\)\ curl/7.64.1 --fail --silent --location --remote-time --continue-at 0 --output /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg.incomplete https://steamcdn-a.akamaihd.net/client/installer/steam.dmg
==> Checking quarantine support
/usr/bin/xattr
/usr/bin/swift /usr/local/Homebrew/Library/Homebrew/cask/utils/quarantine.swift
==> Quarantine is available.
==> Verifying Gatekeeper status of /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg
/usr/bin/xattr -p com.apple.quarantine /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg
==> /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg is not quarantined
==> Quarantining /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg
/usr/bin/swift /usr/local/Homebrew/Library/Homebrew/cask/utils/quarantine.swift /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg https://steamcdn-a.akamaihd.net/client/installer/steam.dmg https://store.steampowered.com/about/
==> Downloaded to -> /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg
==> No SHA-256 checksum defined for Cask 'steam', skipping verification.
hdiutil imageinfo -format /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg
==> Uninstalling Cask steam
==> Uninstalling artifacts
==> 3 artifact/s defined
#<SortedSet: {#<Cask::Artifact::Uninstall:0x00007f96e8918030 @cask=#<Cask::Cask:0x00007f96e890b6a0 @token="steam", @sourcefile_path=#<Pathname:/usr/local/Caskroom/steam/.metadata/latest/20200106225428.586/Casks/steam.rb>, @tap=nil, @block=#<Proc:0x00007f96e890a9d0@/usr/local/Caskroom/steam/.metadata/latest/20200106225428.586/Casks/steam.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/steam>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/steam/.metadata>, @config=#<Cask::Config:0x00007f96e8928fe8 @default={:appdir=>#<Pathname:/Applications>, :prefpanedir=>#<Pathname:/Users/admin/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/admin/Library/QuickLook>, :dictionarydir=>#<Pathname:/Users/admin/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/admin/Library/Fonts>, :colorpickerdir=>#<Pathname:/Users/admin/Library/ColorPickers>, :servicedir=>#<Pathname:/Users/admin/Library/Services>, :input_methoddir=>#<Pathname:/Users/admin/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/admin/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/admin/Library/Screen Savers>}, @env={}, @explicit={}>, @dsl=#<Cask::DSL:0x00007f96e893a4a0 @cask=#<Cask::Cask:0x00007f96e890b6a0 ...>, @token="steam", @version="latest", @sha256=:no_check, @url=#<URL:0x00007f96e89399b0 @uri=#<URI::HTTPS https://steamcdn-a.akamaihd.net/client/installer/steam.dmg>, @user_agent=:default, @specs={}>, @name=["Steam"], @homepage="https://store.steampowered.com/about/", @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/steam/latest>, @language=nil>>, @directives={:quit=>["com.valvesoftware.steam", "com.valvesoftware.steam.helper", "com.valvesoftware.steam.helper.EH"], :launchctl=>["com.valvesoftware.steamclean", "com.valvesoftware.steam.ipctool"], :signal=>[]}>, #<Cask::Artifact::App:0x00007f96e89380d8 @cask=#<Cask::Cask:0x00007f96e890b6a0 @token="steam", @sourcefile_path=#<Pathname:/usr/local/Caskroom/steam/.metadata/latest/20200106225428.586/Casks/steam.rb>, @tap=nil, @block=#<Proc:0x00007f96e890a9d0@/usr/local/Caskroom/steam/.metadata/latest/20200106225428.586/Casks/steam.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/steam>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/steam/.metadata>, @config=#<Cask::Config:0x00007f96e8928fe8 @default={:appdir=>#<Pathname:/Applications>, :prefpanedir=>#<Pathname:/Users/admin/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/admin/Library/QuickLook>, :dictionarydir=>#<Pathname:/Users/admin/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/admin/Library/Fonts>, :colorpickerdir=>#<Pathname:/Users/admin/Library/ColorPickers>, :servicedir=>#<Pathname:/Users/admin/Library/Services>, :input_methoddir=>#<Pathname:/Users/admin/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/admin/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/admin/Library/Screen Savers>}, @env={}, @explicit={}>, @dsl=#<Cask::DSL:0x00007f96e893a4a0 @cask=#<Cask::Cask:0x00007f96e890b6a0 ...>, @token="steam", @version="latest", @sha256=:no_check, @url=#<URL:0x00007f96e89399b0 @uri=#<URI::HTTPS https://steamcdn-a.akamaihd.net/client/installer/steam.dmg>, @user_agent=:default, @specs={}>, @name=["Steam"], @homepage="https://store.steampowered.com/about/", @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/steam/latest>, @language=nil>>, @source_string="Steam.app", @target_string="", @source=#<Pathname:/usr/local/Caskroom/steam/latest/Steam.app>, @target=#<Pathname:/Applications/Steam.app>>, #<Cask::Artifact::Zap:0x00007f96e8941d90 @cask=#<Cask::Cask:0x00007f96e890b6a0 @token="steam", @sourcefile_path=#<Pathname:/usr/local/Caskroom/steam/.metadata/latest/20200106225428.586/Casks/steam.rb>, @tap=nil, @block=#<Proc:0x00007f96e890a9d0@/usr/local/Caskroom/steam/.metadata/latest/20200106225428.586/Casks/steam.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/steam>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/steam/.metadata>, @config=#<Cask::Config:0x00007f96e8928fe8 @default={:appdir=>#<Pathname:/Applications>, :prefpanedir=>#<Pathname:/Users/admin/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/admin/Library/QuickLook>, :dictionarydir=>#<Pathname:/Users/admin/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/admin/Library/Fonts>, :colorpickerdir=>#<Pathname:/Users/admin/Library/ColorPickers>, :servicedir=>#<Pathname:/Users/admin/Library/Services>, :input_methoddir=>#<Pathname:/Users/admin/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/admin/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/admin/Library/Screen Savers>}, @env={}, @explicit={}>, @dsl=#<Cask::DSL:0x00007f96e893a4a0 @cask=#<Cask::Cask:0x00007f96e890b6a0 ...>, @token="steam", @version="latest", @sha256=:no_check, @url=#<URL:0x00007f96e89399b0 @uri=#<URI::HTTPS https://steamcdn-a.akamaihd.net/client/installer/steam.dmg>, @user_agent=:default, @specs={}>, @name=["Steam"], @homepage="https://store.steampowered.com/about/", @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/steam/latest>, @language=nil>>, @directives={:trash=>["~/Library/LaunchAgents/com.valvesoftware.steamclean.plist", "~/Library/Preferences/com.valvesoftware.steam.helper.plist", "~/Library/Application Support/Steam/", "~/Library/Saved Application State/com.valvesoftware.steam.savedState/"], :signal=>[]}>}>
==> Uninstalling artifact of class Cask::Artifact::Uninstall
==> Removing launchctl service com.valvesoftware.steamclean
/bin/launchctl list com.valvesoftware.steamclean
/usr/bin/sudo -E -- /bin/launchctl list com.valvesoftware.steamclean
==> Removing launchctl service com.valvesoftware.steam.ipctool
/bin/launchctl list com.valvesoftware.steam.ipctool
/usr/bin/sudo -E -- /bin/launchctl list com.valvesoftware.steam.ipctool
osascript -l JavaScript -e \'use\ strict\'\;'
''
'ObjC.import\(\'stdlib\'\)'
''
'function\ run\(argv\)\ \{'
'\ \ try\ \{'
'\ \ \ \ var\ app\ =\ Application\(argv\[0\]\)'
'\ \ \ \ if\ \(app.running\(\)\)\ \{'
'\ \ \ \ \ \ \$.exit\(0\)'
'\ \ \ \ \}'
'\ \ \}\ catch\ \(err\)\ \{\ \}'
''
'\ \ \$.exit\(1\)'
'\}'
' com.valvesoftware.steam
osascript -l JavaScript -e \'use\ strict\'\;'
''
'ObjC.import\(\'stdlib\'\)'
''
'function\ run\(argv\)\ \{'
'\ \ try\ \{'
'\ \ \ \ var\ app\ =\ Application\(argv\[0\]\)'
'\ \ \ \ if\ \(app.running\(\)\)\ \{'
'\ \ \ \ \ \ \$.exit\(0\)'
'\ \ \ \ \}'
'\ \ \}\ catch\ \(err\)\ \{\ \}'
''
'\ \ \$.exit\(1\)'
'\}'
' com.valvesoftware.steam.helper
osascript -l JavaScript -e \'use\ strict\'\;'
''
'ObjC.import\(\'stdlib\'\)'
''
'function\ run\(argv\)\ \{'
'\ \ try\ \{'
'\ \ \ \ var\ app\ =\ Application\(argv\[0\]\)'
'\ \ \ \ if\ \(app.running\(\)\)\ \{'
'\ \ \ \ \ \ \$.exit\(0\)'
'\ \ \ \ \}'
'\ \ \}\ catch\ \(err\)\ \{\ \}'
''
'\ \ \$.exit\(1\)'
'\}'
' com.valvesoftware.steam.helper.EH
==> Uninstalling artifact of class Cask::Artifact::App
==> Backing App 'Steam.app' up to '/usr/local/Caskroom/steam/latest/Steam.app'.
/bin/cp -pR /Applications/Steam.app /usr/local/Caskroom/steam/latest/Steam.app
==> Removing App '/Applications/Steam.app'.
==> Post-uninstalling artifact of class Cask::Artifact::Uninstall
==> Purging files for version latest of Cask steam
==> Purging all staged versions of Cask steam
==> Installing Cask steam
==> Cask::Installer#stage
==> Extracting primary container
==> Using container class UnpackStrategy::Dmg for /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg
hdiutil attach -plist -nobrowse -readonly -noidme -mountrandom /var/folders/s0/_pgn65fx1zbfc8_px6dmvdzr0000gn/T/d20200106-10222-1qe0ag3 /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg
find . -print0
mkbom -s -i /var/folders/s0/_pgn65fx1zbfc8_px6dmvdzr0000gn/T/20200106-10222-1be1xdo.list -- /var/folders/s0/_pgn65fx1zbfc8_px6dmvdzr0000gn/T/20200106-10222-1imqj17.bom
ditto --bom /var/folders/s0/_pgn65fx1zbfc8_px6dmvdzr0000gn/T/20200106-10222-1imqj17.bom -- /private/var/folders/s0/_pgn65fx1zbfc8_px6dmvdzr0000gn/T/d20200106-10222-1qe0ag3/dmg.vQmSSu /var/folders/s0/_pgn65fx1zbfc8_px6dmvdzr0000gn/T/d20200106-10222-11silht
diskutil eject /private/var/folders/s0/_pgn65fx1zbfc8_px6dmvdzr0000gn/T/d20200106-10222-1qe0ag3/dmg.vQmSSu
cp -pR /var/folders/s0/_pgn65fx1zbfc8_px6dmvdzr0000gn/T/d20200106-10222-11silht/Steam.app/. /usr/local/Caskroom/steam/latest/Steam.app
cp -pR /var/folders/s0/_pgn65fx1zbfc8_px6dmvdzr0000gn/T/d20200106-10222-11silht/Icon\
 /usr/local/Caskroom/steam/latest/Icon\
cp -pR /var/folders/s0/_pgn65fx1zbfc8_px6dmvdzr0000gn/T/d20200106-10222-11silht/Applications /usr/local/Caskroom/steam/latest/Applications
chmod -Rf +w /var/folders/s0/_pgn65fx1zbfc8_px6dmvdzr0000gn/T/d20200106-10222-11silht
==> Verifying Gatekeeper status of /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg
/usr/bin/xattr -p com.apple.quarantine /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg
==> /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg is quarantined
==> Propagating quarantine from /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg to /usr/local/Caskroom/steam/latest
/usr/bin/xattr -p com.apple.quarantine /Users/admin/Library/Caches/Homebrew/downloads/c87d65821ff5a9e630311ad90e774641fccfeae9d95e11bc2f4564b23f9230d4--steam.dmg
/usr/bin/xargs -0 -- /bin/chmod -h u\+w
/usr/bin/xargs -0 -- /usr/bin/xattr -w com.apple.quarantine 0181\;5e13bbb1\;Homebrew\\x20Cask\;C4B645CB-21F9-48F8-B65D-BEC4841F66F6
==> Creating metadata directory /usr/local/Caskroom/steam/.metadata/latest/20200106225901.702.
==> Creating metadata subdirectory /usr/local/Caskroom/steam/.metadata/latest/20200106225901.702/Casks.
==> Installing artifacts
==> 3 artifact/s defined
#<SortedSet: {#<Cask::Artifact::Uninstall:0x00007f96e8aa4638 @cask=#<Cask::Cask:0x00007f96e8903c98 @token="steam", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/steam.rb>, @tap=#<Tap:0x00007f96e8b84c60 @user="Homebrew", @repo="cask", @name="homebrew/cask", @full_name="Homebrew/homebrew-cask", @path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask>, @alias_table=nil, @alias_reverse_table=nil, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007f96e8903a68@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/steam.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/steam>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/steam/.metadata>, @config=#<Cask::Config:0x00007f96e8a9f5e8 @default={:appdir=>#<Pathname:/Applications>, :prefpanedir=>#<Pathname:/Users/admin/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/admin/Library/QuickLook>, :dictionarydir=>#<Pathname:/Users/admin/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/admin/Library/Fonts>, :colorpickerdir=>#<Pathname:/Users/admin/Library/ColorPickers>, :servicedir=>#<Pathname:/Users/admin/Library/Services>, :input_methoddir=>#<Pathname:/Users/admin/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/admin/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/admin/Library/Screen Savers>}, @env={}, @explicit={}>, @dsl=#<Cask::DSL:0x00007f96e8a9f368 @cask=#<Cask::Cask:0x00007f96e8903c98 ...>, @token="steam", @version="latest", @sha256=:no_check, @url=#<URL:0x00007f96e8a9edf0 @uri=#<URI::HTTPS https://steamcdn-a.akamaihd.net/client/installer/steam.dmg>, @user_agent=:default, @specs={}>, @name=["Steam"], @homepage="https://store.steampowered.com/about/", @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/steam/latest>, @language=nil>>, @directives={:quit=>["com.valvesoftware.steam", "com.valvesoftware.steam.helper", "com.valvesoftware.steam.helper.EH"], :launchctl=>["com.valvesoftware.steamclean", "com.valvesoftware.steam.ipctool"], :signal=>[]}>, #<Cask::Artifact::App:0x00007f96e8a9dea0 @cask=#<Cask::Cask:0x00007f96e8903c98 @token="steam", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/steam.rb>, @tap=#<Tap:0x00007f96e8b84c60 @user="Homebrew", @repo="cask", @name="homebrew/cask", @full_name="Homebrew/homebrew-cask", @path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask>, @alias_table=nil, @alias_reverse_table=nil, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007f96e8903a68@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/steam.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/steam>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/steam/.metadata>, @config=#<Cask::Config:0x00007f96e8a9f5e8 @default={:appdir=>#<Pathname:/Applications>, :prefpanedir=>#<Pathname:/Users/admin/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/admin/Library/QuickLook>, :dictionarydir=>#<Pathname:/Users/admin/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/admin/Library/Fonts>, :colorpickerdir=>#<Pathname:/Users/admin/Library/ColorPickers>, :servicedir=>#<Pathname:/Users/admin/Library/Services>, :input_methoddir=>#<Pathname:/Users/admin/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/admin/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/admin/Library/Screen Savers>}, @env={}, @explicit={}>, @dsl=#<Cask::DSL:0x00007f96e8a9f368 @cask=#<Cask::Cask:0x00007f96e8903c98 ...>, @token="steam", @version="latest", @sha256=:no_check, @url=#<URL:0x00007f96e8a9edf0 @uri=#<URI::HTTPS https://steamcdn-a.akamaihd.net/client/installer/steam.dmg>, @user_agent=:default, @specs={}>, @name=["Steam"], @homepage="https://store.steampowered.com/about/", @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/steam/latest>, @language=nil>>, @source_string="Steam.app", @target_string="", @source=#<Pathname:/usr/local/Caskroom/steam/latest/Steam.app>, @target=#<Pathname:/Applications/Steam.app>>, #<Cask::Artifact::Zap:0x00007f96e8aafe48 @cask=#<Cask::Cask:0x00007f96e8903c98 @token="steam", @sourcefile_path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/steam.rb>, @tap=#<Tap:0x00007f96e8b84c60 @user="Homebrew", @repo="cask", @name="homebrew/cask", @full_name="Homebrew/homebrew-cask", @path=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask>, @alias_table=nil, @alias_reverse_table=nil, @cask_dir=#<Pathname:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks>>, @block=#<Proc:0x00007f96e8903a68@/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask/Casks/steam.rb:1>, @caskroom_path=#<Pathname:/usr/local/Caskroom/steam>, @metadata_master_container_path=#<Pathname:/usr/local/Caskroom/steam/.metadata>, @config=#<Cask::Config:0x00007f96e8a9f5e8 @default={:appdir=>#<Pathname:/Applications>, :prefpanedir=>#<Pathname:/Users/admin/Library/PreferencePanes>, :qlplugindir=>#<Pathname:/Users/admin/Library/QuickLook>, :dictionarydir=>#<Pathname:/Users/admin/Library/Dictionaries>, :fontdir=>#<Pathname:/Users/admin/Library/Fonts>, :colorpickerdir=>#<Pathname:/Users/admin/Library/ColorPickers>, :servicedir=>#<Pathname:/Users/admin/Library/Services>, :input_methoddir=>#<Pathname:/Users/admin/Library/Input Methods>, :internet_plugindir=>#<Pathname:/Users/admin/Library/Internet Plug-Ins>, :audio_unit_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/Components>, :vst_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/VST>, :vst3_plugindir=>#<Pathname:/Users/admin/Library/Audio/Plug-Ins/VST3>, :screen_saverdir=>#<Pathname:/Users/admin/Library/Screen Savers>}, @env={}, @explicit={}>, @dsl=#<Cask::DSL:0x00007f96e8a9f368 @cask=#<Cask::Cask:0x00007f96e8903c98 ...>, @token="steam", @version="latest", @sha256=:no_check, @url=#<URL:0x00007f96e8a9edf0 @uri=#<URI::HTTPS https://steamcdn-a.akamaihd.net/client/installer/steam.dmg>, @user_agent=:default, @specs={}>, @name=["Steam"], @homepage="https://store.steampowered.com/about/", @artifacts=#<SortedSet: {...}>, @staged_path=#<Pathname:/usr/local/Caskroom/steam/latest>, @language=nil>>, @directives={:trash=>["~/Library/LaunchAgents/com.valvesoftware.steamclean.plist", "~/Library/Preferences/com.valvesoftware.steam.helper.plist", "~/Library/Application Support/Steam/", "~/Library/Saved Application State/com.valvesoftware.steam.savedState/"], :signal=>[]}>}>
==> Installing artifact of class Cask::Artifact::App
==> Moving App 'Steam.app' to '/Applications/Steam.app'.
🍺  steam was successfully installed!

Output of brew cask doctor

==> Homebrew Version
2.2.2-54-g8294060
==> macOS
10.15.2
==> SIP
Enabled
==> Java
N/A
==> xattr issues
<NONE>
==> Gatekeeper support
Enabled
==> Homebrew Cask Install Location
<NONE>
==> Homebrew Cask Staging Location
/usr/local/Caskroom
==> Homebrew Cask Taps:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask (3505 casks)
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-drivers (140 casks)
==> Contents of $LOAD_PATH
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-macho-2.2.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-rspec-1.37.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-performance-1.5.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rubocop-0.78.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unicode-display_width-1.6.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ruby-progressbar-1.10.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-wait-0.0.9/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-retry-0.6.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-its-1.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-mocks-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-expectations-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-core-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rspec-support-3.9.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ronn-0.7.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rdiscount-2.2.0.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/rdiscount-2.2.0.1
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/rainbow-3.0.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/plist-3.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parser-2.6.5.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel_tests-2.30.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/parallel-1.19.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mustache-1.1.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mechanize-2.7.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/webrobots-0.1.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ntlm-http-0.1.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/nokogiri-1.10.7/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/nokogiri-1.10.7
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mini_portile2-2.4.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-persistent-3.1.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/net-http-digest_auth-1.4.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mime-types-3.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/mime-types-data-3.2019.1009/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/jaro_winkler-1.5.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/jaro_winkler-1.5.4
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/http-cookie-1.0.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/hpricot-0.8.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/hpricot-0.8.6
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/domain_name-0.5.20190701/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unf-0.1.4/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/unf_ext-0.0.7.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/unf_ext-0.0.7.6
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/diff-lcs-1.3/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/coveralls-0.8.23/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thor-1.0.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/term-ansicolor-1.7.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tins-1.22.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-0.16.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/simplecov-html-0.10.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/docile-1.3.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/json-2.3.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/extensions/universal-darwin-19/2.6.0/json-2.3.0
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/connection_pool-2.2.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/ast-2.4.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/activesupport-6.0.2.1/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/zeitwerk-2.2.2/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/tzinfo-1.2.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/thread_safe-0.3.6/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/minitest-5.13.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/i18n-1.7.0/lib
/usr/local/Homebrew/Library/Homebrew/vendor/bundle/bundler/../ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib
/Library/Ruby/Site/2.6.0
/Library/Ruby/Site/2.6.0/x86_64-darwin19
/Library/Ruby/Site/2.6.0/universal-darwin19
/Library/Ruby/Site
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/x86_64-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby/2.6.0/universal-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/vendor_ruby
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/x86_64-darwin19
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19
/usr/local/Homebrew/Library/Homebrew
==> Environment Variables
LC_ALL="en_US.UTF-8"
PATH="/usr/local/Homebrew/Library/Homebrew/shims/scm:/usr/bin:/bin:/usr/sbin:/sbin"
SHELL="/bin/zsh"

Output of brew tap

homebrew/cask
homebrew/cask-drivers
homebrew/core
vitorgalvao commented 4 years ago
Your system is ready to brew.

That’s the output of brew doctor, not brew cask doctor.

Can’t reproduce your error.

Tormen commented 4 years ago

Hi, thanks for the quick reply.

Sorry for the confusion with cask doctor. I now provided the output of brew cask doctor.

Is there anything else I can try ? or provide ?

vitorgalvao commented 4 years ago

Is there anything else I can try ? or provide ?

Try installing it manually. Since I can’t reproduce, unless we get more reports of this we won’t look further into it.

Tormen commented 4 years ago

I removed steam with brew, downloaded steam installer. Same problem. I'll report that with steam then. Really strange :/

Thanks!!

Tormen commented 4 years ago

FYI: I had to completely remove all steam traces form my Mac (brew cask remove steam, find /|grep -i steam, lots of rm commands). Then I could install steam from website and it finally worked (without using brew at this point).

Tormen commented 4 years ago

@vitorgalvao : I just realised something which might explain why it did not work for me and you could not reproduce:

My main user has NO admin rights ! So when installing the mac I created the user "admin" then I created my user which then has no admin rights.

I am using this 2nd user! In a terminal I do then su - admin and as admin in the terminal (but logged in as my user!) I ran brew cask install steam and then as my user I tried to run steam.

Which lead to above problems!

I am going to post another bug that I ran into with vmware-fusion.

Both (this bug and the vmware-fusion bug) are related in that it's something with the permission-system of Mac and that I could resolve them the same way: Don't use brew to install.

And I did install brew as my user by the way.

It's not much but at least you might be able to replicate the problem now I hope.

vitorgalvao commented 4 years ago

That might be the reason. Unfortunately, there’s nothing to try and replicate because the issue wasn’t caused by us and we wouldn’t be able to fix it anyway.

designorant commented 4 years ago

I had to completely remove all steam traces form my Mac (brew cask remove steam, find /|grep -i steam, lots of rm commands).

FYI: You can use zap for cleaning up. brew cask zap steam does the cleaning for you.