APT::NeverAutoRemove
{
"^linux-image-4\.19\.0-10-amd64$";
- "^linux-image-4\.19\.0-9-amd64$";
+ "^linux-image-4\.19\.0-11-amd64$";
"^linux-headers-4\.19\.0-10-amd64$";
- "^linux-headers-4\.19\.0-9-amd64$";
+ "^linux-headers-4\.19\.0-11-amd64$";
"^linux-image-extra-4\.19\.0-10-amd64$";
- "^linux-image-extra-4\.19\.0-9-amd64$";
+ "^linux-image-extra-4\.19\.0-11-amd64$";
"^linux-modules-4\.19\.0-10-amd64$";
- "^linux-modules-4\.19\.0-9-amd64$";
+ "^linux-modules-4\.19\.0-11-amd64$";
"^linux-modules-extra-4\.19\.0-10-amd64$";
- "^linux-modules-extra-4\.19\.0-9-amd64$";
+ "^linux-modules-extra-4\.19\.0-11-amd64$";
"^linux-signed-image-4\.19\.0-10-amd64$";
- "^linux-signed-image-4\.19\.0-9-amd64$";
+ "^linux-signed-image-4\.19\.0-11-amd64$";
"^linux-image-unsigned-4\.19\.0-10-amd64$";
- "^linux-image-unsigned-4\.19\.0-9-amd64$";
+ "^linux-image-unsigned-4\.19\.0-11-amd64$";
"^kfreebsd-image-4\.19\.0-10-amd64$";
- "^kfreebsd-image-4\.19\.0-9-amd64$";
+ "^kfreebsd-image-4\.19\.0-11-amd64$";
"^kfreebsd-headers-4\.19\.0-10-amd64$";
- "^kfreebsd-headers-4\.19\.0-9-amd64$";
+ "^kfreebsd-headers-4\.19\.0-11-amd64$";
"^gnumach-image-4\.19\.0-10-amd64$";
- "^gnumach-image-4\.19\.0-9-amd64$";
+ "^gnumach-image-4\.19\.0-11-amd64$";
"^.*-modules-4\.19\.0-10-amd64$";
- "^.*-modules-4\.19\.0-9-amd64$";
+ "^.*-modules-4\.19\.0-11-amd64$";
"^.*-kernel-4\.19\.0-10-amd64$";
- "^.*-kernel-4\.19\.0-9-amd64$";
+ "^.*-kernel-4\.19\.0-11-amd64$";
"^linux-backports-modules-.*-4\.19\.0-10-amd64$";
- "^linux-backports-modules-.*-4\.19\.0-9-amd64$";
+ "^linux-backports-modules-.*-4\.19\.0-11-amd64$";
"^linux-modules-.*-4\.19\.0-10-amd64$";
- "^linux-modules-.*-4\.19\.0-9-amd64$";
+ "^linux-modules-.*-4\.19\.0-11-amd64$";
"^linux-tools-4\.19\.0-10-amd64$";
- "^linux-tools-4\.19\.0-9-amd64$";
+ "^linux-tools-4\.19\.0-11-amd64$";
"^linux-cloud-tools-4\.19\.0-10-amd64$";
- "^linux-cloud-tools-4\.19\.0-9-amd64$";
+ "^linux-cloud-tools-4\.19\.0-11-amd64$";
"^linux-buildinfo-4\.19\.0-10-amd64$";
- "^linux-buildinfo-4\.19\.0-9-amd64$";
+ "^linux-buildinfo-4\.19\.0-11-amd64$";
"^linux-source-4\.19\.0-10-amd64$";
- "^linux-source-4\.19\.0-9-amd64$";
+ "^linux-source-4\.19\.0-11-amd64$";
};
/* Debug information:
# dpkg list:
-iF linux-image-4.19.0-10-amd64 4.19.132-1 amd64 Linux 4.19 for 64-bit PCs (signed)
-ii linux-image-4.19.0-8-amd64 4.19.98-1+deb10u1 amd64 Linux 4.19 for 64-bit PCs (signed)
+ii linux-image-4.19.0-10-amd64 4.19.132-1 amd64 Linux 4.19 for 64-bit PCs (signed)
+iF linux-image-4.19.0-11-amd64 4.19.146-1 amd64 Linux 4.19 for 64-bit PCs (signed)
ii linux-image-4.19.0-9-amd64 4.19.118-2+deb10u1 amd64 Linux 4.19 for 64-bit PCs (signed)
-iU linux-image-amd64 4.19+105+deb10u5 amd64 Linux for 64-bit PCs (meta-package)
+iU linux-image-amd64 4.19+105+deb10u6 amd64 Linux for 64-bit PCs (meta-package)
# list of installed kernel packages:
4.19.0-10-amd64 4.19.132-1
-4.19.0-8-amd64 4.19.98-1+deb10u1
+4.19.0-11-amd64 4.19.146-1
4.19.0-9-amd64 4.19.118-2+deb10u1
# list of different kernel versions:
+4.19.146-1
4.19.132-1
4.19.118-2+deb10u1
-4.19.98-1+deb10u1
-# Installing kernel: 4.19.132-1 (4.19.0-10-amd64)
-# Running kernel: 4.19.118-2+deb10u1 (4.19.0-9-amd64)
-# Last kernel: 4.19.132-1
-# Previous kernel: 4.19.118-2+deb10u1
+# Installing kernel: 4.19.146-1 (4.19.0-11-amd64)
+# Running kernel: 4.19.132-1 (4.19.0-10-amd64)
+# Last kernel: 4.19.146-1
+# Previous kernel: 4.19.132-1
# Kernel versions list to keep:
-4.19.118-2+deb10u1
4.19.132-1
+4.19.146-1
# Kernel packages (version part) to protect:
4\.19\.0-10-amd64
-4\.19\.0-9-amd64
+4\.19\.0-11-amd64
*/
fi
## Check whether verbose mode was enabled and log to syslog.
-if [ "$VERBOSE" == "true" ] ; then
+if [ "$VERBOSE" = "true" ] ; then
logger "$PROG sends $SUBJECT => $USEREMAIL"
fi
## Debian/Ubuntu use mailutils which requires `-a` to append the header
if [ -f /etc/debian_version ]; then
- /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | tr -d '\015' \
- | $MAILBIN -a "From: $MAILFROM" -s "$SUBJECT" $USEREMAIL
+ /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | $MAILBIN -a "From: $MAILFROM" -s "$SUBJECT" $USEREMAIL
## Other distributions (RHEL/SUSE/etc.) prefer mailx which sets a sender address with `-r`
else
- /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | tr -d '\015' \
- | $MAILBIN -r "$MAILFROM" -s "$SUBJECT" $USEREMAIL
+ /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | $MAILBIN -r "$MAILFROM" -s "$SUBJECT" $USEREMAIL
fi
else
- /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | tr -d '\015' \
+ /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" \
| $MAILBIN -s "$SUBJECT" $USEREMAIL
fi
fi
## Check whether verbose mode was enabled and log to syslog.
-if [ "$VERBOSE" == "true" ] ; then
+if [ "$VERBOSE" = "true" ] ; then
logger "$PROG sends $SUBJECT => $USEREMAIL"
fi
## Debian/Ubuntu use mailutils which requires `-a` to append the header
if [ -f /etc/debian_version ]; then
- /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | tr -d '\015' \
- | $MAILBIN -a "From: $MAILFROM" -s "$SUBJECT" $USEREMAIL
+ /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | $MAILBIN -a "From: $MAILFROM" -s "$SUBJECT" $USEREMAIL
## Other distributions (RHEL/SUSE/etc.) prefer mailx which sets a sender address with `-r`
else
- /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | tr -d '\015' \
- | $MAILBIN -r "$MAILFROM" -s "$SUBJECT" $USEREMAIL
+ /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | $MAILBIN -r "$MAILFROM" -s "$SUBJECT" $USEREMAIL
fi
else
- /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" | tr -d '\015' \
+ /usr/bin/printf "%b" "$NOTIFICATION_MESSAGE" \
| $MAILBIN -s "$SUBJECT" $USEREMAIL
fi