boxen / puppet-virtualbox

MIT License
9 stars 60 forks source link

Install Failed #31

Closed flatiron32 closed 6 years ago

flatiron32 commented 9 years ago

I get the following error when running the boxen script: Error: Execution of '/usr/sbin/installer -pkg /private/tmp/dmg.y6z9Jx/VirtualBox.pkg -target /' returned 1: installer: Package name is Oracle VM VirtualBox installer: Installing at base path / installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.) Error: /Stage[main]/Virtualbox/Package[VirtualBox-4.3.2-90405]/ensure: change from absent to present failed: Execution of '/usr/sbin/installer -pkg /private/tmp/dmg.y6z9Jx/VirtualBox.pkg -target /' returned 1: installer: Package name is Oracle VM VirtualBox installer: Installing at base path / installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.)

Is there a workaround?

andrewhao commented 9 years ago

Ditto -- same on OSX Yosemite

andrewhao commented 9 years ago

Ah, I had this issue with my Puppetfile not specifying the version:

github "virtualbox"

...which would install 3.4.2.

specifying the tag version fixed the issue.

github "virtualbox", "1.0.13"

which installed 3.4.14

flatiron32 commented 9 years ago

Interesting. That fixed it for me too.

I must misunderstand how puppet works. I am also curious if this is because of the older version of puppet-librarian that boxen uses. librarian-puppet's documentation says that the latest should be pulled when no version is given.