uninstalling a kernel also installed a kernel

Open
#606 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
linux

Research direction

Start with the Kernels app's uninstall flow and the /var/log/apt/history.log transaction shown in the report, then trace how the requested kernel package changes are passed to Synaptic. Reproduce the Linux Mint 19.3 sequence and verify that removing 4.15.0-20 no longer installs 5.0.0-32 while retaining the requested kernel state.

Written by the indexing model from the issue text.

Description

BUG

Describe the bug
When uninstalling the 4.15 kernel, the 5.0.0-32 kernel was installed.

To Reproduce
Steps to reproduce the behavior:

  1. Install Linux Mint 19.2
  2. Upgrade to 19.3
  3. Install the 5.0.0-37 kernel in the Kernels app
  4. Restart so it will start using the 5.0.0-37 kernel
  5. In the Kernels app, uninstall the 4.15.0-20 kernel

Expected behavior
It not install the 5.0.0-32 kernel

Distribution:

  • Linux Mint
  • LMDE
  • Other (please specify)

Software version:
5.5.9

Additional context
Here is the change log from /var/log/apt/history.log

Start-Date: 2020-02-26  23:44:12
Commandline: /usr/sbin/synaptic --hide-main-window --non-interactive --parent-window-id 60817421 -o Synaptic::closeZvt=true --set-selections-file /tmp/tmpi4yu6lmx
Requested-By: jay (1000)
Install: linux-headers-5.0.0-32:amd64 (5.0.0-32.34~18.04.2, automatic), linux-modules-extra-5.0.0-32-generic:amd64 (5.0.0-32.34~18.04.2, automatic), linux-headers-5.0.0-32-generic:amd64 (5.0.0-32.34~18.04.2, automatic), linux-modules-5.0.0-32-generic:amd64 (5.0.0-32.34~18.04.2, automatic), linux-image-5.0.0-32-generic:amd64 (5.0.0-32.34~18.04.2, automatic)
Upgrade: linux-kernel-generic:amd64 (4.15.0-20, 5.0.0-32)
Purge: linux-modules-extra-4.15.0-20-generic:amd64 (4.15.0-20.21), linux-headers-4.15.0-20:amd64 (4.15.0-20.21), linux-modules-4.15.0-20-generic:amd64 (4.15.0-20.21), linux-headers-4.15.0-20-generic:amd64 (4.15.0-20.21), linux-image-4.15.0-20-generic:amd64 (4.15.0-20.21)
End-Date: 2020-02-26  23:45:16
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

  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.

More from linuxmint/mintupdate

All issues in linuxmint/mintupdate

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.