From 8163f7861bddd853e570ab92f1792ec73023cbd3 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 31 Mar 2023 22:31:36 +0300
Subject: [PATCH] update: Ignore Ubuntu's phased updates.

---
 Documents/bin/update | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documents/bin/update b/Documents/bin/update
index 8312e42..e898027 100755
--- a/Documents/bin/update
+++ b/Documents/bin/update
@@ -23,9 +23,9 @@ _apt () {
     header Updating APT
     if [ -n "${DOWNLOAD_ONLY:-}" ]
     then
-        sudo /bin/sh -c 'apt-get update && apt-get dist-upgrade -o DPkg::Lock::Timeout=300 --download-only --yes && apt-get autoclean'
+        sudo /bin/sh -c 'apt-get update && apt-get dist-upgrade -o "APT::Get::Always-Include-Phased-Updates=true" -o DPkg::Lock::Timeout=300 --download-only --yes && apt-get autoclean'
     else
-        sudo /bin/sh -c 'apt-get update && apt-get dist-upgrade -o DPkg::Lock::Timeout=300 --yes --auto-remove --purge && apt-get autoclean'
+        sudo /bin/sh -c 'apt-get update && apt-get dist-upgrade -o "APT::Get::Always-Include-Phased-Updates=true" -o DPkg::Lock::Timeout=300 --yes --auto-remove --purge && apt-get autoclean'
     fi
 }
 
-- 
GitLab