1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-04 01:13:00 +00:00
community.general/changelogs
patchback[bot] 064dc97956
[PR #11949/dd5bd733 backport][stable-12] apt_rpm: handle update-kernel rc=1 when no new kernel is available (#11973)
apt_rpm: handle `update-kernel` rc=1 when no new kernel is available (#11949)

* fix(apt_rpm): do not fail when update-kernel finds no new kernel

update-kernel exits with rc=1 when the kernel is already at the latest
version. Handle this case gracefully by checking for the known
"There are no available kernels" message in stderr and returning
changed=False instead of raising an error.

Fixes #10055

* fix(apt_rpm): add changelog fragment for #11949

* Apply suggestion from review



---------


(cherry picked from commit dd5bd733fc)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-05-02 10:20:50 +02:00
..
fragments [PR #11949/dd5bd733 backport][stable-12] apt_rpm: handle update-kernel rc=1 when no new kernel is available (#11973) 2026-05-02 10:20:50 +02:00
.gitignore Add more default license and copyright notices (#5087) 2022-08-08 08:44:19 +02:00
changelog.yaml Release 12.6.0. 2026-04-20 12:34:53 +02:00
changelog.yaml.license Make reuse conformant (#5138) 2022-08-21 08:27:01 +02:00
config.yaml Normalize changelog configs. 2025-07-27 16:36:35 +02:00