I encountered an issue where I was unable to remove an older kernel using the graphical tool in Manjaro Settings Manager → Kernels. The process would fail due to a dependency conflict with meta packages, even though my system had multiple other supported kernels installed and would have remained bootable.
I was, however, able to successfully remove the kernel via the command line. This suggests the graphical tool isn’t handling this specific dependency scenario as gracefully as it could.
I had three kernels installed (linux612, linux616, linux617) and was booted into the newest one (6.17.5-1-MANJARO). The system had two other valid, bootable kernels (linux612 and linux617), so removing linux616 would not have caused any issues because was not the one being run.
In Manjaro Settings Manager → Kernels, I clicked the “Remove” button for the linux616 kernel.
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing linux616 breaks dependency 'linux616' required by linux-meta
:: removing linux616-nvidia breaks dependency 'linux616-nvidia' required by linux-nvidia-meta
I expected the graphical tool to recognize that other valid kernels were present and allow the removal, perhaps by identifying the conflict and offering to also remove the now-unnecessary linux-meta packages.
I was able to resolve this by manually removing the meta packages first, and then the kernel. This worked perfectly:
step 1
sudo pacman -R linux-meta linux-nvidia-meta
step 2
sudo pacman -R linux616 linux616-headers linux616-nvidia
After the workaround, my system was left with two healthy kernels, as shown here:
$ pacman -Q |grep "linux6"
linux612 6.12.55-1
linux612-headers 6.12.55-1
linux612-nvidia-open 580.95.05-7
linux612-virtualbox-host-modules 7.2.4-2
linux617 6.17.5-1
Manjaro Settings Manager’s kernel tool could automatically detect this dependency on linux-meta and linux-nvidia-meta. If other supported kernels are installed, the tool should be able to handle the removal of these meta packages as part of the process.