Update error: failed do sync database

I was trying to update the system and the following error keeps showing up:

[solanaceae@solanaceae-Acer ~]$ sudo pacman -Syyuu
[sudo] senha para solanaceae: 
:: Sincronizando a base de dados de pacotes...
 core                  169,6 KiB  64,8 KiB/s 00:03 [######################] 100%
 extra                1892,8 KiB   140 KiB/s 00:14 [######################] 100%
 community               6,6 MiB   541 KiB/s 00:12 [######################] 100%
 multilib              174,6 KiB   514 KiB/s 00:00 [######################] 100%
 custom.db falhou em ser baixado
erro: falha ao obter o arquivo "custom.db" de disco : Couldn't open file /home/custompkgs/custom.db
error: failed to sync all databases (download library error) 

I’ve tried to update the mirrors, clean the cache… nothing worked so far. Any clues on what to do is appreciated!

Welcome here, @ehine,

remove or comment out (by adding “#” at the begin of the line) your custom.db entries in your /etc/pacman.conf file, then reboot and then try

sudo pacman-mirrors -f && sudo pacman -Syyu

Thank you for your reply!

I’ve tried your suggestion edit: properly this time, and it worked! Thank you kind stranger :smiley:

1 Like

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