sounds like something is going seriously wrong, you should never really be having to deal with this stuff (ive been using arch and the AUR for several years and never have). Im not sure it its a steam deck thing or what. Only thing I can say is make sure to always run sudo pacman -Syu before you install a new package.