From e0f03f2b2a83c2f0f32033fd11e652ee982e1a7c Mon Sep 17 00:00:00 2001 From: Adam Spragg Date: Wed, 16 Mar 2022 15:35:45 +0000 Subject: Pass `--with-new-pkgs` to `apt-get upgrade` To allow for kernel upgrades, which install new packages. Also, make the way we pass options to `apt-get upgrade` more consistent between calls. Notably, put all options before the command, as indicated by the apt-get(1) man page. --- adu-upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adu-upgrade') diff --git a/adu-upgrade b/adu-upgrade index 81f6e90..5bcef27 100755 --- a/adu-upgrade +++ b/adu-upgrade @@ -42,7 +42,7 @@ if [ "$upgrades" -eq 0 ]; then fi # Do the update -apt-get upgrade -y --no-download --ignore-missing +apt-get -q -y --with-new-pkgs --no-download --ignore-missing upgrade # man:systemd.offline-updates(7): # "The update service should now do its job. [...] After completion -- cgit v1.2.1