From 6c6124f54014a1212152ae1d650ff97372e24fde Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Wed, 27 Jun 2012 20:43:30 +0800 Subject: [PATCH] Init apt-show-versions cache before running http://sourceforge.net/tracker/?func=detail&atid=117457&aid=3536804&group_id=17457 --- software/apt-lib.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/software/apt-lib.pl b/software/apt-lib.pl index 5c29398b4..2e3d3b234 100755 --- a/software/apt-lib.pl +++ b/software/apt-lib.pl @@ -226,6 +226,7 @@ if (&has_command("apt-show-versions")) { # pinned versions and backports into account local @rv; &clean_language(); + &execute_command("apt-show-versions -i"); &open_execute_command(PKGS, "apt-show-versions 2>/dev/null", 1, 1); while() { if (/^(\S+)\/(\S+)\s+upgradeable\s+from\s+(\S+)\s+to\s+(\S+)/ &&