Skip to content

[BUG]: old kernel not removed #243

@dupondje

Description

@dupondje

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When upgrading a CentOS Stream 9 system to AlmaLinux 9, the old CentOS Kernels are not removed.
For example on a system I had the following kernels installed:
kernel-5.14.0-573.el9.x86_64
kernel-5.14.0-554.el9.x86_64
kernel-5.14.0-539.el9.x86_64

During the upgrade to the AlmaLinux 9 kernel, the oldest (5.14.0-539.el9) gets removed, but the other 2 stay installed.
The Almalinux kernel gets installed, and is set as default. All fine after a reboot.

BUT!

This causes no kernel upgrades are installed anymore until the version in AlmaLinux becomes higher than the one currently installed.

Expected Behavior

The upgrade script should remove the old kernels, so upgrades work like it should.

Steps To Reproduce

No response

Anything else?

No response

Search terms

kernel centos9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions