This commit is contained in:
Ilia Rostovtsev
2020-01-27 14:26:12 +03:00
parent aaba3d24f3
commit 3b020c796f

View File

@@ -168,7 +168,7 @@ local (@rv, $pkg, %done);
# Use dump to get versions
&execute_command("$apt_get_command update");
&clean_language();
&open_execute_command(DUMP, "apt-cache dump 2>/dev/null", 1, 1);
&open_execute_command(DUMP, "apt-cache dumpavail 2>/dev/null", 1, 1);
while(<DUMP>) {
if (/^\s*Package:\s*(\S+)/) {
$pkg = { 'name' => $1 };