{"action":"created","issue":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/28292","repository_url":"https://api.github.com/repos/caskroom/homebrew-cask","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/28292/labels{/name}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/28292/comments","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/28292/events","html_url":"https://github.com/caskroom/homebrew-cask/issues/28292","id":197655332,"number":28292,"title":"Bug report: Xquartz fails to install","user":{"login":"mnetzwur","id":15339801,"avatar_url":"https://avatars.githubusercontent.com/u/15339801?v=3","gravatar_id":"","url":"https://api.github.com/users/mnetzwur","html_url":"https://github.com/mnetzwur","followers_url":"https://api.github.com/users/mnetzwur/followers","following_url":"https://api.github.com/users/mnetzwur/following{/other_user}","gists_url":"https://api.github.com/users/mnetzwur/gists{/gist_id}","starred_url":"https://api.github.com/users/mnetzwur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnetzwur/subscriptions","organizations_url":"https://api.github.com/users/mnetzwur/orgs","repos_url":"https://api.github.com/users/mnetzwur/repos","events_url":"https://api.github.com/users/mnetzwur/events{/privacy}","received_events_url":"https://api.github.com/users/mnetzwur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-27T06:41:48Z","updated_at":"2016-12-27T09:26:57Z","closed_at":null,"body":"#### Xquartz cask fails to install due to launchctl problem\r\n\r\nThe cask reports successful installation but when the launchagent fails to load proceeds to uninstall with an error.\r\n\r\n<details><summary>Output of `brew cask <command> --verbose`</summary>\r\n\r\n```\r\n==> Downloading https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.11.dmg\r\nAlready downloaded: /Users/admin/Library/Caches/Homebrew/Cask/xquartz--2.7.11.dmg\r\n==> Verifying checksum for Cask xquartz\r\n==> Running installer for xquartz; your password may be necessary.\r\n==> Package installers may write to any location; options such as --appdir are ignored.\r\nPassword:\r\n==> installer: Package name is XQuartz 2.7.11\r\n==> installer: Installing at base path /\r\n==> installer:PHASE:Preparing for installation…\r\n==> installer:PHASE:Preparing the disk…\r\n==> installer:PHASE:Preparing XQuartz 2.7.11…\r\n==> installer:PHASE:Waiting for other installations to complete…\r\n==> installer:PHASE:Configuring the installation…\r\n==> installer:STATUS:\r\n==> installer:%11.727339\r\n==> installer:PHASE:Writing files…\r\n==> installer:%22.248315\r\n==> installer:PHASE:Writing files…\r\n==> installer:%28.560901\r\n==> installer:PHASE:Writing files…\r\n==> installer:%30.665097\r\n==> installer:PHASE:Writing files…\r\n==> installer:%32.769292\r\n==> installer:PHASE:Writing files…\r\n==> installer:%36.977683\r\n==> installer:PHASE:Writing files…\r\n==> installer:%39.081878\r\n==> installer:PHASE:Writing files…\r\n==> installer:PHASE:Writing files…\r\n==> installer:PHASE:Writing files…\r\n==> installer:%84.051739\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:%85.101440\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:%85.374175\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:PHASE:Running package scripts…\r\n==> installer:%85.566705\r\n==> installer:PHASE:Writing package receipts…\r\n==> installer:PHASE:Validating packages…\r\n==> installer:%97.750000\r\n==> installer:STATUS:Running installer actions…\r\n==> installer:STATUS:\r\n==> installer:PHASE:Finishing the Installation…\r\n==> installer:STATUS:\r\n==> installer:%100.000000\r\n==> installer:PHASE:The software was successfully installed.\r\n==> installer: The install was successful.\r\n==> Could not find domain for \r\n==> Running uninstall process for xquartz; your password may be necessary\r\n==> Removing launchctl service org.macosforge.xquartz.startx\r\n==> Removing launchctl service org.macosforge.xquartz.privileged_startx\r\n==> Quitting application ID org.macosforge.xquartz.X11\r\n==> Removing files from pkgutil Bill-of-Materials\r\n==> Removing files: [\"/opt/X11/\", \"/private/etc/manpaths.d/40-XQuartz\", \"/private/etc/p\r\naths.d/40-XQuartz\", \"/Applications/XQuartz.app\"]                                      \r\nError: Command failed to execute!\r\n\r\n==> Failed command:\r\n/bin/launchctl load /Library/LaunchAgents/org.macosforge.xquartz.startx.plist\r\n\r\n==> Standard Output of failed command:\r\n\r\n\r\n==> Standard Error of failed command:\r\nCould not find domain for \r\n\r\n\r\n==> Exit status of failed command:\r\n#<Process::Status: pid 35385 exit 112>\r\nError: nothing to install\r\nError: Kernel.exit\r\n\r\n```\r\n</details>\r\n\r\n<details><summary>Output of `brew doctor`</summary>\r\n\r\n```\r\nPlease note that these warnings are just used to help the Homebrew maintainers\r\nwith debugging if you file an issue. If everything you use Homebrew for is\r\nworking fine: please don't worry and just ignore them. Thanks!\r\n\r\nWarning: Found Ruby file outside beeftornado/rmtree tap formula directory\r\n(/usr/local/Homebrew/Library/Taps/beeftornado/homebrew-rmtree/Formula):\r\n  /usr/local/Homebrew/Library/Taps/beeftornado/homebrew-rmtree/brew-rmtree.rb\r\n\r\n```\r\n</details>\r\n\r\n<details><summary>Output of `brew cask doctor`</summary>\r\n\r\n```\r\n==> macOS Release:\r\n10.12.2\r\n==> Hardware Architecture:\r\nintel-64\r\n==> Ruby Version:\r\n2.0.0-p648\r\n==> Ruby Path:\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby\r\n==> Homebrew Version:\r\nHomebrew 1.1.2-2307-gaaf70eb\r\nHomebrew/homebrew-core (git revision e151b; last commit 2016-12-26)\r\n==> Homebrew Executable Path:\r\n/usr/local/bin/brew\r\n==> Homebrew Cellar Path:\r\n/usr/local/Cellar\r\n==> Homebrew Repository Path:\r\n/usr/local/Homebrew\r\n==> Homebrew Origin:\r\nhttps://github.com/Homebrew/brew\r\n==> Homebrew-Cask Version:\r\nHomebrew-Cask 1.1.2-2307-gaaf70eb\r\ncaskroom/homebrew-cask (git revision 686d; last commit 2016-12-27)\r\n==> Homebrew-Cask Install Location:\r\n<NONE>\r\n==> Homebrew-Cask Staging Location:\r\n/usr/local/Caskroom\r\n==> Homebrew-Cask Cached Downloads:\r\n/Users/admin/Library/Caches/Homebrew/Cask\r\n1 files, 75.9M (warning: run \"brew cask cleanup\")\r\n==> Homebrew-Cask Default Tap Path:\r\n/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask\r\n==> Homebrew-Cask Alternate Cask Taps:\r\n==> Homebrew-Cask Default Tap Cask Count:\r\n3493\r\n==> Contents of $LOAD_PATH:\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib\r\n/usr/local/Homebrew/Library/Homebrew\r\n/Library/Ruby/Site/2.0.0\r\n/Library/Ruby/Site/2.0.0/x86_64-darwin16\r\n/Library/Ruby/Site/2.0.0/universal-darwin16\r\n/Library/Ruby/Site\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x\r\n86_64-darwin16                                                                        \r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/u\r\nniversal-darwin16                                                                     \r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin\r\n16                                                                                    \r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-dar\r\nwin16                                                                                 \r\n==> Contents of $RUBYLIB Environment Variable:\r\n<NONE>\r\n==> Contents of $RUBYOPT Environment Variable:\r\n<NONE>\r\n==> Contents of $RUBYPATH Environment Variable:\r\n<NONE>\r\n==> Contents of $RBENV_VERSION Environment Variable:\r\n<NONE>\r\n==> Contents of $CHRUBY_VERSION Environment Variable:\r\n<NONE>\r\n==> Contents of $GEM_HOME Environment Variable:\r\n<NONE>\r\n==> Contents of $GEM_PATH Environment Variable:\r\n<NONE>\r\n==> Contents of $BUNDLE_PATH Environment Variable:\r\n<NONE>\r\n==> Contents of $PATH Environment Variable:\r\nPATH=\"/usr/local/opt/coreutils/libexec/gnubin:/usr/local/sbin:/usr/local/sbin:/usr/loca\r\nl/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/Users/david/Projects/code/h\r\nelpers/PATH:/usr/local/Homebrew/Library/Taps/homebrew/homebrew-emacs/cmd:/usr/local/Hom\r\nebrew/Library/Taps/homebrew/homebrew-services/cmd:/usr/local/Homebrew/Library/Homebrew/\r\ncask/cmd:/usr/local/Homebrew/Library/Homebrew/shims/scm\"                              \r\n==> Contents of $SHELL Environment Variable:\r\nSHELL=\"/bin/bash\"\r\n==> Contents of Locale Environment Variables:\r\nLC_ALL=\"en_US.UTF-8\"\r\n```\r\n</details>\r\n"},"comment":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/comments/269300092","html_url":"https://github.com/caskroom/homebrew-cask/issues/28292#issuecomment-269300092","issue_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/28292","id":269300092,"user":{"login":"miccal","id":6127163,"avatar_url":"https://avatars.githubusercontent.com/u/6127163?v=3","gravatar_id":"","url":"https://api.github.com/users/miccal","html_url":"https://github.com/miccal","followers_url":"https://api.github.com/users/miccal/followers","following_url":"https://api.github.com/users/miccal/following{/other_user}","gists_url":"https://api.github.com/users/miccal/gists{/gist_id}","starred_url":"https://api.github.com/users/miccal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miccal/subscriptions","organizations_url":"https://api.github.com/users/miccal/orgs","repos_url":"https://api.github.com/users/miccal/repos","events_url":"https://api.github.com/users/miccal/events{/privacy}","received_events_url":"https://api.github.com/users/miccal/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T09:26:56Z","updated_at":"2016-12-27T09:26:56Z","body":"Why are you installing Xquartz:\r\n\r\n> ==> installer: The install was successful.\r\n\r\nand then uninstalling it:\r\n\r\n> ==> Running uninstall process for xquartz; your password may be necessary\r\n\r\nWhat command did you run exactly to output your `brew cask --verbose`?"}}
{"actor":{"display_login":"miccal"}}