Go2Linux | Linux Operating System

A site dedicated to: Linux Operating System

error: failed to synchronize any databases

Date: 2009-05-09 00:00:00 -0400

Today I have upgraded my Arch Linux, everything was good, and the system was upgraded, but then suddenly pacman refuses to update databases.

This is the error:

When entering this command:

sudo pacman -Sy

The output was:

:: 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

After looking for the solution I realized that all the mirrors in

/etc/pacman.d/mirrorlist

were commented, so there were not mirrors available to update from.

The simple solution was to uncomment some of them and all was working again.

If you liked this article please share it.

powered by TinyLetter

If you want to contact me in any other way, please use the contact page.