小编ocd*_*001的帖子

Void linux XBPS 破解:证书验证失败

我安装了我的第一个发行版:Void Linux,没有任何桌面环境的版本。我的 wifi 正常工作,包管理器 (xbps) 工作正常;我安装了 htop、i3 等没有问题的东西。我今天启动了我的电脑并想安装 git。

sudo xbps-install -S git
Run Code Online (Sandbox Code Playgroud)

这同样适用于任何安装命令,例如:

sudo xbps-install -Su
Run Code Online (Sandbox Code Playgroud)

我在 root 或普通用户中遇到了同样的问题。

它说:

Updating (some url) ...
Certificate verification failed for (some other url)
SSL_connect returned 1
ERROR: failed to fetch file (url of first line): Operation not permitted.
Run Code Online (Sandbox Code Playgroud)

自昨天以来我没有改变任何东西,当时它工作正常。我只在谷歌上找到了这个:

https://github.com/voidlinux/void-packages/issues/14465 https://github.com/voidlinux/xbps/issues/224

对于第一个链接,我没有 xtools,也没有这个文件:

/var/cache/xbps/ca-certificates-20170717_2.noarch.xbps
Run Code Online (Sandbox Code Playgroud)

所以我无法复制它。对于第二个链接:

sudo update-ca-certificates
Run Code Online (Sandbox Code Playgroud)

没有解决任何问题。它说:

0 added, 0 removed; Done.
Run Code Online (Sandbox Code Playgroud)

我尝试使用另一个 repo 镜像,但它似乎无法识别那些。我使用https://alpha.de.repo.voidlinux.org/current

从这一点我不知道该怎么做。

package-management certificates void-linux

3
推荐指数
3
解决办法
4088
查看次数