Fix #892898 (UnicodeDecodeError crash with debconf-show output)
According to the bug report, it is possible that debconf-show returns output that contains encoding errors.
To avoid crashing with UnicodeDecodeError in subprocess.getstatusoutput, switch to subprocess.run and backslash-escape the broken characters by specifying an errors
argument when decoding.
Edited by Nis Martensen