failed to update … (unexpected error)
Might come in handy for Arch Linux newcomers. If after updating pacman it starts showing the following:
:: Synchronizing package databases… error: failed to update core (unexpected error) error: failed to update extra (unexpected error) error: failed to update community (unexpected error) error: failed to synchronize any databases
don’t panic — just edit /etc/pacman.d/mirrorlist Uncomment the lines with the mirrors you use.
thanks to http://zlord.itcrazy.ru/