autodownload check in get_update_automation_level doesn't check hard enough
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
The function get_automation_
143 def get_update_
144 """ Parse the apt cron configuration. Try to fit a predefined use case
145 and return it. Special case: if the user made a custom
146 configurtation, that we cannot represent it will return None """
147 if apt_pkg.
148 # Autodownload
149 if apt_pkg.
150 and os.path.
151 return softwarepropert
152 elif apt_pkg.
153 apt_pkg.
154 return softwarepropert
155 elif apt_pkg.
156 apt_pkg.
157 return softwarepropert
158 else:
159 return None
unattended maps to "APT::Periodic:
However, /etc/apt/
1 // Automatically upgrade packages from these (origin:archive) pairs
2 Unattended-
3 // "${distro_
4 // "${distro_
5 // "${distro_
6 // "${distro_
7 };
The check really should dig deeper in Unattended-Upgrade.
Changed in software-properties (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |