The package manager could not make changes to the installed system. The command <pre>pacman</pre> returned error code 1

Probably this issue: Installer tries to install AUR package with pacman