From 15d6f5528ba153a9148a5d4699217220836325c2 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Thu, 9 Apr 2020 12:51:24 +0200 Subject: [PATCH] also print apt-get --version output with --debug --- mmdebstrap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mmdebstrap b/mmdebstrap index c86a31c..03a95da 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -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);