also print apt-get --version output with --debug

This commit is contained in:
Johannes 'josch' Schauer 2020-04-09 12:51:24 +02:00
parent 8d04ffee64
commit 15d6f5528b
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -1545,6 +1545,8 @@ sub setup {
$ENV{"APT_CONFIG"} = "$tmpfile";
}
if ($verbosity_level >= 3) {
0 == system('apt-get', '--version')
or error "apt-get --version failed: $?";
0 == system('apt-config', 'dump') or error "apt-config failed: $?";
debug "content of $tmpfile:";
copy($tmpfile, \*STDERR);