run apt-cache policy instead of dumping sources.list

pull/1/head
parent c45e7d9baf
commit efaea907e9
Signed by: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -1507,9 +1507,9 @@ sub setup {
);
close $fh;
if ($indextargets eq '') {
info "content of /etc/apt/sources.list:";
if ($verbosity_level >= 1) {
copy("$options->{root}/etc/apt/sources.list", *STDERR);
0 == system('apt-cache', 'policy')
or error "apt-cache failed: $?";
}
error "apt-get update didn't download anything";
}

Loading…
Cancel
Save