msys2-pacman icon indicating copy to clipboard operation
msys2-pacman copied to clipboard

Supress error message in case of a failing mirror

Open koppor opened this issue 5 years ago • 3 comments
trafficstars

I get following error(s)

error: failed retrieving file 'mingw64.db' from repo.msys2.org : Connection timed out after 10000 milliseconds
error: failed retrieving file 'msys.db' from repo.msys2.org : Connection timed out after 10000 milliseconds
error: failed retrieving file 'libatomic_ops-7.6.10-1-any.pkg.tar.xz' from repo.msys2.org : Connection timed out after 10000 milliseconds

Down for Everyone or Just Me reports (https://downforeveryoneorjustme.com/repo.msys2.org)

It's not just you! repo.msys2.org is down.

~~Stackoverflow says that one should configure a mirror somewhere. I don't know where these configuration is hosted when using this action. Therefore the question:~~

~~Is it possible to add a configuration option mirror:. One could place a mirror from https://github.com/msys2/MSYS2-packages/blob/master/pacman-mirrors/mirrorlist.msys.~~

Since everything installs fine, the wish is that the error message should be info. Quick and dirty propsoal:

info: failed retrieving file 'libatomic_ops-7.6.10-1-any.pkg.tar.xz' from repo.msys2.org : Connection timed out after 10000 milliseconds. Could download the file from somehwere else.

koppor avatar Oct 03 '20 21:10 koppor

It would be possible to add a default mirror as suggested in October 4, 2020 1:06 PM. However, I think that's an undesirable patch: changing one URL with another by specifying it manually. Instead, the availability of a given mirror should be checked and skipped. It seems that rankedmirrors might be used: October 3, 2020 10:36 PM. Moreover, pacman might handle it soon: October 3, 2020 9:25 PM.

@lazka, wdyt?

eine avatar Oct 04 '20 12:10 eine

Updated my issue as this is not an "error", but an information message

koppor avatar Oct 04 '20 17:10 koppor

Seems reasonable. I'd report this upstream though: https://gitlab.archlinux.org/pacman/pacman/-/issues

lazka avatar Feb 26 '21 07:02 lazka