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

How do I set zypper-automatic to install *all* available patches? #1

Open
jdrch opened this issue Nov 7, 2022 · 2 comments
Open

How do I set zypper-automatic to install *all* available patches? #1

jdrch opened this issue Nov 7, 2022 · 2 comments

Comments

@jdrch
Copy link

jdrch commented Nov 7, 2022

Hi, just wondering the above. It would seem from reading the zypper docs linked to that patch_categories = optional would do the trick, but I just want to make sure.

@losuler
Copy link
Owner

losuler commented Nov 9, 2022

You could test by running the command this script does, with and without --category optional and see, but admittedly I only ever used this (besides testing back when I wrote this) without specifying category.

command = ["zypper", "patch", "--no-confirm", "--details"]

Based on the man page, it says that specifying --category will "List only patches with this category"1. I think maybe what you're after is what --with-optional provides:

Note that the patch command does not apply optional patches (category optional or feature) by default. If you actually want to consider all optional patches as being needed, say patch --with-optional.

Footnotes

  1. https://en.opensuse.org/SDB:Zypper_manual

@jdrch
Copy link
Author

jdrch commented Nov 10, 2022

Thanks very much. I'm gonna try yast2's online update config and see how that works out.

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

2 participants