msys2安装失败问题
msys2安装过程出现以下问题:
error: failed retrieving file 'texinfo-7.1-2-x86_64.pkg.tar.zst.sig' from mirror.nju.edu.cn : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'bison-3.8.2-5-x86_64.pkg.tar.zst.sig' from mirror.nju.edu.cn : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'mingw-w64-ucrt-x86_64-libiconv-1.17-3-any.pkg.tar.zst.sig' from mirror.nju.edu.cn : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
warning: too many errors from mirror.nju.edu.cn, skipping for the remainder of this transaction
error: failed retrieving file 'mingw-w64-ucrt-x86_64-gcc-libgfortran-13.2.0-3-any.pkg.tar.zst.sig' from mirror.nju.edu.cn : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
warning: failed to retrieve some files
error: failed to commit transaction (unexpecte
网络问题:切换清华大学镜像,在命令框里输入如下代码:
setx MSYS2_ENV_CONV_EXCL pacman
setx HTTP_PROXY http://mirrors.tuna.tsinghua.edu.cn:80
setx HTTPS_PROXY https://mirrors.tuna.tsinghua.edu.cn:443
然后重新执行安装过程,发现下载过程明显变快,然后按照安装教程安装即可
文章讲述了用户在安装msys2时遇到的网络问题,特别是从mirror.nju.edu.cn下载文件过慢。解决方案是设置HTTP和HTTPS代理指向清华大学镜像,下载速度显著提升后成功继续安装过程。
4043

被折叠的 条评论
为什么被折叠?



