Unable to remove kernel 5.8.17

I have three kernels installed 5.8.17,5.9.2 and 5.10
I’m running 5.9.2 and I’m able to remove kernel 5.10 but when i’m trying to remove kernel 5.8.17 it’s getting failed due to dependency error.
Initially i was getting dependency error for linux-latest and nvidia driver after i have uninstalled nvidia driver now i’m getting error for linux-latest.

linux58

Starting

checking dependencies...

:: removing linux58 breaks dependency 'linux58' required by linux-latest

error: failed to prepare transaction (could not satisfy dependencies)

Done ...

I thought linux-latest would have been 5.9? But the linux-latest package is there to make sure you get switched to the latest stable kernel if your on a kernel that reaches EOL. You can remove linux-latest but make sure you have a lts or the latest kernel installed incase the kernel your running becomes EOL

1 Like

Resolved by

sudo mhwd -r pci video-hybrid-intel-nvidia-455xx-prime
sudo pacman -Rcsnu linux-latest
sudo mhwd-kernel -r linux58

But i would like to understand why did it happen.

1 Like

Why this line?

The kernel was having a dependency with nvidia kernel module.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.