Error: failed to synchronize all databases (download library error)

Hello…

Started to use Manjaro GNOME from 2weeks and just love it!
It never gave me a problem until NOW.

Whenever I do sudo pacman -Syyu
It gives me a list of errors and shows can’t synchronize databases.

    ~  sudo pacman -Syyu                                                                                                       SEGV ✘  1m 4s  
[sudo] password for hrishikesh: 
:: Synchronizing package databases...
 core.db failed to download
error: failed retrieving file 'core.db' from mirrors.piconets.webwerks.in : SSL certificate problem: certificate has expired
error: failed to synchronize all databases (download library error)

I searched on the net for some fixes but all of the ones say to do : sudo rm /var/lib/pacman/db.lck

I tried that but nothing worked.

Some are saying to change / refresh mirrors to the 3 fastest ones but its output is this:

    ~  sudo pacman-mirrors -f 3                                                                                                               ✔ 
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using custom mirror file
::INFO Querying mirrors - This may take some time
::WARNING No mirrors in selection
::INFO The mirrors has not changed

Please help me solve this.

Thanks in advance!

You can try this
sudo pacman-mirrors -f5 && sudo pacman -Syyu
sudo pacman-mirrors --continent && sudo pacman -Syyu.

1 Like
    ~   sudo pacman-mirrors -f5 && sudo pacman -Syyu                    ✔ 
[sudo] password for hrishikesh: 
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json
::INFO => Mirror status: https://repo.manjaro.org/status.json
::INFO Using custom mirror file
::INFO Querying mirrors - This may take some time
::WARNING No mirrors in selection
::INFO The mirrors has not changed
:: Synchronizing package databases...
 core.db failed to download
error: failed retrieving file 'core.db' from mirrors.piconets.webwerks.in : SSL certificate problem: certificate has expired
error: failed to synchronize all databases (download library error)
    ~                                                            1 ✘  18s 

This worked but it showed some of that china and pakistan I and cant use them because umm yeah but I did sudo pacman-mirrors -f3 and now no error…
THnxxxxx!!!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.