Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Install fail on OSX El Captain #45

Open
scheibinger opened this issue Dec 30, 2015 · 4 comments
Open

Install fail on OSX El Captain #45

scheibinger opened this issue Dec 30, 2015 · 4 comments

Comments

@scheibinger
Copy link

Error: Execution of '/usr/sbin/installer -pkg /private/tmp/dmg.rHgg2L/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.14-95030]/ensure: change from absent to present failed: Execution of '/usr/sbin/installer -pkg /private/tmp/dmg.rHgg2L/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.)

It tries to install version 4.3, while there is already version 5.0.12 available on virtualbox website.
I use latest version of this module in my Puppetfile: github "virtualbox", "1.0.13"

@bgerstle
Copy link

bgerstle commented Mar 3, 2016

I was able to install on El Capitan by specifying the latest version in my manifest:

  class { 'virtualbox':
    version     => '5.0.14',
    patch_level => '105127'
  }

@henscu
Copy link

henscu commented Jul 25, 2016

@bgerstle , I was using your fix above for the last couple of months. However, I updated my Boxen from upstream just now, and I got the error:

Error: Invalid parameter version on Class[Virtualbox] at /opt/boxen/repo/modules/people/manifests/henscu.pp:38 on node henrys-mbp
Wrapped exception:
Invalid parameter version
Error: Invalid parameter version on Class[Virtualbox] at /opt/boxen/repo/modules/people/manifests/henscu.pp:38 on node henrys-mbp

So, I removed the class structure completely from my personal manifest, and just went with the following line in my Puppetfile, as suggested in the basic puppet-virtualbox:

github "virtualbox", "1.0.13"

This installs VirtualBox 5.0.20 r106931, which is fine for my purposes (developing WordPress under Bedrock at roots.io).

The latest version of VirtualBox is 5.0.26, but this isn't available at GitHub yet it seems...

@bgerstle
Copy link

@henscu that's bizarre, can't tell why that would cause an invalid parameter error. Also, it appears the latest version of puppet-virtualbox defaults to 4.3.14p95030. Maybe it's defined somewhere else, like in hiera?

@bgerstle
Copy link

@henscu in any case, thanks for the heads up. i'll try to post back here if/when I run into this myself

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants