pacman doesn’t update

Usually, it’s because of the mirrorlist. All you need to do is to update the mirrorlist according to the country you’re in. For example, if you’re in France:

$ sudo reflector --country France --sort rate --save /etc/pacman.d/mirrorlist
$ sudo pacman -Syyu