在我最近的每月更新中,我遇到了以下错误:
$ sudo pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from repo.ialab.dsu.edu : SSL certificate problem: certificate has expired
core is up to date
error: failed retrieving file 'extra.db' from repo.ialab.dsu.edu : SSL certificate problem: certificate has expired
extra is up to date
error: failed retrieving file 'community.db' from repo.ialab.dsu.edu : SSL certificate problem: certificate has expired
community is up to date
error: failed retrieving file 'multilib.db' from repo.ialab.dsu.edu : SSL certificate problem: certificate has expired
multilib is up to date
解决此类 SSL 证书过期问题的标准且最可靠的方法是什么?
我正在使用曼杰罗。
答案1
我也遇到了这个问题,但我得到了解决方案:打开添加或删除软件并到达优先而不是改变你的官方存储库到加拿大比刷新镜像列表
现在可能有效
答案2
我发现在我的情况下最方便的解决方案是运行
sudo pacman-mirrors --country Canada,United_States
(您应该将国家/地区列表替换为您所在和附近的任何国家/地区。)这将自动更新/etc/pacman.d/mirrorlist
.
我随后找到了这篇文章,其中更详细地介绍了pacman-mirrors
:https://www.fosslinux.com/4252/how-to-find-mirror-list-and-set-fastest-download-server-on-manjaro.htm