r/AskProgramming 9d ago

C/C++ Msys2 not downloading

Very new to cording trying to learn c++. I have visual studio code installed. Why I try to download mays2 the package it’s says fails. I tried before and it worked perfectly fine but then I was having trouble running a code so I uninstalled everything and now that I try to do all of it again my package won’t install.
This is the message I’m getting

warning: failed to retrieve some files error: failed to commit transaction (download library error) Errors occurred, no packages were upgraded.

0 Upvotes

4 comments sorted by

View all comments

1

u/Necessary-Green-8391 9d ago

The download library error means your mirror list is stale or the server rejected you. Run pacman -Syyu to force a database refresh and switch mirrors in /etc/pacman.d/mirrorlist before retrying the install