Unfortunately, I was just facing this problem which seems to be a pacman bug.
In order to solve it I had to remove all .pacnew file extensions in the /etc/texmf directory and replace the already existing files with them.
After this, I had to execute sudo fmtutil-sys --all
to get the LaTex environment working again.