From d7c70b74d7473b059b8b1c02022c682b3d0790ce Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Wed, 2 Dec 2020 19:45:08 -0500 Subject: [PATCH] upgrades: Hold mumble-server during dist upgrade Signed-off-by: James Valleroy [sunil: Minor refactor to reuse list of packages with prompts] Signed-off-by: Sunil Mohan Adapa Reviewed-by: Sunil Mohan Adapa --- actions/upgrades | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/actions/upgrades b/actions/upgrades index aca2a738d..2a2570ec0 100755 --- a/actions/upgrades +++ b/actions/upgrades @@ -402,8 +402,10 @@ def _perform_dist_upgrade(): # Hold packages known to have conffile prompts. FreedomBox service # will handle their upgrade later. - print('Holding firewalld and radicale packages...') - with apt_hold(['firewalld', 'radicale']): + packages_with_prompts = ['firewalld', 'mumble-server', 'radicale'] + print('Holding packages with conffile prompts: ' + + ', '.join(packages_with_prompts) + '...') + with apt_hold(packages_with_prompts): print('Running apt full-upgrade...') run_apt_command(['full-upgrade'])