我正在尝试运行“ pacman -syu”命令。在“ msys2”上而且它没有工作

发布于 2025-02-08 21:37:54 字数 965 浏览 3 评论 0原文

我刚刚安装了MSYS2的Window64版本,然后尝试更新运行“ Pacman -syu”命令的软件包数据库和基本软件包。 我会遇到这个错误:

$ pacman -Syu
:: Synchronizing package databases...
 mingw32.db failed to download
 mingw64.db failed to download
 ucrt64.db failed to download
 clang32.db failed to download
 clang64.db failed to download
error: failed retrieving file 'mingw32.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'mingw64.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'ucrt64.db' from mirror.msys2.org : SSL connection timeout
warning: too many errors from mirror.msys2.org, skipping for the remainder of this transaction
error: failed retrieving file 'clang32.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'clang64.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'mingw32.db' from repo.msys2.org : SSL connection timeout

如果有人有一个想法,我会很感激。

I just installed the window64 version of msys2 and I try to update the package database and base packages running the "pacman -Syu" command.
I get this error :

$ pacman -Syu
:: Synchronizing package databases...
 mingw32.db failed to download
 mingw64.db failed to download
 ucrt64.db failed to download
 clang32.db failed to download
 clang64.db failed to download
error: failed retrieving file 'mingw32.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'mingw64.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'ucrt64.db' from mirror.msys2.org : SSL connection timeout
warning: too many errors from mirror.msys2.org, skipping for the remainder of this transaction
error: failed retrieving file 'clang32.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'clang64.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'mingw32.db' from repo.msys2.org : SSL connection timeout

if anyone has an idea i would appreciate it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

空城旧梦 2025-02-15 21:37:54

这可能是DNS解析器问题。您的/etc/resolv.conf中有什么?

在IPv4中,众所周知。

转到 / etc / Directory并编辑resolv.conf文件

设置这些DNS服务器,然后尝试:

名称服务器8.8.4.4
名称服务员8.8.8.8

It could be a DNS resolver issue. What is in your /etc/resolv.conf?

In IPV4, this is known to work well.

go to /etc/ directory and edit resolv.conf file

set these DNS servers and try them:

nameserver 8.8.4.4
nameserver 8.8.8.8

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文