What owns the conflicting files? Example:

pacman -Qo /usr/include/gstreamer-1.0/gst/audio/audio-bad-prelude.h

And pacman -Qi gst-plugins-bad.

 

majoballs  ~  pacman -Qo /usr/include/gstreamer-1.0/gst/audio/audio-bad-prelude.h
błąd:  Żaden pakiet nie jest właścicielem /usr/include/gstreamer-1.0/gst/audio/audio-bad-prelude.h
 majoballs  ~  pacman -Qi gst-plugins-bad
Nazwa                 : gst-plugins-bad
Wersja                : 1.16.0-1
Opis                  : GStreamer Multimedia Framework Bad Plugins
Architektura          : x86_64
Adres url             : https://gstreamer.freedesktop.org/
Licencje              : LGPL
Grupy                 : Brak
Dostarcza             : Brak
Zależy od             : mjpegtools  gst-plugins-base  curl  chromaprint  libmms  faad2  mpg123  faac  celt  libdca
                        soundtouch  libdvdnav  libmodplug  libgme  opus  wayland  neon  libofa  fluidsynth  openjpeg
                        libwebp  libsrtp  gnutls  librsvg  libpng  libgudev  sbc  glu  qt5-x11extras  x265  libass
                        schroedinger
Opcjonalne zależności : Brak
Wymagany przez        : firefox  qt5-multimedia  qtwebkit-tp
Opcjonalny dla        : Brak
Komfliktuje z         : Brak
Zastępuje             : Brak
Rozmiar po instalacji : 12,53 MiB
Autor pakietu         : Anke Boersma <demm@kaosx.us>
Data zbudowania       : pią, 19 kwi 2019, 15:12:35
Data zainstalowania   : nie, 28 kwi 2019, 11:51:22
Powód zainstalowania  : Zależność innego pakietu
Skrypt instalacyjny   : Nie
Potwierdzone przez    : Suma SHA256

Did you ever force some installs? Does pacman -Ql gst-plugins-bad list any files? All those now conflicting files should be owned by gstplugins-bad.

    demm Did you ever force some installs?

    I do not think so.

    pacman -Ql gst-plugins-bad

    The result is empty

    So, you somehow managed to have a complete empty gst-plugins-bad installed.....
    By far safest way is to manually remove the conflicting files, then update the system.

    OK
    So I'll check everything again, and we'll see.