force keeping old conffiles when running apt.upgrade (#77868)

This commit is contained in:
Frédéric Péters 2023-05-23 19:33:33 +02:00
parent 47ec9ee61b
commit b3a771f510
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ def send_status_message(tmux_session_name, msg):
def get_commands():
commands = {
'apt.update': 'sudo apt update',
'apt.upgrade': 'sudo apt update && sudo apt full-upgrade -y',
'apt.upgrade': 'sudo apt update && sudo apt full-upgrade -y -o Dpkg::Options::="--force-confold"',
# collectstatic is useful after an upgrade of gadjo.
'collectstatic': '''sudo -u authentic-multitenant authentic2-multitenant-manage collectstatic --noinput;
sudo -u bijoe bijoe-manage collectstatic --noinput;