Community.db failed to download - How do I resolve this?

Umm… guilty, I guess? How do I resolve this?

    ~  sudo pacman -Syyu                                                                                                     ✔  3s   1  
:: Synchronizing package databases...
 core                                                       139.9 KiB   307 KiB/s 00:00 [###################################################] 100%
 extra                                                        8.3 MiB  3.13 MiB/s 00:03 [###################################################] 100%
 community.db failed to download
error: failed retrieving file 'community.db' from mirror.csclub.uwaterloo.ca : The requested URL returned error: 404
error: failed retrieving file 'community.db' from ridgewireless.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'community.db' from edgeuno-bog2.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'community.db' from manjaro.mirrors.lavatech.top : The requested URL returned error: 404
error: failed retrieving file 'community.db' from mirror.init7.net : The requested URL returned error: 404
error: failed retrieving file 'community.db' from mirror.raiolanetworks.com : The requested URL returned error: 404
error: failed retrieving file 'community.db' from ftp.tsukuba.wide.ad.jp : The requested URL returned error: 404
error: failed retrieving file 'community.db' from mirror.netcologne.de : The requested URL returned error: 404
error: failed to synchronize all databases (failed to retrieve some files)

3 Likes

community no longer exists.
Removing community from /etc/pacman.conf or replacing it with /etc/pacman.conf.pacnew will solve the problem.

7 Likes

The solution is discussed in several places; you need to comment out or remove the community lines from /etc/pacman.conf and then run sudo pacman-mirrors -f

See this post for instance: Tried to to update my system and I get this error - #9 by jeanmarc

and here

4 Likes

Thanks guys, updating mirrors now.

UPDATE: Ugh, electron dependency hell now…

The current Electron version is electron34.

All previous versions should be removed if they are not needed and any packages from the AUR depending on Electron should be rebuilt.

All being well your update should progress without issue.

Note that if you are using packages that do not yet support electron34 you can likely find them in binary form via the AUR – for example electron30-bin.

Regards.

1 Like

Note that electron32 remains in extra, and that code and drawio-desktop still depend on it.

electron33 also remains in extra, and is needed by bitwarden, obsidian, and zettlr.

2 Likes

Thx all. I had to remove 28, 29, and 30 IIRC, but update went smoothly after that.

There’s also electron27 and electron31 in extra.

34 is there twice as electron and electron34, however they may be different versions, 1:34-1 vs 34.2.0-1. :man_shrugging:

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

Yes, just removed electron28/29/30 to process the update.