From a4cbe582bbd57b36d46c997b547a0f701ba5c541 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Mon, 22 Mar 2010 22:17:02 -0700 Subject: [PATCH] Run apt-get update before returning possible updates --- software/apt-lib.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/software/apt-lib.pl b/software/apt-lib.pl index 87238ee0f..7d8711696 100755 --- a/software/apt-lib.pl +++ b/software/apt-lib.pl @@ -194,6 +194,7 @@ return @rv; # Returns a list of available package updates sub update_system_updates { +&execute_command("$apt_get_command update"); if (&has_command("apt-show-versions")) { # This awesome command can give us all updates in one hit, and takes # pinned versions and backports into account