Then try sudo rm /var/lib/pacman/sync/*.*
sudo rm /var/lib/pacman/sync/*.*
If this doesn’t help I would suggest to check all what is provided in these wiki pages: