Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#51433 - [virtualbox-guest-iso] VirtualBox cannot find the Guest Additions ISO

Attached to Project: Community Packages
Opened by Rui Lopes (rgl) - Tuesday, 18 October 2016, 19:33 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 18 October 2016, 23:22 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

VirtualBox cannot find the Guest Additions ISO when we use VBoxManage like:

VBoxManage storageattach :id --storagectl "IDE Controller" --device 0 --port 1 --type dvddrive --medium additions

Please note that this is actually run by vagrant, with this Vagrantfile snippet:

config.vm.provider 'virtualbox' do |vb|
...
vb.customize ["storageattach", :id, "--storagectl", "IDE Controller", "--device", 0, "--port", 1, "--type", "dvddrive", "--medium", "additions"]
end

But it should be the same as running VBoxManage on the command line.

I was expecting that after installing the virtualbox-guest-iso package VBoxManage would find the ISO at /usr/lib/virtualbox/additions/VBoxGuestAdditions.iso, but it does not.

Note that the VirtualBox UI also complains and wants to download the ISO by itself. It downloads it to ~/.config/VirtualBox/VBoxGuestAdditions_5.1.6.iso, but even then, VBoxManage fails to work.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 18 October 2016, 23:22 GMT
Reason for closing:  Not a bug
Comment by Rui Lopes (rgl) - Tuesday, 18 October 2016, 19:49 GMT
Oh... I've installed the virtualbox-guest-iso package *after* VBoxSVC was running... after restarting VBoxSVC (well, after closing the UI) everything worked as expected! Sorry for the noise!

As a future aid, after installing the virtualbox-guest-iso package, it helps to run VBoxManage list systemproperties to check the ISO location. Which should look something like:

Default Guest Additions ISO: /usr/lib/virtualbox/additions/VBoxGuestAdditions.iso

Loading...