Installs the unattended_upgrades package and configures according to the parameters passed.