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

offline-upgrade with security filters differs from regular upgrade with security filters #564

Open
kontura opened this issue Oct 31, 2024 · 0 comments

Comments

@kontura
Copy link
Contributor

kontura commented Oct 31, 2024

The difference is that offline-upgrade is the same as upgrade --minimal this might confuse some users.

The behavior is configured here: https://github.com/rpm-software-management/dnf-plugins-core/blob/master/plugins/system_upgrade.py#L475, to match upgrade default it should specify cmp_type=gte argument.

kontura added a commit to kontura/ci-dnf-stack that referenced this issue Nov 4, 2024
The dnf4 version uses the `--minimal` behavior by default, reported as:
rpm-software-management/dnf-plugins-core#564

dnf5 has the `--minimal` flag available even for `offline-upgrade` and
its default behavior matches `upgrade` command (upgrading to the highest
available version).
jan-kolarik pushed a commit to rpm-software-management/ci-dnf-stack that referenced this issue Nov 18, 2024
The dnf4 version uses the `--minimal` behavior by default, reported as:
rpm-software-management/dnf-plugins-core#564

dnf5 has the `--minimal` flag available even for `offline-upgrade` and
its default behavior matches `upgrade` command (upgrading to the highest
available version).
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

1 participant