Unable to boot, or run pacman/pamac after latest update

Stay in TTY - as I said - you need to / must fix the underlying issue before you boot into a desktop.

You must remove whichever custom package listed by pacman -Qm then run a full system sync

sudo pacman -Rd $(pacman -Qqm)
sudo pacman -Syu

You can rebuild your custom packages later