-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RHELC-899] Prevent packages marked for update to reinstall (#833)
* Prevent packages marked for update to reinstall During our transaction handler, some packages were trying to be reinstalled/downgraded on the system without necessity, as they were already marked for update. This patch prevents those packages marked for update to be reinstalled or downgraded in further cases. Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com> * Add integration tests Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com> * Modify the test * change the test to be able to install tracked packages Signed-off-by: Daniel Diblik <ddiblik@redhat.com> * Try yum check-update * try yum check update to verify if package lands on latest version * add list of packages relevant for Oracle Linux 7 Signed-off-by: Daniel Diblik <ddiblik@redhat.com> * Override releasever for CentOS 8.5 * we need to point the yum check-update to the correct minor Signed-off-by: Daniel Diblik <ddiblik@redhat.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com> Signed-off-by: Daniel Diblik <ddiblik@redhat.com> Co-authored-by: Daniel Diblik <ddiblik@redhat.com> Co-authored-by: Daniel Diblik <8378124+danmyway@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
639151a
commit 62a6492
Showing
9 changed files
with
274 additions
and
324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.