Skip to content

Instantly share code, notes, and snippets.

@kazoo0217
Last active July 20, 2017 04:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kazoo0217/92650b039fb00159d593a5ecf7419ae7 to your computer and use it in GitHub Desktop.
Save kazoo0217/92650b039fb00159d593a5ecf7419ae7 to your computer and use it in GitHub Desktop.
.pkg のインストールで「"hoge.pkg"を検証中...」から進まない時に CLI でインストールする

VirtualBox と Vagrant のインストール(アップグレード)時に起こった。

.pkg インストーラーを CLI でインストールすることができるらしい。

VirtualBox をインストールした。

$ sudo installer -package /Volumes/VirtualBox/VirtualBox.pkg -target /
Password:
installer: Package name is Oracle VM VirtualBox
installer: Upgrading at base path /
installer: The upgrade was successful.

同様に Vagrant をインストールした。

$ sudo installer -package /Volumes/Vagrant/vagrant.pkg -target /
installer: Package name is Vagrant
installer: Upgrading at base path /
installer: The upgrade was successful.

解決した。

参考:http://qiita.com/verytired/items/20fcb447709945496fcd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment