Hello everyone,
So something inside my linux installation messed up, and grub does not find the kernel. Now I am trying to fix it with chroot on a live boot. There, however I get the following error when trying to upgrade with pacman:
:: Synchronizing package databases...
core 137.7 KiB 656 KiB/s 00:00 [##################################] 100%
extra 1917.2 KiB 3.39 MiB/s 00:01 [##################################] 100%
community 6.8 MiB 8.86 MiB/s 00:01 [##################################] 100%
multilib 176.5 KiB 6.38 MiB/s 00:00 [##################################] 100%
:: Starting full system upgrade...
warning: filesystem: local (2021.12.07-2) is newer than core (2021.12.07-1)
warning: gnome-wallpapers: local (20201023-1) is newer than community (20201020-1)
warning: linux-lts: local (1:5.4-4) is newer than core (5.10.87-1)
warning: linux-lts-headers: local (1:5.4-4) is newer than core (5.10.87-1)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libcap (2.62-1) breaks dependency 'libcap=2.61' required by lib32-libcap
Tried to research some time on my own, but since I cannot wrap my head around it (no tesing enabled, …) I cannot find a solution for my problem.
Can someone help me out on this one?
hello @mithrial and @Mirdarthos!
Thanks for your fast replies!
Sadly pamac does not help I still land at the same error there and cannot prepare the transaction.
So removing linux-lts just with pacman -Rns linux-lts?
And then install linux54?
Cause I am on a live version trying to fix a bodged update within my normal installation.
When trying to install the kernel with mhwd, it tells me that onls linux510-rt and linux515-rt are available.
I don’t know what libcap is or what it does. I do know, however, that you should theoretically be able to uninstall them and reinstall them without losing customizations, provided you didn’t edit anything in /etc or elsewhere directly.
But, if you decide to go that route, I suggest you make a list of things that’ll be uninstalled, so that you can reinstall them later.
As it is, it looks like you spent way to long between updates, I mean linux-lts has been unsupported for a long time already. So based on that, a clean install might be a good idea.
Generally, the lib32 packages are not used by the system to be runnable/bootable.
Most likely they are dependencies from steam or another third-party package which you could always reinstall later if needed.
Pamac and pacman both list the packages they will remove, so look carefully through the list if among them are any that are needed for actual booting (e.g. the kernel, grub, systems, and so on).