[Bug 1828200] [NEW] [SRU] kernel package names ending with version without flavor are not matched by generated patterns
Balint Reczey
balint.reczey at canonical.com
Wed May 8 09:32:59 UTC 2019
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
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/1828200
Title:
[SRU] kernel package names ending with version without flavor are not
matched by generated patterns
Status in unattended-upgrades package in Ubuntu:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1828200/+subscriptions
More information about the foundations-bugs
mailing list