From bc57ba7fe591b9abc20d38c9e3ac6e3efe03ea1d Mon Sep 17 00:00:00 2001 From: Zachary Hall Date: Sun, 20 Oct 2024 17:18:28 -0700 Subject: [PATCH] Update APT cache before normalizing package list --- lib.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib.sh b/lib.sh index 80c9c06..91af5b7 100755 --- a/lib.sh +++ b/lib.sh @@ -102,6 +102,8 @@ function get_package_name_ver { # Sorted list of space delimited package name=version pairs. ############################################################################### function get_normalized_package_list { + # Update Apt cache + apt-get update # Remove commas, and block scalar folded backslashes, # extraneous spaces at the middle, beginning and end # then sort.