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

yum-cron ignores "exclude" setting when update_cmd = default #131

Open
numericOverflow opened this issue Mar 1, 2023 · 1 comment
Open

Comments

@numericOverflow
Copy link

I want yum-cron to install all updates (security or otherwise) but only exclude a couple critical packages. When running with the following config file, the gh and neo4j packages were still updated, despite being listed in the "exclude" setting. I even tried exact match and wildcard (*) to force it to exclude, but that didn't help.

/etc/yum/yum-cron.conf

[commands]
update_cmd = default

#Exclude updating these packages:
# add additional package filters with a space between each
exclude = neo4j* cypher-shell* gh gh*

I'm running on RHEL

NAME="Red Hat Enterprise Linux Server"
VERSION="7.9 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.9"
@j-mracek
Copy link
Member

j-mracek commented Mar 2, 2023

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