I've been trying to update my system today and I'm seeing this error message:
$ doas pacman -Syu
...
:: The following package cannot be upgraded due to unresolvable dependencies:
lib32-mesa
:: Do you want to skip the above package for this upgrade? [y/N] N
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libelf=0.187' required by lib32-libelf
:: unable to satisfy dependency 'lib32-libelf' required by lib32-mesa
My system is otherwise up to date. I've merged any /etc/**/*.pacnew config files. I've kept my mirrorlists up to date, I've done `pacman-key --refresh-keys` recently. I'm not sure exactly how to resolve these kinds of errors. Searching the internet I've found a few threads but they always answer in a vauge manner like "just enable the testing repo in your mirrors". It doesn't really help me understand what's really wrong and what tools I have to fix it. Can someone help me?
The repos I have in my pacman.conf:
[system]
Include = /etc/pacman.d/mirrorlist
[world]
Include = /etc/pacman.d/mirrorlist
[galaxy]
Include = /etc/pacman.d/mirrorlist
[testing]
Include = /etc/pacman.d/mirrorlist-arch
[extra]
Include = /etc/pacman.d/mirrorlist-arch
[community-testing]
Include = /etc/pacman.d/mirrorlist-arch
[community]
Include = /etc/pacman.d/mirrorlist-arch
[multilib-testing]
Include = /etc/pacman.d/mirrorlist-arch
[multilib]
Include = /etc/pacman.d/mirrorlist-arch
[lib32]
Include = /etc/pacman.d/mirrorlist