It's a problem with the default pacman.conf I suppose. By default, pacman is configured to upgrade itself first. If he have upgrade itself, but forget to bring dependencies with it, it's a shame. I think this is a bug with the FirstSync option in pacman.conf