Yeah that all looks like problems.
Ok … lets manually do what one of the pacnews would have done and remove [community] from /etc/pacman.conf
You can optionally comment it out using #, ex:
#[community]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist
Once that is done please perform (removing package cache optional, but yes to unused repos)
sudo pacman -Sc
Then sync/update again
sudo pacman -Syu
(this should look normal, with the [community] part gone)
But probably not fix the issue.
Those file errors come from various packages including xfsprogs,xapp, gtk-layer-shell …
So…
Lets reuse mapare.
After reviewing your previous output … I am not sure it is being run in the correct system, or there is some other problem trying to load it through ssh, as the command should have resulted in reinstalls of all existing packages (plus installs of anything missing).
Example on my kde system
$ ./mapare -IA
Manjaro Package Restore
Retrieve and reinstall package lists
Please provide desktop environment (kde,xfce,gnome): kde
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
warning: base-3-2 is up to date -- reinstalling
warning: acpi-1.7-3 is up to date -- reinstalling
warning: acpid-2.0.34-1 is up to date -- reinstalling
warning: amd-ucode-20231211.f2e52a1c-1 is up to date -- reinstalling
warning: bzip2-1.0.8-5 is up to date -- reinstalling
warning: coreutils-9.4-2 is up to date -- reinstalling
warning: cpupower-6.7-1 is up to date -- reinstalling
warning: cryptsetup-2.6.1-3.4 is up to date -- reinstalling
warning: device-mapper-2.03.22-2 is up to date -- reinstalling
warning: dhcpcd-10.0.6-1 is up to date -- reinstalling
warning: diffutils-3.10-1 is up to date -- reinstalling
warning: dmraid-1.0.0.rc16.3-14 is up to date -- reinstalling
warning: dosfstools-4.2-3 is up to date -- reinstalling
warning: e2fsprogs-1.47.0-1 is up to date -- reinstalling
warning: ecryptfs-utils-111-8 is up to date -- reinstalling
warning: efibootmgr-18-2 is up to date -- reinstalling
warning: exfatprogs-1.2.2-1 is up to date -- reinstalling
warning: f2fs-tools-1.16.0-2 is up to date -- reinstalling
warning: grub-2.12-3 is up to date -- reinstalling
warning: inetutils-2.5-1 is up to date -- reinstalling
warning: jfsutils-1.1.15-8 is up to date -- reinstalling
warning: linux61-6.1.71-1 is up to date -- reinstalling
warning: less-1:643-1 is up to date -- reinstalling
warning: logrotate-3.21.0-2 is up to date -- reinstalling
warning: lvm2-2.03.22-2 is up to date -- reinstalling
warning: man-db-2.12.0-1 is up to date -- reinstalling
warning: manjaro-release-23.1.2-1 is up to date -- reinstalling
warning: manjaro-system-20230401-1 is up to date -- reinstalling
warning: man-pages-6.05.01-2 is up to date -- reinstalling
warning: mdadm-4.2-2 is up to date -- reinstalling
warning: memtest86+-efi-6.20-1 is up to date -- reinstalling
warning: mhwd-0.6.5-28 is up to date -- reinstalling
warning: mhwd-db-0.6.5-28 is up to date -- reinstalling
warning: mkinitcpio-openswap-0.1.0-3 is up to date -- reinstalling
warning: nano-7.2-1 is up to date -- reinstalling
warning: nano-syntax-highlighting-2020.10.10+10+g1aa64a8-2 is up to date -- reinstalling
warning: nfs-utils-2.6.4-1 is up to date -- reinstalling
warning: ntfs-3g-2022.10.3-1 is up to date -- reinstalling
warning: os-prober-1.81-1 is up to date -- reinstalling
warning: perl-5.38.1-1 is up to date -- reinstalling
warning: reiserfsprogs-3.6.27-4 is up to date -- reinstalling
warning: rsync-3.2.7-6 is up to date -- reinstalling
warning: s-nail-14.9.24-2 is up to date -- reinstalling
warning: sof-firmware-2023.12-1 is up to date -- reinstalling
warning: spectre-meltdown-checker-0.46+20+g9b7b09a-1 is up to date -- reinstalling
warning: sudo-1.9.15.p4-1 is up to date -- reinstalling
warning: sysfsutils-2.1.1-1 is up to date -- reinstalling
warning: systemd-255.2-1 is up to date -- reinstalling
warning: texinfo-7.1-2 is up to date -- reinstalling
warning: update-grub-2.12-3 is up to date -- reinstalling
warning: usbutils-017-1 is up to date -- reinstalling
warning: vi-1:070224-6 is up to date -- reinstalling
warning: wget-1.21.4-1 is up to date -- reinstalling
warning: which-2.21-6 is up to date -- reinstalling
warning: wireless-regdb-2023.09.01-1 is up to date -- reinstalling
warning: wpa_supplicant-2:2.10-8 is up to date -- reinstalling
warning: linux61-headers-6.1.71-1 is up to date -- reinstalling
warning: libva-intel-driver-2.4.1-2 is up to date -- reinstalling
warning: libxaw-1.0.15-1 is up to date -- reinstalling
warning: libxpm-3.5.17-1 is up to date -- reinstalling
warning: gtkmm3-3.24.8-1 is up to date -- reinstalling
warning: xf86-video-amdgpu-23.0.0-1 is up to date -- reinstalling
warning: avahi-1:0.8+r194+g3f79789-1 is up to date -- reinstalling
warning: networkmanager-1.44.2-3 is up to date -- reinstalling
warning: networkmanager-openvpn-1.10.2-3 is up to date -- reinstalling
warning: networkmanager-pptp-1.2.12-3 is up to date -- reinstalling
warning: networkmanager-l2tp-1.20.10-1 is up to date -- reinstalling
warning: nss-mdns-0.15.1-1 is up to date -- reinstalling
warning: ntp-4.2.8.p17-1 is up to date -- reinstalling
warning: mobile-broadband-provider-info-20230416-1 is up to date -- reinstalling
warning: modemmanager-1.22.0-1 is up to date -- reinstalling
warning: openssh-9.6p1-1 is up to date -- reinstalling
warning: samba-4.19.3-2 is up to date -- reinstalling
warning: usb_modeswitch-2.6.1-3 is up to date -- reinstalling
warning: alsa-firmware-1.2.4-3 is up to date -- reinstalling
warning: alsa-utils-1.2.10-1 is up to date -- reinstalling
warning: ffmpeg-2:6.1.1-1 is up to date -- reinstalling
warning: gst-libav-1.22.8-2 is up to date -- reinstalling
warning: gst-plugins-bad-1.22.8-2 is up to date -- reinstalling
warning: gst-plugins-base-1.22.8-2 is up to date -- reinstalling
warning: gst-plugins-good-1.22.8-2 is up to date -- reinstalling
warning: gst-plugins-ugly-1.22.8-2 is up to date -- reinstalling
warning: libcanberra-1:0.30+r2+gc0620e4-3 is up to date -- reinstalling
warning: libdvdcss-1.4.3-1 is up to date -- reinstalling
warning: manjaro-alsa-20221002-1 is up to date -- reinstalling
warning: manjaro-pipewire-20231009-1 is up to date -- reinstalling
warning: phonon-qt5-gstreamer-4.10.0-4 is up to date -- reinstalling
warning: kamera-23.08.4-1 is up to date -- reinstalling
warning: mtpfs-1.1-4 is up to date -- reinstalling
warning: udiskie-2.5.1-1 is up to date -- reinstalling
warning: udisks2-2.10.1-2 is up to date -- reinstalling
warning: ttf-dejavu-2.37+18+g9b5d1b2f-6 is up to date -- reinstalling
warning: noto-fonts-1:24.1.1-1 is up to date -- reinstalling
warning: adobe-source-sans-fonts-3.052-1 is up to date -- reinstalling
warning: adobe-source-han-sans-jp-fonts-2.004-1 is up to date -- reinstalling
warning: adobe-source-han-sans-kr-fonts-2.004-1 is up to date -- reinstalling
warning: adobe-source-han-sans-cn-fonts-2.004-1 is up to date -- reinstalling
warning: terminus-font-4.49.1-6 is up to date -- reinstalling
warning: sddm-kcm-5.27.10-1 is up to date -- reinstalling
warning: audiocd-kio-23.08.4-1 is up to date -- reinstalling
warning: bluedevil-1:5.27.10-1 is up to date -- reinstalling
warning: kde-gtk-config-5.27.10-1 is up to date -- reinstalling
warning: kdeplasma-addons-5.27.10-2 is up to date -- reinstalling
warning: kgamma-5.27.10-2 is up to date -- reinstalling
warning: kinfocenter-5.27.10-1 is up to date -- reinstalling
warning: kmenuedit-5.27.10-1 is up to date -- reinstalling
warning: kscreen-5.27.10-1 is up to date -- reinstalling
warning: kscreenlocker-5.27.10-1 is up to date -- reinstalling
warning: ksshaskpass-5.27.10-1 is up to date -- reinstalling
warning: ksysguard-5.22.0-2 is up to date -- reinstalling
warning: kwallet-pam-5.27.10-1 is up to date -- reinstalling
warning: kwayland-integration-5.27.10-1 is up to date -- reinstalling
warning: kwin-5.27.10-2 is up to date -- reinstalling
warning: qt5-virtualkeyboard-5.15.12-1 is up to date -- reinstalling
warning: kwrited-5.27.10-1 is up to date -- reinstalling
warning: milou-5.27.10-1 is up to date -- reinstalling
warning: plasma-desktop-5.27.10-1 is up to date -- reinstalling
warning: plasma-nm-5.27.10-1 is up to date -- reinstalling
warning: plasma-pa-5.27.10-1 is up to date -- reinstalling
warning: plasma-simplemenu-1.0.12-1 is up to date -- reinstalling
warning: plasma-wayland-session-5.27.10-2 is up to date -- reinstalling
warning: plasma-workspace-5.27.10-2 is up to date -- reinstalling
warning: powerdevil-5.27.10-1 is up to date -- reinstalling
warning: systemsettings-5.27.10-1 is up to date -- reinstalling
warning: plasma-browser-integration-5.27.10-1 is up to date -- reinstalling
warning: xdg-desktop-portal-kde-5.27.10-1 is up to date -- reinstalling
warning: plasma-thunderbolt-5.27.10-1 is up to date -- reinstalling
warning: gnome-themes-extra-3.28+r6+g45b1d457-1 is up to date -- reinstalling
warning: oxygen-5.27.10-1 is up to date -- reinstalling
warning: oxygen-icons-1:5.113.0-1 is up to date -- reinstalling
warning: sddm-breath-theme-23.0.0-1 is up to date -- reinstalling
warning: grub-theme-manjaro-20.2-16 is up to date -- reinstalling
warning: breeze-gtk-5.27.10-1 is up to date -- reinstalling
warning: ark-23.08.4-1 is up to date -- reinstalling
warning: dolphin-23.08.4-1 is up to date -- reinstalling
warning: dolphin-plugins-23.08.4-1 is up to date -- reinstalling
warning: kate-23.08.4-1 is up to date -- reinstalling
warning: kcalc-23.08.4-1 is up to date -- reinstalling
warning: kfind-23.08.4-1 is up to date -- reinstalling
warning: okular-23.08.4-1 is up to date -- reinstalling
warning: kdenetwork-filesharing-23.08.4-1 is up to date -- reinstalling
warning: khelpcenter-23.08.4-1 is up to date -- reinstalling
warning: khotkeys-5.27.10-1 is up to date -- reinstalling
warning: kinit-5.113.0-1 is up to date -- reinstalling
warning: kio-extras-23.08.4-1 is up to date -- reinstalling
warning: konsole-23.08.4-2 is up to date -- reinstalling
warning: ksystemlog-23.08.4-1 is up to date -- reinstalling
warning: kwalletmanager-23.08.4-1 is up to date -- reinstalling
warning: gwenview-23.08.4-1 is up to date -- reinstalling
warning: partitionmanager-23.08.4-1 is up to date -- reinstalling
warning: spectacle-23.08.4-1 is up to date -- reinstalling
warning: unarchiver-1.10.8-1 is up to date -- reinstalling
warning: kdegraphics-thumbnailers-23.08.4-1 is up to date -- reinstalling
warning: ffmpegthumbs-23.08.4-1 is up to date -- reinstalling
warning: kimageformats5-5.113.0-1 is up to date -- reinstalling
warning: qt5-imageformats-5.15.12+kde+r10-1 is up to date -- reinstalling
warning: sshfs-3.7.3-1 is up to date -- reinstalling
warning: poppler-data-0.4.12-1 is up to date -- reinstalling
warning: dmidecode-3.5-1 is up to date -- reinstalling
warning: htop-3.2.2-1 is up to date -- reinstalling
warning: inxi-3.3.31.2-1 is up to date -- reinstalling
warning: manjaro-settings-manager-kcm-0.5.7-21 is up to date -- reinstalling
warning: plasma-systemmonitor-5.27.10-1 is up to date -- reinstalling
warning: powertop-2.15-1 is up to date -- reinstalling
warning: systemd-kcm-1.2.1-8 is up to date -- reinstalling
warning: xf86-input-elographics-1.4.3-1 is up to date -- reinstalling
warning: xf86-input-evdev-2.10.6-3 is up to date -- reinstalling
warning: xf86-input-libinput-1.4.0-1 is up to date -- reinstalling
warning: xf86-input-void-1.4.2-1 is up to date -- reinstalling
warning: mesa-utils-9.0.0-3 is up to date -- reinstalling
warning: numlockx-1.2-5 is up to date -- reinstalling
warning: xdg-user-dirs-0.18-1 is up to date -- reinstalling
warning: xorg-server-21.1.10-1 is up to date -- reinstalling
warning: xorg-twm-1.0.12-1 is up to date -- reinstalling
warning: xorg-xinit-1.4.2-1 is up to date -- reinstalling
warning: xorg-xkill-1.0.6-1 is up to date -- reinstalling
warning: xorg-mkfontscale-1.2.2-1 is up to date -- reinstalling
warning: perl-file-mimeinfo-0.34-1 is up to date -- reinstalling
warning: xdg-utils-1.2.0r25+g0f49cf5-1 is up to date -- reinstalling
warning: manjaro-hotfixes-2018.08-6 is up to date -- reinstalling
So heres the remote string again
bash <(curl -s https://gitlab.com/cscs/mapare/-/raw/main/mapare) -IA
But we might want to download it and run it, ex:
curl -O https://gitlab.com/cscs/mapare/-/raw/main/mapare
chmod +x mapare
./mapare -IA
(again input your DE xfce)
I would hope for the reinstalls to work … but with all of the file problems you have you might want to go nuclear.
./mapare -IA --overwrite
The mapare --overwrite flag should pass the --overwrite '*' to pacman.
Normally we would avoid this … but it appears you have many random packages with various fragmentations.
PS. I totally neglected to incorporate mirrors into our checks.
With the system being out of date for some time it only stands to reason the mirror could be old/bad as well.
Heres a sort and sync
sudo pacman-mirrors -f && sudo pacman -Syu
If for whatever reason its stuck on a stale custom mirror pool you can reset it with
sudo pacman-mirrors -c all && sudo pacman -Syu
(mirror status page link: https://repo.manjaro.org/)