@C0rn3j thx 4 your answer.
I usually execute before an upgrade
sudo rm -Rf .cache
sudo pacman -Rsn $(pacman -Qdtq)
sudo pacman -Scc
yay -Scc
sudo rm /var/lib/systemd/coredump/.
sudo journalctl --vacuum-size=50M
The command sudo rm -Rf .cache clean the ~/.cache of the user that call sudo.
yay -Suy --sudoloop
and after a bash script I wrote
#!/bin/bash
logfile=~/log/python3xRebuild.log
echo START $(date) |tee -a $logfile
PYDIRS=$(stat -c '%W %n' /usr/lib/python[3-9].* | sort -n | head -n -1 | awk '{ print $2 }')
if [ -n "$PYDIRS" ]; then
yay -Scc
for d in $PYDIRS; do
#echo "Found obsolete python directory $d, packages requiring rebuild:"
for p in $(pacman -Qoq "$d"); do
command=$(echo yay -S $p --rebuildtree --noconfirm --rebuild)
echo $command |tee -a $logfile
eval $command
done
done
fi
Hoping to compile nomacs, I execute again
yay -Suy --sudoloop
Can you please help other users and me?
Best
Post Scriptum. Before using the yay, I execute ``pacman -Suy. Should I add thew``` parameter?
Pinned Comments
FabioLolix commented on 2025-11-02 17:44 (UTC)
nomacs-qt6-git have been prematurely deleted but can be still found at https://github.com/FabioLolix/PKGBUILD-AUR_fix/blob/master/n/nomacs-qt6-git/PKGBUILD
FabioLolix commented on 2023-07-07 05:37 (UTC) (edited on 2025-10-27 06:07 (UTC) by FabioLolix)
Pkgbuild maintained at https://github.com/FabioLolix/PKGBUILD-AUR_fix
every time you have
error while loading shared libraries: libXXX.so.XXX: cannot open shared object file: No such file or directoryfor build from source programs you have to rebuild it@rado84 you need rebuild the package not to hold back other packages, it is the same every time a dinamically linked soname changes
checkrebuildfromrebuild-detectorinto your workflow.