From daf0a0900b780a9d44d0d9b49b3fca6ddbd20d18 Mon Sep 17 00:00:00 2001 From: Patrick Schleizer Date: Thu, 19 Dec 2024 04:39:34 -0500 Subject: [PATCH] fix apt-get-update for non-English locale https://forums.kicksecure.com/t/systemcheck-reports-warning-debian-package-update-check-result-apt-get-reports-that-packages-can-be-updated-but-system-is-already-fully-upgraded/785 --- usr/libexec/security-misc/apt-get-update | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/libexec/security-misc/apt-get-update b/usr/libexec/security-misc/apt-get-update index b506e44..3c91ffd 100755 --- a/usr/libexec/security-misc/apt-get-update +++ b/usr/libexec/security-misc/apt-get-update @@ -8,6 +8,8 @@ set -o nounset set -o errtrace set -o pipefail +export LANG=C + write_pid_file() { [[ -z "${TMP:-}" ]] && error "TMP is unset" safe-rm -rf "$TMP/security-misc-apt-get-update-pid";