{"action":"created","issue":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/24143","repository_url":"https://api.github.com/repos/caskroom/homebrew-cask","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/24143/labels{/name}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/24143/comments","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/24143/events","html_url":"https://github.com/caskroom/homebrew-cask/issues/24143","id":173850633,"number":24143,"title":"wkhtmltopdf fails to install","user":{"login":"JaKXz","id":2642545,"avatar_url":"https://avatars.githubusercontent.com/u/2642545?v=3","gravatar_id":"","url":"https://api.github.com/users/JaKXz","html_url":"https://github.com/JaKXz","followers_url":"https://api.github.com/users/JaKXz/followers","following_url":"https://api.github.com/users/JaKXz/following{/other_user}","gists_url":"https://api.github.com/users/JaKXz/gists{/gist_id}","starred_url":"https://api.github.com/users/JaKXz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JaKXz/subscriptions","organizations_url":"https://api.github.com/users/JaKXz/orgs","repos_url":"https://api.github.com/users/JaKXz/repos","events_url":"https://api.github.com/users/JaKXz/events{/privacy}","received_events_url":"https://api.github.com/users/JaKXz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/caskroom/homebrew-cask/labels/awaiting%20user%20reply","name":"awaiting user reply","color":"ff851b"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-29T19:20:23Z","updated_at":"2016-09-09T19:09:41Z","closed_at":null,"body":"```\r\n$ brew cask install wkhtmltopdf\r\n==> Caveats\r\nCask wkhtmltopdf installs files under \"/usr/local\". The presence of such\r\nfiles can cause warnings when running \"brew doctor\", which is considered\r\nto be a bug in Homebrew-Cask.\r\n\r\n==> Satisfying dependencies\r\ncomplete\r\n==> Downloading http://download.gna.org/wkhtmltopdf/0.12/0.12.3/wkhtmltox-0.12.3_osx-cocoa-x86-64.pkg\r\n######################################################################## 100.0%\r\n==> Verifying checksum for Cask wkhtmltopdf\r\n==> Running installer for wkhtmltopdf; your password may be necessary.\r\n==> Package installers may write to any location; options such as --appdir are ignored.\r\n==> sudo: sorry, you are not allowed to preserve the environment\r\nError: Command failed to execute!\r\n\r\n==> Failed command:\r\n[\"/usr/bin/sudo\", \"-E\", \"--\", \"/usr/sbin/installer\", \"-pkg\", \"#<Pathname:/usr/local/Caskroom/wkhtmltopdf/0.12.3/wkhtmltox-0.12.3_osx-cocoa-x86-64.pkg>\", \"-target\", \"/\"]\r\n\r\n==> Standard Output of failed command:\r\n\r\n\r\n==> Standard Error of failed command:\r\nsudo: sorry, you are not allowed to preserve the environment\r\n\r\n\r\n==> Exit status of failed command:\r\n#<Process::Status: pid 31282 exit 1>\r\n```\r\n\r\n<details>\r\n<summary>`$ brew config`</summary>\r\n```\r\nHOMEBREW_VERSION: 0.9.9\r\nORIGIN: https://github.com/Homebrew/brew\r\nHEAD: 8e29cf1b1d39f5d86aaeb702597aa34d97cd763a\r\nLast commit: 2 days ago\r\nCore tap ORIGIN: https://github.com/Homebrew/homebrew-core\r\nCore tap HEAD: 1727689a384cf97aba11b580e2a6fef6217bcc68\r\nCore tap last commit: 56 minutes ago\r\nHOMEBREW_PREFIX: /usr/local\r\nHOMEBREW_REPOSITORY: /usr/local\r\nHOMEBREW_CELLAR: /usr/local/Cellar\r\nHOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com\r\nCPU: quad-core 64-bit broadwell\r\nHomebrew Ruby: 2.0.0-p648\r\nClang: 7.3 build 703\r\nGit: 2.9.3 => /usr/local/bin/git\r\nPerl: /usr/bin/perl\r\nPython: /usr/bin/python\r\nRuby: /Users/jasonkurian/.rvm/rubies/ruby-2.1.6/bin/ruby\r\nJava: N/A\r\nOS X: 10.11.6-x86_64\r\nXcode: N/A\r\nCLT: 7.3.1.0.1.1461711523\r\nX11: N/A\r\n```\r\n</details>"},"comment":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/comments/246010014","html_url":"https://github.com/caskroom/homebrew-cask/issues/24143#issuecomment-246010014","issue_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/24143","id":246010014,"user":{"login":"JaKXz","id":2642545,"avatar_url":"https://avatars.githubusercontent.com/u/2642545?v=3","gravatar_id":"","url":"https://api.github.com/users/JaKXz","html_url":"https://github.com/JaKXz","followers_url":"https://api.github.com/users/JaKXz/followers","following_url":"https://api.github.com/users/JaKXz/following{/other_user}","gists_url":"https://api.github.com/users/JaKXz/gists{/gist_id}","starred_url":"https://api.github.com/users/JaKXz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JaKXz/subscriptions","organizations_url":"https://api.github.com/users/JaKXz/orgs","repos_url":"https://api.github.com/users/JaKXz/repos","events_url":"https://api.github.com/users/JaKXz/events{/privacy}","received_events_url":"https://api.github.com/users/JaKXz/received_events","type":"User","site_admin":false},"created_at":"2016-09-09T19:09:40Z","updated_at":"2016-09-09T19:09:40Z","body":"@adidalal seeing the same issue with `vagrant`, and I've been able to use `brew cask install` for \r\n<details>\r\n<summary>some other apps.</summary>\r\n```\r\n$ brew cask list --versions\r\nanatine 0.5.1\r\nappcleaner 3.3\r\natom 1.9.9\r\ncaprine 1.5.0\r\nflux 37.7\r\ngithub-desktop 220\r\ngoogle-play-music-desktop-player 3.5.0\r\nshiftit 1.6.3\r\nsourcetree 2.3.1\r\n```\r\n</details>"}}
{"actor":{"display_login":"JaKXz"}}