Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supress error message in case of a failing mirror #55

Open
koppor opened this issue Oct 3, 2020 · 3 comments
Open

Supress error message in case of a failing mirror #55

koppor opened this issue Oct 3, 2020 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@koppor
Copy link

koppor commented Oct 3, 2020

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.
@eine
Copy link

eine commented Oct 4, 2020

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 eine added enhancement New feature or request help wanted Extra attention is needed labels Oct 4, 2020
@koppor koppor changed the title Support configuring a mirror Supress error message in case of a failing mirror Oct 4, 2020
@koppor
Copy link
Author

koppor commented Oct 4, 2020

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

@lazka
Copy link
Member

lazka commented Feb 26, 2021

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

@lazka lazka transferred this issue from msys2/setup-msys2 Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants