I'm trying to script automation of a package (steamcmd).
The case figure is the user of the script has been informed pre-emptively of what EULA he/she has agreed to.
good now with that out of the way these are some packages for which this already works:
- ubuntu restricted extras
- corefonts : https://askubuntu.com/a/25614/307184
- and oracle java jdk : https://ubuntuforums.org/showthread.php?t=953779&page=2&s=afccde556ea4e48a02e45fd073789c31
none ever bothered to explain how they figured out the independent syntax for each of these but I'd like to finally get to the bottom of this so that anyone with the use of this ask ubuntu question may be able to automate installation for package N.
from what I gather the syntax is supposed to be something like :
echo PACKAGENAME PACKAGENAMEorUSERSPACE/accepted-PACKAGENAME-EULAPART select true | sudo debconf-set-selections
sudo apt install PACKAGENAME
although I haven't been able to get it to work thus far with many varients of :
echo steamcmd steamcmd/accepted-steamcmd-eula select true | sudo debconf-set-selections