{"action":"closed","issue":{"url":"https://api.github.com/repos/jordansissel/fpm/issues/898","labels_url":"https://api.github.com/repos/jordansissel/fpm/issues/898/labels{/name}","comments_url":"https://api.github.com/repos/jordansissel/fpm/issues/898/comments","events_url":"https://api.github.com/repos/jordansissel/fpm/issues/898/events","html_url":"https://github.com/jordansissel/fpm/issues/898","id":68599184,"number":898,"title":"The OS X installer encountered an error","user":{"login":"thefosk","id":964813,"avatar_url":"https://avatars.githubusercontent.com/u/964813?v=3","gravatar_id":"","url":"https://api.github.com/users/thefosk","html_url":"https://github.com/thefosk","followers_url":"https://api.github.com/users/thefosk/followers","following_url":"https://api.github.com/users/thefosk/following{/other_user}","gists_url":"https://api.github.com/users/thefosk/gists{/gist_id}","starred_url":"https://api.github.com/users/thefosk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thefosk/subscriptions","organizations_url":"https://api.github.com/users/thefosk/orgs","repos_url":"https://api.github.com/users/thefosk/repos","events_url":"https://api.github.com/users/thefosk/events{/privacy}","received_events_url":"https://api.github.com/users/thefosk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-15T07:21:53Z","updated_at":"2015-04-15T22:30:51Z","closed_at":"2015-04-15T22:30:51Z","body":"I have created an OS X package, but when trying to install it I get the following error:\r\n\r\n```\r\nThe install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)\r\n```\r\n\r\nThis is the script: https://gist.github.com/thefosk/d17a3acf0eb22aaf4eca (which works fine for `deb` and `rpm` packages)\r\n\r\nBasically the script detects the operating system and if ran on OS X it will generate a `pkg` with the following software:\r\n\r\n* PCRE\r\n* Lua\r\n* LuaRocks\r\n* OpenResty\r\n* Kong (via LuaRocks)\r\n\r\nThe problem occurs when trying to install the `pkg` on OS X 10.10, specifically at the `Validating packages` phase:\r\n\r\n```shell\r\n$ sudo installer -verbose -pkg kong-0.1.1beta-2.pkg -target /\r\ninstaller: Package name is kong-0.1.1beta-2\r\ninstaller: Installing at base path /\r\ninstaller: Preparing for installation….....\r\ninstaller: Preparing the disk….....\r\ninstaller: Preparing kong-0.1.1beta-2….....\r\ninstaller: Waiting for other installations to complete….....\r\ninstaller: Configuring the installation….....\r\ninstaller:\r\n#\r\ninstaller: Moving items into place….....\r\ninstaller: Validating packages….....\r\n#\r\ninstaller: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)\r\n```\r\n\r\nHere is the output with `-verboseR`:\r\n\r\n```shell\r\n$ sudo installer -verboseR -pkg kong-0.1.1beta-2.pkg -target /\r\nPassword:\r\nSorry, try again.\r\nPassword:\r\ninstaller: Package name is kong-0.1.1beta-2\r\ninstaller: Installing at base path /\r\ninstaller:PHASE:Preparing for installation…\r\ninstaller:PHASE:Preparing the disk…\r\ninstaller:PHASE:Preparing kong-0.1.1beta-2…\r\ninstaller:PHASE:Waiting for other installations to complete…\r\ninstaller:PHASE:Configuring the installation…\r\ninstaller:STATUS:\r\ninstaller:%42.770603\r\ninstaller:PHASE:Moving items into place…\r\ninstaller:PHASE:Validating packages…\r\ninstaller:%97.750000\r\ninstaller: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)\r\n```"}}