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

Please add skip_if_unavailable support to repo files #369

Open
cryptomilk opened this issue Dec 27, 2021 · 2 comments
Open

Please add skip_if_unavailable support to repo files #369

cryptomilk opened this issue Dec 27, 2021 · 2 comments

Comments

@cryptomilk
Copy link

Hi,

yum has a features so you can set skip_if_unavailable = true for repositories which are e.g. inside of a VPN and you don't always have access to it.

Thanks for considering.

@ElScotto
Copy link

Given the issues that the Balena Etcher project have had with Cloudsmith periodically blocking downloads from the apt and yum/dnf repositories due to periodic bandwidth overuse, adding skip_if_unavailable support to zypper for SUSE distros is definitely warranted.
It's a real pain when the failure of an RPM or DEB repository/PPA causes an entire "update" or "check-update" run to fail.
Having the package manager be able to automatically "step around" failed or otherwise unavailable package repositories is a good thing as it will at least allow the system administrators to apply available, applicable updates (including security updates) rather than missing them entirely.

@mlandres
Copy link
Member

zypper does a kind of skip_if_unavailable as default (for legacy reasons). A repo failing to be auto-refreshed does not stop the action. You just get 106 - ZYPPER_EXIT_INF_REPOS_SKIPPED if otherwise 0 had been returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants