Skip to content

Mint Update insists on "updating" a kernel version that is not installed #810

Open

Description

@kneekoo

Describe the bug
On my new PC I can't boot to graphics mode without a kernel newer than 5.15, so I installed 6.1 and it's fine now. But after I uninstalled 5.15 (being useless to me), the update manager insists on installing the most recent version in the 5.15 branch.

Screenshots
Update Manager - kernel update 2023-04-21

Expected behavior
If I don't have kernels in a certain branch, the update manager should not prompt me to install those "updates".

Distribution:

  • Linux Mint 21.1 Cinnamon

Software version:
5.9.8

Additional context
Extra bug: as seen in the screenshot, kernel 6.1 is marked as "-oem-oem" in the "You are currently using..." text, although its name end only with "-oem". For some reason, an extra label is added by the kernel manager.

Activity

  1. kneekoo commented on May 1, 2023

    @kneekoo
    Author

    For a bit more context, this is what shows up in the Packages section:

    Update Manager - kernel update 2023-05-01

  2. P-Woods commented on Nov 6, 2023

    @P-Woods

    It does a similar thing for mine.
    Running unsigned-lowlatency kernels Update always wished to install the generic version.
    It also calls the installed kernel "-lowlatency-lowlatency"
    See the screenshot:
    Screenshot_2023-11-06_11-44-52

  3. icedream commented on Mar 7, 2024

    @icedream

    I am running into this with an oem kernel as well (I specifically use the linux-oem-22.04d/linux-image-6.5.0-1016-oem packages). It keeps insisting that it needs to upgrade the linux-generic image when I don't even have it installed according to apt.

  4. icedream commented on Mar 14, 2024

    @icedream

    Turns out this is happening because mintupdate has its own glib setting it uses to track which type of kernel you have installed. It can be overridden for the current user by overwriting the setting selected-kernel-type in schema com.linuxmint.updates with the proper suffix (e. g. -oem for an OEM kernel):

    gsettings set com.linuxmint.updates selected-kernel-type -oem

    In my case, I even had to set up a system-wide override like this to make it default for any user logging into the system:

    sudo tee /usr/share/glib-2.0/schemas/99_mintupdate.oem.gschema.override >/dev/null <<'EOF'
    [com.linuxmint.updates]
    selected-kernel-type = '-oem'
    EOF

    Only specific values are "supported", if the value is unsupported it will default to -generic hence suggesting generic kernel instead for the case that the original description of this issue describes where the suffix was repeated.
    Relevant part of the code:

    settings = Gio.Settings(schema_id="com.linuxmint.updates")
    SUPPORTED_KERNEL_TYPES = ["-generic", "-lowlatency", "-aws", "-azure", "-gcp", "-kvm", "-oem", "-oracle"]
    KERNEL_PKG_NAMES = ['linux-headers-VERSION', 'linux-headers-VERSION-KERNELTYPE', 'linux-image-VERSION-KERNELTYPE', \
    'linux-modules-VERSION-KERNELTYPE', 'linux-modules-extra-VERSION-KERNELTYPE']
    KERNEL_PKG_NAMES.append('linux-image-extra-VERSION-KERNELTYPE') # Naming convention in 16.04, until 4.15 series
    CONFIGURED_KERNEL_TYPE = settings.get_string("selected-kernel-type")
    if CONFIGURED_KERNEL_TYPE not in SUPPORTED_KERNEL_TYPES:
    CONFIGURED_KERNEL_TYPE = "-generic"

  5. github-actions commented on Mar 15, 2026

    @github-actions

    This issue has been automatically marked as stale because it has not had
    any activity in over 2 years.

    If this issue is still relevant:

    • Please test on a current version of this package.
    • Add a comment with your findings

    If no activity occurs in the next 30 days, this issue will be
    automatically closed. Issues can be reopened if needed.

  6. kneekoo commented on Mar 15, 2026

    @kneekoo
    Author

    This still happens in a fully updated Mint 22.3 (Cinnamon).

  7. andresdelfino commented on Aug 7, 2026

    @andresdelfino

    By running gsettings set com.linuxmint.updates allow-kernel-type-selection true, you can make a "Kernel flavor" drop-down appear in the Kernels window. The selected value gets written to com.linuxmint.updates selected-kernel-type.

  8. P-Woods commented on Aug 8, 2026

    @P-Woods

    I used the recommended command:

    gsettings set com.linuxmint.updates allow-kernel-type-selection true

    on my systems with 21.1 & 22.3 and both responded as described.

    The description appearing at the top of the "Kernels" window changes from:
    0.0.0.-000-lowlatency-lowlatency
    to:
    0.0.0.-000-lowlatency

    There is no reference to other parameters of the kernel, e.g. unsigned, nvidia

  9. P-Woods commented on Aug 8, 2026

    @P-Woods

    Having the dropdown set to lowlatency, seems to work for the active kernel.
    However, the older inactive kernels 'unsigned-lowlatency are not now reported.
    Also the corresponding NOT unsigned but lowlatency kernel is now offered as an update.
    This whole thing needs a good looking at.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions