Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Unable to update without breaking dependencies (Read 1508 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Unable to update without breaking dependencies

Hi, trying to update my system today results in two packages conflicting:

Code: [Select]
sudo pacman -Syu
:: Synchronizing package databases...
 system is up to date
 world is up to date
 galaxy is up to date
 lib32 is up to date
 universe is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libplacebo (7.351.0-1) breaks dependency 'libplacebo.so=349-64' required by ffmpeg-libfdk_aac
:: installing nvidia-utils (570.153.02-1) breaks dependency 'nvidia-utils=570.144' required by lib32-nvidia-utils

Any ideas on how to fix this?
I tried removing ffmpeg-libfdk_aac but its a dependency for about 20 other packages..

 

Re: Unable to update without breaking dependencies

Reply #1
remove the offending packages from your update which might require you to load all the packages one by one or a few at a time, by hand.

Re: Unable to update without breaking dependencies

Reply #2
I'm getting the same issue, specifically:

Code: [Select]
:: installing nvidia-utils (570.153.02-1) breaks dependency 'nvidia-utils=570.144' required by lib32-nvidia-utils
:: installing nvidia-utils (570.153.02-1) breaks dependency 'nvidia-utils=570.144' required by nvidia

I believe this is because nvidia-utils has been updated to it's 570.153 version, but lib32-nvidia-utils and nvidia are still on 570.144

Re: Unable to update without breaking dependencies

Reply #3
Code: [Select]
:: Synchronizing package databases...
 system                                                                                                                                 257.9 KiB  1093 KiB/s 00:00 [######################################################################################################] 100%
 world                                                                                                                                    5.2 MiB  10.8 MiB/s 00:00 [######################################################################################################] 100%
 galaxy                                                                                                                                 859.4 KiB  6.88 MiB/s 00:00 [######################################################################################################] 100%
 lib32                                                                                                                                  175.3 KiB  2.45 MiB/s 00:00 [######################################################################################################] 100%
 universe                                                                                                                                34.5 KiB   426 KiB/s 00:00 [######################################################################################################] 100%
 extra                                                                                                                                    7.8 MiB  10.1 MiB/s 00:01 [######################################################################################################] 100%
 multilib                                                                                                                               134.3 KiB  2.62 MiB/s 00:00 [######################################################################################################] 100%
:: Starting full system upgrade...
 there is nothing to do
You love to see it...
I had to uninstall all the nvidia packages and their dependencies + all the dependencies for libplacebo which were about 30+ packages. Sticking to the default ffmpeg package in the future. Everything seems to work so far. Only thing that i couldnt get installed is lib32-nvidia-utils. But as @VectorSpiral pointed out it seems the package is outdated?

Re: Unable to update without breaking dependencies

Reply #4
mrbrklyn suggested removing the packages from the update, not removing the packages, but one way is as good as another if you are happy.  :D
e.g. to not upgrade pkg1 and pkg2 on a particular run of -Syu:
Code: [Select]
# pacman -Syu --ignore pkg1, pkg2
Can't say for certain if that would work then as I don't have this issue, and there is a small risk of further complications if it did. The problem packages will most likely have new fixed versions in the repos soon though.

Re: Unable to update without breaking dependencies

Reply #5
cross-check/test,

Code: [Select]
$ sudo pacman --ignore libplacebo --ignore nvidia-utils -Syu

?

Re: Unable to update without breaking dependencies

Reply #6
Quote
mrbrklyn suggested removing the packages from the update, not removing the packages
Ive tried that with libplacebo but since it needed to update so that around 10 other packages could update i was going around in circles.

Re: Unable to update without breaking dependencies

Reply #7
Installation of lib32-nvidia-utils works again. Marking as solved now.