I’m trying to update my system but get the following:
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libelf (0.190-1) breaks dependency ‘libelf=0.189’ required by lib32-libelf
:: installing nvidia-utils (545.29.02-2) breaks dependency ‘nvidia-utils=535.113.01’ required by lib32-nvidia-utils
… after which nothing updates.
I’ve looked around on the internet. On the Artix forum it seems that the problem has been fixed here, however, my update is still in limbo.
Could someone please explain to me what’s going on? Is there something I should do manually to solve this? Is there a manual somewhere I should read?
(I’ve figured out how to ignore those packages and update the rest of my system, it’s just this part that’s messing with me. And since I don’t see anybody else mentioning it here, I thought I’d give the question a go.)
From the EndeavourOS Welcome Launcher, I used Reflector to update my mirrors, using delay as a preference. I then used the links you sent me to find the Arch mirrors list, and checked that the sites Reflector gave me, were indeed up to date. No problems there, all are synched with a 0 time delay.
I then used sudo pacman -Syu and after that sudo pacman -Syyu, ignoring the two packages, to see if that would change anything, but it didn’t help.
With a normal sudo pacman -Syu I get the following output:
:: Synchronising package databases…
core is up to date
extra is up to date
:: Starting full system upgrade…
warning: yad: local (13.0-2.1) is newer than extra (13.0-2)
resolving dependencies…
looking for conflicting packages…
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libelf (0.190-1) breaks dependency ‘libelf=0.189’ required by lib32-libelf
:: installing nvidia-utils (545.29.02-2) breaks dependency ‘nvidia-utils=535.113.01’ required by lib32-nvidia-utils
@pebcak, that did the trick!
Thank you for the help, I learned a bunch.
Follow-up question, if you don’t mind. Would updates be able to change pacman.conf? I’m asking, because the file seems to have changed twice in the past month or so. A while back, Color and ILoveCandy (don’t judge!) were disabled. Thanks to you I saw that multilib was disabled and endeavouros was deleted. I also noticed that, while troubleshooting, ParallelDownloads was also disabled.
I usually don’t go messing with files I don’t understand, so it has to be something else.
The modifications done to configs under /etc should never get overwritten by an update.
If the package getting updated ships a new config file, and if the config already present in /etc has been modified previously, the new config will be installed with .pacnew suffix.
A while back, there was some changes to pacman repos and the [community] repo was removed. Consequently, an update to pacman shipped a new config. Did you perhaps replace your “old” config with this new one? This could explain why endeavouros repo was gone and other modifications were reset.
So normally i would expect a pacnew (pacman.conf.pacnew) with any config changes. I usually go to EndeavourOS Welcome > Assistant then use the diff tools to compare and merge the file changes.
I think i had multi commented out after the change, so i got the 32 bit package warnings as well.
Arch Linux moved to Github during the summer so the tags in the pavman.conf fike changed.