msys2-pacman
msys2-pacman copied to clipboard
Supress error message in case of a failing mirror
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.
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?
Updated my issue as this is not an "error", but an information message
Seems reasonable. I'd report this upstream though: https://gitlab.archlinux.org/pacman/pacman/-/issues