-
Notifications
You must be signed in to change notification settings - Fork 94
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 info about refreshing software repositories #584
Conversation
@juliogonzalez or @mcalmer can you please confirm that we actually need a strategic |
I would say "no". At least 'zypper patch' should do it automatically and I think 'zypper list-patches' should do it as well. |
All I can tell is that I always manually run zypper ref before running zypper in, zypper up, etc... Just in case. But could be because I am a long time Debian user, where we need to refresh the metadata :-) So I agree with @mcalmer, check with zypp guys. |
It depends on how autorefresh is configured for the repos!
So if you know all enabled repos have autorefresh on, you don't need an explicit refresh. Otherwise you do (unless you know the repos do not contribute to the command). |
The default no-repo-refresh-again timeout is |
Michael Andres <notifications@github.com> writes:
It depends on how autorefresh is configured for the repos!
Thanks for clarification. I think the default is autorefresh enabled.
Thus by default we do not need 'zypper ref' here. I'll add a trouble
shooting section.
…--
Karl Eichwalder
|
I added a note and consider it ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some suggestions to reduce the verbiage.
Lana Brindley <notifications@github.com> writes:
// We can remove the version info when 4.1 / 2020.07 is released
these have been released?
yes, but i want to keep it separate from this PR ;)
…--
Karl Eichwalder
|
Co-authored-by: Lana Brindley <lbrindley@suse.de>
Co-authored-by: Lana Brindley <lbrindley@suse.de>
@Loquacity, @mcalmer, and @juliogonzalez , and now the question is whether we want to add this note everywhere where we have this or a similar procedure? |
I think that could easily get out of hand. Let's save it for places where we know it's confusing. |
Lana Brindley <notifications@github.com> writes:
I think that could easily get out of hand. Let's save it for places
where we know it's confusing.
Ok, agreed by my side.
…--
Karl Eichwalder
|
How many places do we have where we describe to call zypper cli directly? I think when you just find one more place, just duplicate it. If it is more, we might want to check if these descriptions are correct and needed at all. |
You are right. With grep, I find it just a 2nd time. I guess I'll duplicate it. |
It was the "or similar procedure" that made me think it would get out of hand 😉 |
uyuni-project/uyuni#2645
https://github.com/SUSE/spacewalk/issues/12612
Description
Short summary of why you created this PR
Target branches
Which product version does this PR apply to?
Links
Fixes #<insert issue or PR link, if any>