You are not logged in.
Pages: 1
I was getting the message
installing libelf (0.185-1) breaks dependency 'libelf=0.184' required by lib32-libelf
during updating my system. So I pacman -Rdd ed lib32-libelf planning to install libelf and then install lib32-libelf back. But after installing (updating) libelf, I can't install lib32-libelf back as pacman -Ss lib32-libelf shows that the latest version is 0.184 but this shows that the latest version s 0.185 (I updated my mrrorlist too).
This is what I get while trying to install lib32-libelf :
sudo pacman -S lib32-libelf
resolving dependencies...
warning: cannot resolve "libelf=0.184", a dependency of "lib32-libelf"
:: The following package cannot be upgraded due to unresolvable dependencies:
lib32-libelf
:: Do you want to skip the above package for this upgrade? [y/N] y
looking for conflicting packages...
there is nothing to do
I think I messed up as some packages like lib32-mesa and lib32-vulkan-radeon require lib32-libelf. How do I get out of this?
Also, I just found out that I should have just probably added LC_ALL=C during the update
Last edited by sb8623 (2021-06-05 16:13:18)
Offline
lib32-libelf was updated to 0.185 like libelf. Your mirrors aren't as up to date as you think them to be, double check that, pick one with a low score and low delay time: https://archlinux.org/mirrors/status/#successful
Offline
I generated the mirrorlist from here and pasted it into /etc/pacman.d/mirrorlist. Isn't that supposed to be the latest mirrors?
Last edited by sb8623 (2021-06-05 14:18:28)
Offline
Unless you ticked the use mirror status box that will be a plain mirror list according to what you defined without taking into account how up to date or synchronized any given mirror is. If you limited that to a particular country you might even be in the unfortunate position to simply only be able to choose outdated mirrors.
Offline
Dumb me didn't check Use mirror status.
Thanks!
Offline
I also get this error:
error: failed to prepare transaction (could not satisfy dependencies)
:: installing alsa-lib (1.2.5-2) breaks dependency 'alsa-lib=1.2.4' required by lib32-alsa-lib
:: installing libelf (0.185-1) breaks dependency 'libelf=0.184' required by lib32-libelf
I generated a fresh mirrorlist with use_mirror_status=on from https://archlinux.org/mirrorlist/?count … _status=on.
I even tried the first half, the second half or only single mirrors. All the same.
What am I doing wrong?
Offline
What I did was pacman -Rdd to the packages which require the old dependencies and then install the dependencies. After that install the packages back.
For example in your case what I would do is
pacman -Rdd lib32-alsa-lib
pacman -S alsa-lib
pacman -S lib32-alsa-lib
Also, don't select a particular country while generating the mirrorlist, you may get all outdated mirrors.
Offline
Thanks.
1. I tried the mirrorlist without limiting to a country: https://archlinux.org/mirrorlist/?proto … _status=on - Makes no difference, the error is still there.
2. I don't want to remove and re-install the packages. Especially since it might change their status from "installed as dependency" to "explicitly installed by user choice". Also, I fail to see how that changes the mirror status.
Offline
At this point, you either have a really bad mirror, or you've installed things from multilib then disabled the repo.
Online
Scimmia: Ah yes, the lib32- packages were from multilib and that was disabled with a new pacman.conf on May 20. Re-enabling multilib solved it. Thank you!
Offline
Which is why .pacnew files are to be merged, not just copied over.
Online
In that case you're handling pacnew files wrong. If you were meant to blindly replace your config files with their pacnew equivalents, there would no point in them being installed as pacnew files in the first place.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1