Updated: 23.01.2022
# edit Package-Blacklist in file /etc/apt/apt.conf.d/50unattended-upgrades
// Python regular expressions, matching packages to exclude from upgrading
**Unattended-Upgrade::Package-Blacklist {
// The following matches all packages starting with linux-
// "linux-";
// ============== START ==============
// Added 20230807
"linux-generic";
"linux-image-generic";
"linux-headers-generic";
"nvidia-";
"libnvidia-";
"*nvidia*";
// =============== END ===============**
// Use $ to explicitely define the end of a package name. Without
// the $, "libc6" would match all of them.
// "libc6$";
// "libc6-dev$";
// "libc6-i686$";
// Special characters need escaping
// "libstdc\\+\\+6$";
// The following matches packages like xen-system-amd64, xen-utils-4.1,
// xenstore-utils and libxenstore3.0
// "(lib)?xen(store)?";
// For more information about Python regular expressions, see
// <https://docs.python.org/3/howto/regex.html>
};
Full version of file