Installing Acrobat Reader fails. The issue is in the source installer, not homebrew cask (same issue occurs when running the installer manually).
The error text from installer contains the most helpful error message, but it's bundled in between a bunch of irrelevant red text and a stack trace with a suggestion to file a bug report:
I suggest that if we download an installer successfully and it outputs an error, we can suppress the stack trace / prompt to file a bug and more prominently feature the installer error text.
This would match the error experience of running the GUI installer:
Command that failed
brew cask install adobe-acrobat-reader
Output of command with --force --verbose --debug
âžś ~ brew cask install adobe-acrobat-reader --force --verbose --debug
==> Cask::Installer#install
==> Printing caveats
==> Cask::Installer#fetch
==> Satisfying dependencies
==> Downloading
==> Downloading http://ardownload.adobe.com/pub/adobe/reader/mac/AcrobatDC/1901220034/AcroRdrDC_1901220034_MUI.dmg
/usr/bin/curl -q --show-error --user-agent Homebrew/2.1.7-6-gde5cd92\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.15\)\ curl/7.64.1 --location --silent --head --request GET http://ardownload.adobe.com/pub/adobe/reader/mac/AcrobatDC/1901220034/AcroRdrDC_1901220034_MUI.dmg
Already downloaded: /Users/aaron/Library/Caches/Homebrew/downloads/d7190f7f06da1c8a43c72cafa461e5860f71f91ca659e92781a91a856145d543--AcroRdrDC_1901220034_MUI.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/aaron/Library/Caches/Homebrew/downloads/d7190f7f06da1c8a43c72cafa461e5860f71f91ca659e92781a91a856145d543--AcroRdrDC_1901220034_MUI.dmg
/usr/bin/xattr -p com.apple.quarantine /Users/aaron/Library/Caches/Homebrew/downloads/d7190f7f06da1c8a43c72cafa461e5860f71f91ca659e92781a91a856145d543--AcroRdrDC_1901220034_MUI.dmg
==> /Users/aaron/Library/Caches/Homebrew/downloads/d7190f7f06da1c8a43c72cafa461e5860f71f91ca659e92781a91a856145d543--AcroRdrDC_1901220034_MUI.dmg is quarantined
==> Downloaded to -> /Users/aaron/Library/Caches/Homebrew/downloads/d7190f7f06da1c8a43c72cafa461e5860f71f91ca659e92781a91a856145d543--AcroRdrDC_1901220034_MUI.dmg
==> Verifying SHA-256 checksum for Cask 'adobe-acrobat-reader'.
==> Installing Cask adobe-acrobat-reader
==> Cask::Installer#stage
hdiutil imageinfo /Users/aaron/Library/Caches/Homebrew/downloads/d7190f7f06da1c8a43c72cafa461e5860f71f91ca659e92781a91a856145d543--AcroRdrDC_1901220034_MUI.dmg
==> Extracting primary container
==> Using container class UnpackStrategy::Dmg for /Users/aaron/Library/Caches/Homebrew/downloads/d7190f7f06da1c8a43c72cafa461e5860f71f91ca659e92781a91a856145d543--AcroRdrDC_1901220034_MUI.dmg
hdiutil attach -plist -nobrowse -readonly -noidme -mountrandom /var/folders/2z/trk5y_554b92vxkr25j6415m0000gp/T/d20190709-30686-efibqu /Users/aaron/Library/Caches/Homebrew/downloads/d7190f7f06da1c8a43c72cafa461e5860f71f91ca659e92781a91a856145d543--AcroRdrDC_1901220034_MUI.dmg
find . -print0
mkbom -s -i /var/folders/2z/trk5y_554b92vxkr25j6415m0000gp/T/20190709-30686-1uy5cit.list -- /var/folders/2z/trk5y_554b92vxkr25j6415m0000gp/T/20190709-30686-e8knr5.bom
ditto --bom /var/folders/2z/trk5y_554b92vxkr25j6415m0000gp/T/20190709-30686-e8knr5.bom -- /private/var/folders/2z/trk5y_554b92vxkr25j6415m0000gp/T/d20190709-30686-efibqu/dmg.iGdi3L /var/folders/2z/trk5y_554b92vxkr25j6415m0000gp/T/d20190709-30686-zvxt2s
diskutil eject /private/var/folders/2z/trk5y_554b92vxkr25j6415m0000gp/T/d20190709-30686-efibqu/dmg.iGdi3L
chmod +rw /var/folders/2z/trk5y_554b92vxkr25j6415m0000gp/T/d20190709-30686-zvxt2s/AcroRdrDC_1901220034_MUI.pkg
cp -p /var/folders/2z/trk5y_554b92vxkr25j6415m0000gp/T/d20190709-30686-zvxt2s/AcroRdrDC_1901220034_MUI.pkg /usr/local/Caskroom/adobe-acrobat-reader/19.012.20034/AcroRdrDC_1901220034_MUI.pkg
==> Verifying Gatekeeper status of /Users/aaron/Library/Caches/Homebrew/downloads/d7190f7f06da1c8a43c72cafa461e5860f71f91ca659e92781a91a856145d543--AcroRdrDC_1901220034_MUI.dmg
/usr/bin/xattr -p com.apple.quarantine /Users/aaron/Library/Caches/Homebrew/downloads/d7190f7f06da1c8a43c72cafa461e5860f71f91ca659e92781a91a856145d543--AcroRdrDC_1901220034_MUI.dmg
==> /Users/aaron/Library/Caches/Homebrew/downloads/d7190f7f06da1c8a43c72cafa461e5860f71f91ca659e92781a91a856145d543--AcroRdrDC_1901220034_MUI.dmg is quarantined
==> Propagating quarantine from /Users/aaron/Library/Caches/Homebrew/downloads/d7190f7f06da1c8a43c72cafa461e5860f71f91ca659e92781a91a856145d543--AcroRdrDC_1901220034_MUI.dmg to /usr/local/Caskroom/adobe-acrobat-reader/19.012.20034
/usr/bin/xattr -p com.apple.quarantine /Users/aaron/Library/Caches/Homebrew/downloads/d7190f7f06da1c8a43c72cafa461e5860f71f91ca659e92781a91a856145d543--AcroRdrDC_1901220034_MUI.dmg
/usr/bin/xargs -0 -- /bin/chmod -h u\+w
/usr/bin/xargs -0 -- /usr/bin/xattr -w -s com.apple.quarantine 0181\;5d2547d4\;Homebrew\\x20Cask\;E0446074-89C2-445D-B94A-772C6B428021
==> Creating metadata directory /usr/local/Caskroom/adobe-acrobat-reader/.metadata/19.012.20034/20190710021125.143.
==> Creating metadata subdirectory /usr/local/Caskroom/adobe-acrobat-reader/.metadata/19.012.20034/20190710021125.143/Casks.
==> Installing artifacts
==> 3 artifact/s defined
#<SortedSet:0x00007fa86f58fa60>
==> Installing artifact of class Cask::Artifact::Pkg
==> Running installer for adobe-acrobat-reader; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
/usr/bin/sudo -E -- env LOGNAME=aaron USER=aaron USERNAME=aaron /usr/sbin/installer -pkg /usr/local/Caskroom/adobe-acrobat-reader/19.012.20034/AcroRdrDC_1901220034_MUI.pkg -target / -verboseR
objc[31209]: Class SOExtensionServiceConnection is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077630) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2af8). One of the two will be used. Which one is undefined.
objc[31209]: Class SORequestQueueItem is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077680) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2b48). One of the two will be used. Which one is undefined.
objc[31209]: Class SORemoteExtensionContext is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f0776f8) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2bc0). One of the two will be used. Which one is undefined.
objc[31209]: Class SOExtension is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077720) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2be8). One of the two will be used. Which one is undefined.
objc[31209]: Class SOAuthorizationParameters is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077770) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2c38). One of the two will be used. Which one is undefined.
objc[31209]: Class SOExtensionManager is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f0777c0) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2c88). One of the two will be used. Which one is undefined.
objc[31209]: Class SOAuthorizationRequestParameters is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077810) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2cd8). One of the two will be used. Which one is undefined.
objc[31209]: Class SORequestQueue is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077860) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2d28). One of the two will be used. Which one is undefined.
objc[31209]: Class SOAuthorizationCredential is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f0778b0) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2d78). One of the two will be used. Which one is undefined.
objc[31209]: Class SODebugHints is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077900) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2dc8). One of the two will be used. Which one is undefined.
objc[31209]: Class SOPreferences is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077978) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2e40). One of the two will be used. Which one is undefined.
objc[31209]: Class SOConfigurationManager is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f0779a0) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2e68). One of the two will be used. Which one is undefined.
objc[31209]: Class SOAuthorizationRequest is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f0779f0) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2eb8). One of the two will be used. Which one is undefined.
objc[31209]: Class SOAuthorization is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077a40) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2f08). One of the two will be used. Which one is undefined.
objc[31209]: Class SOExtensionViewService is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077ab8) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2f80). One of the two will be used. Which one is undefined.
objc[31209]: Class SORemoteExtensionViewController is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077b08) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2fd0). One of the two will be used. Which one is undefined.
objc[31209]: Class SOConfigurationHost is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077b30) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2ff8). One of the two will be used. Which one is undefined.
objc[31209]: Class SOHostExtensionContext is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077ba8) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d3070). One of the two will be used. Which one is undefined.
objc[31209]: Class SOExtensionFinder is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077bd0) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d3098). One of the two will be used. Which one is undefined.
installer: Package name is Adobe Acrobat Reader DC (Continuous)
installer: Installing at base path /
installer:PHASE:Preparing for installation…
installer:PHASE:Preparing the disk…
installer:PHASE:Preparing Adobe Acrobat Reader DC (Continuous)…
installer:PHASE:Waiting for other installations to complete…
installer:PHASE:Configuring the installation…
installer:STATUS:
installer:%2.200000
installer:PHASE:Validating packages…
installer:%3.175000
installer:PHASE:Validating packages…
installer:%10.836124
installer:PHASE:Writing files…
installer:%30.093439
installer:PHASE:Writing files…
installer:%41.326872
installer:PHASE:Writing files…
installer:%51.287962
installer:PHASE:Optimizing system for installed software…
installer:%61.252384
installer:PHASE:Running package scripts…
installer:%62.051000
installer:PHASE:Running package scripts…
installer:%62.851712
installer:PHASE:Running package scripts…
installer:%63.658011
installer:PHASE:Running package scripts…
installer:%64.458048
installer:PHASE:Running package scripts…
installer:%65.257471
installer:PHASE:Running package scripts…
installer:%66.062905
installer:PHASE:Running package scripts…
installer:%69.550112
installer:PHASE:Moving items into place…
installer:PHASE:Validating packages…
installer:%97.750000
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “AcroRdrDC_1901220034_MUI.pkg”.)
==> Purging files for version 19.012.20034 of Cask adobe-acrobat-reader
Error: Failure while executing; `/usr/bin/sudo -E -- env LOGNAME=aaron USER=aaron USERNAME=aaron /usr/sbin/installer -pkg /usr/local/Caskroom/adobe-acrobat-reader/19.012.20034/AcroRdrDC_1901220034_MUI.pkg -target / -verboseR` exited with 1. Here's the output:
objc[31209]: Class SOExtensionServiceConnection is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077630) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2af8). One of the two will be used. Which one is undefined.
objc[31209]: Class SORequestQueueItem is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077680) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2b48). One of the two will be used. Which one is undefined.
objc[31209]: Class SORemoteExtensionContext is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f0776f8) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2bc0). One of the two will be used. Which one is undefined.
objc[31209]: Class SOExtension is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077720) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2be8). One of the two will be used. Which one is undefined.
objc[31209]: Class SOAuthorizationParameters is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077770) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2c38). One of the two will be used. Which one is undefined.
objc[31209]: Class SOExtensionManager is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f0777c0) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2c88). One of the two will be used. Which one is undefined.
objc[31209]: Class SOAuthorizationRequestParameters is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077810) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2cd8). One of the two will be used. Which one is undefined.
objc[31209]: Class SORequestQueue is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077860) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2d28). One of the two will be used. Which one is undefined.
objc[31209]: Class SOAuthorizationCredential is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f0778b0) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2d78). One of the two will be used. Which one is undefined.
objc[31209]: Class SODebugHints is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077900) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2dc8). One of the two will be used. Which one is undefined.
objc[31209]: Class SOPreferences is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077978) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2e40). One of the two will be used. Which one is undefined.
objc[31209]: Class SOConfigurationManager is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f0779a0) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2e68). One of the two will be used. Which one is undefined.
objc[31209]: Class SOAuthorizationRequest is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f0779f0) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2eb8). One of the two will be used. Which one is undefined.
objc[31209]: Class SOAuthorization is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077a40) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2f08). One of the two will be used. Which one is undefined.
objc[31209]: Class SOExtensionViewService is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077ab8) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2f80). One of the two will be used. Which one is undefined.
objc[31209]: Class SORemoteExtensionViewController is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077b08) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2fd0). One of the two will be used. Which one is undefined.
objc[31209]: Class SOConfigurationHost is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077b30) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d2ff8). One of the two will be used. Which one is undefined.
objc[31209]: Class SOHostExtensionContext is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077ba8) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d3070). One of the two will be used. Which one is undefined.
objc[31209]: Class SOExtensionFinder is implemented in both /System/Library/PrivateFrameworks/AppSSO.framework/Versions/A/AppSSO (0x7fff8f077bd0) and /System/Library/Frameworks/AppSSO.framework/Versions/A/AppSSO (0x10e9d3098). One of the two will be used. Which one is undefined.
installer: Package name is Adobe Acrobat Reader DC (Continuous)
installer: Installing at base path /
installer:PHASE:Preparing for installation…
installer:PHASE:Preparing the disk…
installer:PHASE:Preparing Adobe Acrobat Reader DC (Continuous)…
installer:PHASE:Waiting for other installations to complete…
installer:PHASE:Configuring the installation…
installer:STATUS:
installer:%2.200000
installer:PHASE:Validating packages…
installer:%3.175000
installer:PHASE:Validating packages…
installer:%10.836124
installer:PHASE:Writing files…
installer:%30.093439
installer:PHASE:Writing files…
installer:%41.326872
installer:PHASE:Writing files…
installer:%51.287962
installer:PHASE:Optimizing system for installed software…
installer:%61.252384
installer:PHASE:Running package scripts…
installer:%62.051000
installer:PHASE:Running package scripts…
installer:%62.851712
installer:PHASE:Running package scripts…
installer:%63.658011
installer:PHASE:Running package scripts…
installer:%64.458048
installer:PHASE:Running package scripts…
installer:%65.257471
installer:PHASE:Running package scripts…
installer:%66.062905
installer:PHASE:Running package scripts…
installer:%69.550112
installer:PHASE:Moving items into place…
installer:PHASE:Validating packages…
installer:%97.750000
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “AcroRdrDC_1901220034_MUI.pkg”.)
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/system_command.rb:109:in `assert_success'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:52:in `run!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:29:in `run'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:33:in `run!'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:59:in `block in run_installer'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:65:in `with_choices_file'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:52:in `run_installer'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:34:in `install_phase'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:214:in `block in install_artifacts'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/set.rb:674:in `each'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/set.rb:674:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:205:in `install_artifacts'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:103:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:23:in `block in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:36:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:93:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:159:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:124:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `<main>'
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:168:in `exit'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:168:in `rescue in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:147:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:124:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `<main>'
We never know which information will be useful. Changing that on the basis of the install stanza is more code (thus more complexity) for little benefit.
General troubleshooting steps
--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
Installing Acrobat Reader fails. The issue is in the source installer, not homebrew cask (same issue occurs when running the installer manually).
The error text from
installer
contains the most helpful error message, but it's bundled in between a bunch of irrelevant red text and a stack trace with a suggestion to file a bug report:I suggest that if we download an installer successfully and it outputs an error, we can suppress the stack trace / prompt to file a bug and more prominently feature the installer error text.
This would match the error experience of running the GUI installer:
Command that failed
Output of command with
--force --verbose --debug
Output of
brew cask doctor
Output of
brew tap