dump temporary apt.conf with --debug

This commit is contained in:
Johannes 'josch' Schauer 2020-03-07 02:13:26 +01:00
parent 1ff5ba7e9e
commit 48914894cb
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -1532,6 +1532,8 @@ sub setup {
} }
if ($verbosity_level >= 3) { if ($verbosity_level >= 3) {
0 == system('apt-config', 'dump') or error "apt-config failed: $?"; 0 == system('apt-config', 'dump') or error "apt-config failed: $?";
debug "content of $tmpfile:";
copy($tmpfile, \*STDERR);
} }
# when apt-get update is run by the root user, then apt will attempt to # when apt-get update is run by the root user, then apt will attempt to