Skip to content
Snippets Groups Projects
Commit 8163f786 authored by nimrod's avatar nimrod
Browse files

update: Ignore Ubuntu's phased updates.

parent 7104cc65
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment