Add missing pacman repo update, fix sudo before pacman calls