i had a situation were i have too many kernel ver
Currently running: 5.13.13-1-MANJARO (linux513)
The following kernels are installed in your system:
- linux510
- linux512
- linux513
- linux54
and when i try to remove the oldest ones i get the following error
sudo mhwd-kernel -r linux54
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing linux54-headers breaks dependency 'linux54-headers' required by linux-lts-headers
[omar@Probook ~]$ sudo mhwd-kernel -i linux54
:: Synchronizing package databases...
core 169.6 KiB 1238 KiB/s 00:00 [#################################################################] 100%
extra 1893.0 KiB 3.30 MiB/s 00:01 [#################################################################] 100%
community 6.6 MiB 3.97 MiB/s 00:02 [#################################################################] 100%
multilib 174.6 KiB 2.55 MiB/s 00:00 [#################################################################] 100%
warning: linux54-5.4.143-1 is up to date -- reinstalling
warning: linux54-broadcom-wl-6.30.223.271-153 is up to date -- reinstalling
warning: linux54-headers-5.4.143-1 is up to date -- reinstalling
warning: linux54-virtualbox-host-modules-6.1.26-8 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (4) linux54-5.4.143-1 linux54-broadcom-wl-6.30.223.271-153 linux54-headers-5.4.143-1 linux54-virtualbox-host-modules-6.1.26-8
do i remove each of the dependencies. and run the coomand again
thank you for your time and look forward to hear from you
best regard
Omar