Ubuntu – Command to accept VirtualBox PUEL (for virtualbox-ext-pack installation)

aptdebconfpackage-managementvirtualbox

i'm creating a script for downloading and installing some programs and adjust their settings without the need for an interaction during the whole process.

so far so good, but now i'm stuck at the virtualbox-ext-pack: it stops the whole process and waits until the VirtualBox PUEL is accepted or rejected (similar to ttf-mscorefonts-installer, steam, etc.).
for ttf-mscorefonts-installer there is a solution found in this answer with a one-liner, but since i'm not familiar with debconf (and investigating with gkdebconf also doesn't get me further) i have no clue what command(s) to use for installing virtualbox-ext-pack unattended.

Best Answer

  • thanks to this solution for ttf-mscorefonts-installer and the hints in this question for steam i figured out the correct command for virtualbox-ext-pack:

    echo virtualbox-ext-pack virtualbox-ext-pack/license select true | sudo debconf-set-selections