From: SONOLET Aymeric Date: Fri, 2 Feb 2024 12:20:26 +0000 (+0100) Subject: fix: remove --no-pager option for Deb9 dpkg-query compat X-Git-Tag: V9_13_0~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ed661efc0feb037927b3f61d1d1c9a6aabfedd02;p=tools%2Fsat.git fix: remove --no-pager option for Deb9 dpkg-query compat --- diff --git a/src/system.py b/src/system.py index b007608..acb6fea 100644 --- a/src/system.py +++ b/src/system.py @@ -402,7 +402,7 @@ def get_pkg_check_cmd(dist_name): # 1) we search for apt (debian based systems) completed=SP.call(cmd_which_dpkg,stdout=devnull, stderr=SP.STDOUT) if completed==0 and linux=="DB": - cmd_is_package_installed = ["dpkg-query", "--no-pager", "-l"] + cmd_is_package_installed = ["dpkg-query", "-l"] else: # 2) if dpkg not found search for apt completed = SP.call(cmd_which_apt, stdout=devnull, stderr=SP.STDOUT)