linuxmint / linuxmint/mintupdate

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

Open
#810 9 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

BUG
Dominant language
Python
Stars
425
Forks
190
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce the issue in Linux Mint 21.1 Cinnamon with mintupdate 5.9.8, then trace kernel branch detection and the current-kernel label in the update manager. Done means uninstalled kernel branches are not offered as updates and an installed -oem kernel is displayed without the duplicated suffix.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.