Arch failed retrieving file 'community.db' from mirrors.tuna.tsinghua.edu.cn : The requested URL returned error: 404

March 06, 2025 作者: yijianhao 分类: 浏览: 45 评论: 0
[yijianhao@t-book ~]$ sudo pacman -Syyu

[sudo] password for yijianhao:

:: Synchronizing package databases...

 core downloading...

 extra downloading...

 community downloading...

error: failed retrieving file 'community.db' from mirrors.tuna.tsinghua.edu.cn : The requested URL returned error: 404

error: failed retrieving file 'community.db' from geo.mirror.pkgbuild.com : The requested URL returned error: 404

error: failed retrieving file 'community.db' from mirror.rackspace.com : The requested URL returned error: 404

error: failed retrieving file 'community.db' from mirror.leaseweb.net : The requested URL returned error: 404

error: failed to synchronize all databases (unexpected error)

原因是arch已经移除community仓库,还有[community-testing], [testing], [testing-debug], [staging], [staging-debug] 也一并被移除了。

Arch Linux - News: Cleaning up old repositories

/etc/pacman.conf 文件中删除这些仓库就可以了


评论