Community Packages

Please read this before reporting a bug:

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!

FS#76767 - [virtualbox] Can't perform unattended install (Missing UnattendedTemplates)

Attached to Project: Community Packages
Opened by Pablo (ErrantOverflow) - Wednesday, 07 December 2022, 13:07 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 07 December 2022, 21:15 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Christian Hesse (eworm)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 3
Private No


When attempting to perform an unattended install, be it via the command line or the GUI I will get an error along the lines of:

VBoxManage: error: Failed to open '/usr/share/virtualbox/UnattendedTemplates/win_nt6_unattended.xml' (VERR_FILE_NOT_FOUND)

After closer examination, it seems none of the Virtualbox packages have these template files included. A workaround for now is to download the files manually (I took it from a .deb package) and place them in the corresponding folder.

Steps to reproduce:
1. Install virtualbox 7.0.4-1
2. Create a virtual machine
3. Run the unattended install command:

$: VBoxManage unattended install "Windows 10 VM" --iso="Win10_22H2_EnglishInternational_x64.iso"
This task depends upon