Skip to content

Install gcc and ninja failed through the mirrors.tuna.tsinghua.edu.cn #28

Closed Answered by chucklu
chucklu asked this question in Q&A
Discussion options

You must be logged in to vote

It seems the configuration in C:\msys64\etc\pacman.d\mirrorlist.msys is wrong.
The second step 修改镜像服务器 should be executed under msys2, I mistakenly executed it in cmd.exe, which caused the issue.
and file content become
Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/msys//

and when I execute the command in msys2, I got new content, which is correct one
Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/$arch/

now the installation works

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by chucklu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant