msys2/msys2-installer

Error when executing 'pacman -Syu'

AbdesamedBendjeddou opened this issue · 3 comments

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

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

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

Thanks