Public bug reported:

Apt ships VersionedKernelPackages regex patterns in
/etc/apt/apt.conf.d/01autoremove from which /etc/kernel/postinst.d/apt-
auto-removal generates kernel package name patterns by appending the
running kernel version including the flavor like
linux-.*-4.15.0-1010-kvm but those generated patterns don't cover
versioned kernel package names including the version without the flavor,
such as linux-kvm-tools-4.15.0-1012.

Unattended-upgrades generates the patterns in a similar way and also
don't cover linux-kvm-tools-4.15.0-1012 and similar packages.

** Affects: unattended-upgrades (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

- Apt ships VersionedKernelPackages regex patterns in 
/etc/apt/apt.conf.d/01autoremove from which 
/etc/kernel/postinst.d/apt-auto-removal generates kernel package name patterns 
by appending the running kernel version including the flavor like 
linux-.*-4.15.0-1010-kvm but those generated patterns don't cover versioned 
kernel package names including the version without the flavor, such as 
linux-kvm-tools-4.15.0-1012.
- Unattended-upgrades generates the patterns in a similar way and also don't 
cover linux-kvm-tools-4.15.0-1012 and similar packages.
+ Apt ships VersionedKernelPackages regex patterns in
+ /etc/apt/apt.conf.d/01autoremove from which /etc/kernel/postinst.d/apt-
+ auto-removal generates kernel package name patterns by appending the
+ running kernel version including the flavor like
+ linux-.*-4.15.0-1010-kvm but those generated patterns don't cover
+ versioned kernel package names including the version without the flavor,
+ such as linux-kvm-tools-4.15.0-1012.
+ 
+ Unattended-upgrades generates the patterns in a similar way and also
+ don't cover linux-kvm-tools-4.15.0-1012 and similar packages.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828200

Title:
  [SRU] kernel package names ending with version without flavor are not
  matched by generated patterns

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1828200/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to