Thats even weirder ... how long have you had this install ? What ISO did you use ?
This is all adding up to a rather broken or out of date system. Or partially updated, which is also broken.
You can maybe look at
pacman-mirrors --help for whatever commands it used to use. But I think if its years old then maybe it has no
-f and still uses
In which case it would be
sudo pacman-mirrors -g && sudo pacman -Syyu
But again - depending on the answers above you might find it easier to reinstall a fresh system than to fix and update whetevr you have now. But thats your call.
Though this really sounds like some sort of time-travelling frankenstein, because for example pacman-mirrors has had an
-f option for years now.
Please answer the questions at the top of this post.
How old is the install? What ISO did you use? (maybe provide a link?)