-
Notifications
You must be signed in to change notification settings - Fork 113
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
Add option --minus-repo #576
Comments
If I understand your request properly, what you need is to add software specific repos that you'd like avoid checking automatically, with |
I don't think so. zypper --disable-repositories up does disable ALL repositories. I'm searching for zypper --disable-repositories=repo1,repo2 up which still activates all the others, only not the two given ones. Currently I do this with a temporary rename of the repo file in /etc/zypp/repos.d, but that's a crude workaround. |
Your solution with disabling repositories is another workaround, but compared to the yum solutions it is still only a workaround. I also tried that and it has other issues, because the repo is usually disabled. Essentially I normally want the repos enabled, only for certain commands I want them disabled, so I'm sure that nothing bad happens. |
When doing a "yum update" there is an option --disablerepo, which can be used to disable certain repos which you don't want to update (i.e. when you want to check these manually).
Yast has an option "--plus-repo", but no "--minus-repo".
Please add an similar option to yum to disable certain repos for the time of the current operation.
Rationale: When you add a software specific repo (e.g. google chrome, jitsi, ...) they usually only contain newest version. It would be good to have an easy way to disable these for an update call and only install fresh security updates.
The text was updated successfully, but these errors were encountered: