Can't reach repo.msys2.org

纵饮孤独 提交于 2020-06-17 15:03:12

问题


I'm trying to set up MSYS2 on Windows 10 but I'm getting the following error when running pacman -Syu

error: failed retrieving file 'mingw32.db' from repo.msys2.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds

I've tried pacman -Sy, pacman -Syuu, pacman -S, pacman-mirrors, pacman -Su, pacman -Syu --disable-download-timeout, and I've tried running autorebase.bat. I've also tried using command prompt to ping repo.msys2.org and get no response.


回答1:


I think something is down with the repo.msys2.org repository right now. This is happening on several CI Builds and local installations. When this has happened before it usually clears up later. So I would try again in a couple hours.




回答2:


Temporary workaround as long as the server is down: Uncomment the repo.msys2.org mirror from your \etc\pacman.d files (were in C:\tools\msys64\etc\pacman.d for me).



来源:https://stackoverflow.com/questions/60562004/cant-reach-repo-msys2-org

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!