Comment 23 for bug 2023986

Revision history for this message
Ahmad Hammoudeh (hammoudeh-69) wrote (last edit ):

I was able to remove both kernels. For the lowlatency kernel first I had to remove the headers then purge the kernel itself. Here's my history log for lowlatency related commands:

```
➜ history | grep lowlatency
 4284 sudo apt-get remove linux-image-6.2.0-1003-lowlatency\n
 4290 sudo apt-get remove linux-image-6.2.0-1003-lowlatency
 4291 sudo apt-get remove linux-headers-6.2.0-1003-lowlatency
 4294 sudo apt-get remove linux-headers-6.2.0-1003-lowlatency
 4299 sudo apt-get purge linux-image-6.2.0-1003-lowlatency\n
 4301 sudo apt-get purge linux-image-6.2.0-1003-lowlatency
 4304 sudo apt-get purge linux-image-6.2.0-1003-lowlatency
```

Removing the oracle kernel was a bit weird, I had to install/reinstall the headers again for it to get fully removed. Here's my history log for oracle related commands:

```
➜ history | grep oracle
 4184 sudo dpkg -l | grep oracle
 4244 sudo apt-get remove linux-image-6.2.0-1003-oracle\n
 4246 sudo apt-get install linux-headers-6.2.0-1003-oracle\n
 4295 sudo apt-get remove linux-image-6.2.0-1003-oracle
```

I also remember doing `sudo apt autoremove` before some commands to successfully run them.