Reputation: 41
I am trying to setup msys2 as mentioned here. When i do the step 5 to run the "pacman -Sy pacman", it reports that
error: failed retrieving file 'mingw32.db' from repo.msys2.org : The requested URL returned error: 403
error: failed retrieving file 'mingw32.db' from downloads.sourceforge.net : The requested URL returned error: 403
error: failed retrieving file 'mingw32.db' from www2.futureware.at : The requested URL returned error: 403
I am running this under a network with authenticated proxy and i have already configured the proxy settings as mentioned here before running the "pacman" commands.
In the same shell, i ran the "pacman" with --debug option to get the URL of "mingw32.db" and tried to manually download that using "curl" as
curl -O http://repo.msys2.org/mingw/i686/mingw32.db
This is able to download the file. So i assume my proxy setup is fine in the msys2 shell.
I am not sure why "pacman" is not able to download the file by itself as it internally uses "curl".
Any hints on what is wrong here?
Upvotes: 2
Views: 5511
Reputation: 1
I had similar issues. The mys2
curl package didn't work, but the mingw
version did.
XferCommand = /mingw64/bin/curl -L -C - -f -o %o %u
Upvotes: 0