Error updating the system, conflicting dependencies

Hi! I tried to update the system today, using the sudo pacman -Syu command, but I encountered the following error.

I would like to ask for some help to solve it.

[ehudd@endeavour ~]$ LANG=C sudo pacman -Syu
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 community 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 lib32-gst-plugins-base-libs (1.22.1-1) breaks dependency 'lib32-gst-plugins-base-libs=1.22.0' required by lib32-gst-plugins-ugly

Thanks in advance

What says:

LANG=C pacman -Qi lib32-gst-plugins-ugly

?

What I could find is that the package doesn’t seem to be in multilib repo any more but in AUR.

If you need that, you would need probably to uninstall the one you have and install the one from AUR which does have correct versions of its dependencies:

$ yay -Si lib32-gst-plugins-ugly
:: Querying AUR…
Repository : aur
Name : lib32-gst-plugins-ugly
Keywords : None
Version : 1.22.1-2
Description : Multimedia graph framework (32-bit) - ugly plugins
URL : https://gstreamer.freedesktop.org/
AUR URL : https://aur.archlinux.org/packages/lib32-gst-plugins-ugly
Groups : None
Licenses : LGPL
Provides : None
Depends On : lib32-gst-plugins-base-libs=1.22.1 lib32-libdvdread lib32-libmpeg2 lib32-a52dec lib32-libsidplay lib32-libcdio lib32-x264 lib32-opencore-amr
Make Deps : git meson lib32-gstreamer lib32-gst-plugins-base lib32-gst-plugins-good wayland-protocols lib32-vulkan-icd-loader vulkan-headers lib32-vulkan-validation-layers lib32-shaderc lib32-libusb
lib32-libdc1394 libltc lib32-bluez-libs lib32-libavtp lib32-libbs2b lib32-bzip2 lib32-chromaprint lib32-libdca lib32-faac lib32-faad2 lib32-libfdk-aac lib32-fluidsynth lib32-libgme
lib32-libkate lib32-liblrdf lib32-ladspa lib32-libde265 lib32-lilv lib32-lv2 lib32-mjpegtools lib32-libmpcdec lib32-neon lib32-openal lib32-libdvdnav lib32-rtmpdump lib32-sbc lib32-soundtouch
lib32-spandsp lib32-libsrtp lib32-zvbi lib32-libnice lib32-webrtc-audio-processing lib32-wildmidi lib32-zbar lib32-nettle lib32-libxml2 lib32-gsm lib32-json-glib lib32-libva
lib32-libxkbcommon-x11 lib32-a52dec lib32-opencore-amr lib32-libcdio lib32-libdvdread lib32-libmpeg2 lib32-libsidplay lib32-x264 lib32-ffmpeg
Check Deps : xorg-server-xvfb
Optional Deps : None
Conflicts With : None
Maintainer : ahmubashshir
Votes : 38
Popularity : 1.538066
> First Submitted : Sat 07 Jan 2023 06:47:48 PM CET
> Last Modified : Sun 19 Mar 2023 10:59:54 AM CET
Out-of-date : No

By the way, was it long time ago you updated your system?

1 Like

Yeah, it’s been about three weeks since I updated my laptop because some updates broke essential programs for my work and studies like Rstudio, Zotero, Pandoc. I was waiting for official updates in the repositories and in the AUR because I did not want to compile from GitHub. So then, I should use the commandsudo Pacman -Rs {package_name} to fix the problem?

Thank you very much for your help

1 Like

Yes. This should remove package_name and all its dependencies that are not needed by some other package(s) in the system.

Afterwards, run sudo pacman -Syu to update the packages from the official repos.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.