无法从 repo.msys2.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds 获取文件

错误如下:
pacman -S make gcc diffutils

:: 正在获取软件包......
错误:无法从 repo.msys2.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
获取文件 'binutils-2.30-1-x86_64.pkg.tar.xz'


解决办法就是使用镜像
/etc/pacman.d/mirrorlist.mingw32
Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686


/etc/pacman.d/mirrorlist.mingw64
Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/x86_64


/etc/pacman.d/mirrorlist.msys
Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/$arch

刷新
pacman -Syu

原文链接:https://blog.csdn.net/quantum7/java/article/details/105388653

posted @ 2020-05-07 21:53  天道酬勤DW  阅读(1633)  评论(0编辑  收藏  举报