mintupdate symlinks old kernels to vmlinuz even if active version is higher
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- linux, python
- Domain
- operating-systems
Research direction
Start by reproducing the hybrid HWE and GA kernel setup described in the issue and inspect how mintupdate handles vmlinuz and initrd symlinks when an older GA kernel is installed. Done means installing or updating the older kernel leaves both symlinks targeting the currently running newer kernel.
Written by the indexing model from the issue text.
Description
Describe the bug
On hybrid systems with both HWE and GA kernels (as backups), mintupdate messes up the vmlinuz and initrd symlinks when updating / installing a GA kernel (older) before the HWE (newer). Requiring manual adjustment with ln -sf.
For example, having a system with both Linux 6.14 HWE and Linux 6.8 GA as backup, when mintupdate shows an update for 6.8 and is applied, the vmlinuz is symlinked to that version, and the active version is now .old. This could cause massive issues with utilities that rely on vmlinuz and initrd.
Screenshots
None
To Reproduce
Steps to reproduce the behavior:
- Have a hybrid system with both HWE (newer) and GA (older) kernel
- Update / Install new GA (older) kernel
- vmlinuz and initrd are now symlinked to the older kernel.
Expected behavior
A clear and concise description of what you expected to happen.
Symlinks should stay as-is if the target kernel update version is lower than the running one.
Distribution:
- [ x ] Linux Mint
- LMDE
- Other (please specify)
Software version:
7.1.1
Logs:
Not needed.
Crash report:
None.
Additional context
None.
Locale:
If the problem is with text not getting displayed correctly, paste the output of the terminal command locale.
- Dominant language
- Python
- Stars
- 425
- Forks
- 190
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxmint/mintupdate
-
BUG
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
linuxmint/mintupdate#1089 ·
-
BUG
Difficulty 1/5 Under an hour Newbie friendliness 88/100
linuxmint/mintupdate#1062 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
linuxmint/mintupdate#1041 · 1 comment ·
-
FEATURE REQUEST
Difficulty 1/5 Under an hour Newbie friendliness 65/100
linuxmint/mintupdate#910 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
linuxmint/mintupdate#903 ·
All issues in linuxmint/mintupdate
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
OpenHands/extensions#626 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
CSCfi/sd-search-api#39 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
StevenBlack/hosts#3255 ·