From 3b020c796f899baa144ee2956db92df903329f1c Mon Sep 17 00:00:00 2001 From: Ilia Rostovtsev Date: Mon, 27 Jan 2020 14:26:12 +0300 Subject: [PATCH] Fix to use `dumpavail` instead https://github.com/webmin/webmin/commit/8cc0aaad045d75ac09acec01dcd380fb5821f9e0#commitcomment-36978163 --- software/apt-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/software/apt-lib.pl b/software/apt-lib.pl index a93efc105..fcab4b84e 100755 --- a/software/apt-lib.pl +++ b/software/apt-lib.pl @@ -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() { if (/^\s*Package:\s*(\S+)/) { $pkg = { 'name' => $1 };