diff options
| author | Joey Hess <joeyh@joeyh.name> | 2016-02-07 12:35:56 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2016-02-07 12:35:56 -0400 |
| commit | 5901b4ede5abc75aa17762d86aff80eb2de4960b (patch) | |
| tree | 9941246507e31af36d7b1a3e12739b3e1c75803e /src/Propellor | |
| parent | 3c04cd775d8e40950dd0fcb8d9a6044db530fd2c (diff) | |
Delete /etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist when unattended-upgrades is installed, to work around #812380 which results in many warnings from apt, including in cron mails.
Diffstat (limited to 'src/Propellor')
| -rw-r--r-- | src/Propellor/Property/Apt.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Propellor/Property/Apt.hs b/src/Propellor/Property/Apt.hs index d16c4855..f5d08c1d 100644 --- a/src/Propellor/Property/Apt.hs +++ b/src/Propellor/Property/Apt.hs @@ -223,6 +223,8 @@ unattendedUpgrades = enable <!> disable enable = setup True `before` Service.running "cron" `before` configure + -- work around http://bugs.debian.org/812380 + `before` File.notPresent "/etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist" disable = setup False setup enabled = (if enabled then installed else removed) ["unattended-upgrades"] |
