error: failed retrieving file 'mingw-w64-ucrt-x86_64-openssl-3.2.0-1-any.pkg.tar.zst' from mirror.msys2.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'mingw-w64-ucrt-x86_64-gettext-0.22.4-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 (unexpected error)
Errors occurred, no packages were upgraded.
im getting these errors and i dont know what to do i was just following the instructions on the vs code website (btw im new to programming)
i tried to install mingw thru msys2 and i was expecting it to install but these errors popped up
Either you have a really slow connection or you have something in your network slowing it down, like for example a firewall that download and scans the download before giving it to you and in the mean time keeps your connection going at a slow rate.
Normally this works unless it takes that system longer than the configured timeout in the client software (I presume pacman
in this case).
In case the download is cached retrying the command some time later might help.
But pacman
has an option --disable-download-timeout
which will probably do the trick (though the download may still take quite a while).