I understand the the configuration files for unattended-upgrades
in which you determine if you want only security upgrades or other upgrades as well, are located in a bit "dynamic" locations that could change between specific debian distros and their versions.
Is there a general command structure to control these in a uniformal, Debian agnostic, version agnostic way? Some command I could learn?
I'm not sure that the following is what I need:
sudo dpkg-reconfigure --priority=low unattended-upgrades
I might miss the association between priority and allowed origins, as in:
Unattended-Upgrade::Allowed-Origins {
"${distro_id}:${distro_codename}";
"${distro_id}:${distro_codename}-security";
// "${distro_id}:${distro_codename}-updates";
// "${distro_id}:${distro_codename}-proposed";
// "${distro_id}:${distro_codename}-backports";
};
Update for Stephen
Dear Stephen, if I understood your answer correctly what I should do, due to the hierarchy you describe is to edit /etc/apt/apt.conf
and add in the end of that file:
Unattended-Upgrade::Allowed-Origins {
"${distro_id}:${distro_codename}";
"${distro_id}:${distro_codename}-security";
"${distro_id}:${distro_codename}-updates";
"${distro_id}:${distro_codename}-proposed";
"${distro_id}:${distro_codename}-backports";
};
This would be the most minimal way to make the change of allowing upgrading of all types of software, given there isn't a command for that.