Package: systemctl Version: 1.4.4181-1.1 Severity: minor Dear Maintainer,
Any invocation of systemctl results in 8 lines of warnings that have been introduced to Python in some recent version. # systemctl status /usr/bin/systemctl:1541: SyntaxWarning: invalid escape sequence '\w' expanded = re.sub("[$](\w+)", lambda m: get_env1(m), cmd.replace("\\\n","")) /usr/bin/systemctl:1543: SyntaxWarning: invalid escape sequence '\w' new_text = re.sub("[$][{](\w+)[}]", lambda m: get_env2(m), expanded) /usr/bin/systemctl:1628: SyntaxWarning: invalid escape sequence '\w' cmd3 = re.sub("[$](\w+)", lambda m: get_env1(m), cmd2) /usr/bin/systemctl:1631: SyntaxWarning: invalid escape sequence '\w' newcmd += [ re.sub("[$][{](\w+)[}]", lambda m: get_env2(m), part) ] Reporting from sid but I have seen this on bookworm, too. I've raised this as 'minor' but it's pretty annoying and easy to fix. Thanks! -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.12.10-amd64 (SMP w/24 CPU threads; PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled Versions of packages systemctl depends on: ii python3 3.13.1-2 Versions of packages systemctl recommends: ii procps 2:4.0.4-7 Versions of packages systemctl suggests: ii tini 0.19.0-1 -- no debconf information