-
pacman -Syu mingw-w64-x86_64-gcc mingw-w64-x86_64-ninja |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Tried to execute command The pacman is trying to access the wrong url which does not contains the architecture folder might related to this issue error: failed retrieving file 'msys.db' (Solved on x86_64 Windows 10) |
Beta Was this translation helpful? Give feedback.
-
It seems the configuration in C:\msys64\etc\pacman.d\mirrorlist.msys is wrong. and when I execute the command in msys2, I got new content, which is correct one now the installation works |
Beta Was this translation helpful? Give feedback.
-
@cloudwu We could explicitly change "修改镜像服务器" to "在msys2中修改镜像服务器" |
Beta Was this translation helpful? Give feedback.
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