Cannot remove linux57 - breaks dependency .. required by linux-latest-[something]

I am trying to remove linux57 as described at, but I cannot.

[richard@wstp ~]$ mhwd-kernel -li
Currently running: 5.4.57-1-MANJARO (linux54)
The following kernels are installed in your system:
   * linux54
   * linux57
[richard@wstp ~]$ sudo mhwd-kernel -r linux57
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing linux57 breaks dependency 'linux57' required by linux-latest
:: removing linux57-nvidia-440xx breaks dependency 'linux57-nvidia-440xx' required by linux-latest-nvidia-440xx
:: removing linux57-virtualbox-host-modules breaks dependency 'linux57-virtualbox-host-modules' required by linux-latest-virtualbox-host-modules

I had been running Linux56 without issue, but Linux57 locks up Manjaro hard on my Lenovo Thinkpad P72. I installed linux54 and it is working without issue.

How do I remove linux57?

I think those linux-latest packages have to be removed first.

Try sudo pacman -Rcsnu linux-latest

1 Like

Using sudo pacman -Rcsnu linux-latest alone did not allow me to remove the kernel, but it lead me to the complete solution. Thank you!

To remove the kernel required me to execute the following:

sudo pacman -Rcsnu linux-latest linux-latest-nvidia-440xx linux-latest-virtualbox-host-modules
sudo pacman -Rcsnu linux57-virtualbox-host-modules
sudo mhwd-kernel -r linux57

Again, thank you!

1 Like

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