]> Frank Brehm's Git Trees - config/bruni/etc-mint-new1.git/commitdiff
committing changes in /etc made by "/usr/bin/apt full-upgrade -y"
authorFrank Brehm <frank@brehm-online.com>
Thu, 19 Aug 2021 05:45:25 +0000 (07:45 +0200)
committerFrank Brehm <root@bruni.home.brehm-online.com>
Thu, 19 Aug 2021 05:45:25 +0000 (07:45 +0200)
Package changes:
-cargo 0.47.0-1~exp1ubuntu1~20.04.1 amd64
+cargo 0.52.0-0ubuntu1~20.04.1 amd64
-libstd-rust-dev 1.47.0+dfsg1+llvm-1ubuntu1~20.04.1 amd64
+libstd-rust-1.51 1.51.0+dfsg1+llvm-1~exp3ubuntu1~20.04.2 amd64
+libstd-rust-dev 1.51.0+dfsg1+llvm-1~exp3ubuntu1~20.04.2 amd64
-rust-gdb 1.47.0+dfsg1+llvm-1ubuntu1~20.04.1 all
-rustc 1.47.0+dfsg1+llvm-1ubuntu1~20.04.1 amd64
+rust-gdb 1.51.0+dfsg1+llvm-1~exp3ubuntu1~20.04.2 all
+rustc 1.51.0+dfsg1+llvm-1~exp3ubuntu1~20.04.2 amd64
-update-notifier-common 3.192.30.8 all
+update-notifier-common 3.192.30.9 all

cron.weekly/update-notifier-common

index 07b890c75fe682759fe0af035b8acc804a84d2ad..0e871079e1ed74df2acc245cc0fbf9aa37cdd2f7 100755 (executable)
@@ -4,5 +4,12 @@ set -e
 
 [ -x /usr/lib/ubuntu-release-upgrader/release-upgrade-motd ] || exit 0
 
-# Check to see whether there is a new version of Ubuntu available
-/usr/lib/ubuntu-release-upgrader/release-upgrade-motd
+sleep_then_check() {
+    # Sleep for up to an hour to spread the load of checking for updates on
+    # the Ubuntu infrastructure
+    sleep $(shuf -i 1-3600 -n 1)
+    # Check to see whether there is a new version of Ubuntu available
+    /usr/lib/ubuntu-release-upgrader/release-upgrade-motd
+}
+
+sleep_then_check &