From 87f0eff9558667980aed96d9501d933d9c40221b Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 15 Aug 2022 16:42:56 +0200 Subject: [PATCH] upgrades: ignore boring insserv warnings during apt commands --- src/yunohost/tools.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/yunohost/tools.py b/src/yunohost/tools.py index dbd3af5f5..d39a48f54 100644 --- a/src/yunohost/tools.py +++ b/src/yunohost/tools.py @@ -698,6 +698,8 @@ def _apt_log_line_is_relevant(line): "==> Keeping old config file as default.", "is a disabled or a static unit", " update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults", + "insserv: warning: current stop runlevel", + "insserv: warning: current start runlevel", ] return line.rstrip() and all(i not in line.rstrip() for i in irrelevants)