chocolatey-community / chocolatey-test-environment

A testing setup related to how the Chocolatey Package Verifier runs testing. Used for manual testing or prior to submission
Apache License 2.0
118 stars 186 forks source link

Virtualbox-guest-editions-error #43

Open ghost opened 5 years ago

ghost commented 5 years ago

Not sure if this is the right place to report issues while installing packages, but, ...

I ran into error and failure to install VB-GuestEditions.

Choco: Latest VB: 6.0.12 Currently installed guest-editions: 6.0.8

image

basictheprogram commented 5 years ago

Maybe similar error?

VirtualBox 6.0.12 Vagrant 2.2.5 vagrant-vbguest (0.20.0, global)

Adding my details.

==> default: Machine booted and ready!
[default] GuestAdditions versions on your host (6.0.12) and guest (5.1.30) do not match.
Copy iso file /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso into the box $env:TEMP/VBoxGuestAdditions.iso
Mounting Virtualbox Guest Additions ISO to: D
Installing Virtualbox Guest Additions 6.0.12 - guest version is 5.1.30
(10,8):UserId:
At line:72 char:1
+ $folder.RegisterTaskDefinition($task_name, $task, 6, $username, $pass ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], ArgumentException
    + FullyQualifiedErrorId : System.ArgumentException
The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
At line:74 char:1
+ $registered_task = $folder.GetTask("\$task_name")
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], FileNotFoundException
    + FullyQualifiedErrorId : System.IO.FileNotFoundException
You cannot call a method on a null-valued expression.
At line:75 char:1
+ $registered_task.Run($null) | Out-Null
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull