msys2 / msys2-installer

The one-click installer for MSYS2
BSD 3-Clause "New" or "Revised" License
561 stars 87 forks source link

Error when executing 'pacman -Syu' #49

Closed AbdesamedBendjeddou closed 2 years ago

AbdesamedBendjeddou commented 2 years ago

after installing MSYS2 in the default folder and running it, executing the command 'pacman -Syu' result in the following error: 'error: no usable package repositories configured.'

Windows 11 x64 build 22621.160 Msys2 installer for Windows release of 2022-06-03

lazka commented 2 years ago

The output of pacman -Suy --debug might also be helpful. And if pacman -Qkq outputs any errors

AbdesamedBendjeddou commented 2 years ago

sorry forget to come here after finding the issue. the reason of this error was that the installer hasn't been downloaded correctly cause of spotty internet. redownloading the file fixed the issue

lazka commented 2 years ago

Thanks