Skip to content

Fix dnf history commands to work on fedora#35

Merged
zzambers merged 1 commit intorh-openjdk:mainfrom
zzambers:dnf-history-fix
Oct 7, 2025
Merged

Fix dnf history commands to work on fedora#35
zzambers merged 1 commit intorh-openjdk:mainfrom
zzambers:dnf-history-fix

Conversation

@zzambers
Copy link
Collaborator

@zzambers zzambers commented Oct 7, 2025

Dnf history commands currently don't work on fedora, causing itwBundledLocal tests to fail. Argument 0 does not match anything on fedora. Also --skip-broken is no longer supported by recent dnf on fedora.

Fixed by using argument last instead of 0 in dnf history. (found in article, tested on f42 and rhel-8) Yum on rhel-7 does not support argument last, so there code kept as it is.

@judovana
Copy link
Collaborator

judovana commented Oct 7, 2025

I do nothave strong option here. I'm wondering that some itwBundledLocal still runs.... Ok to go onc GH passes. Thaxn!

@zzambers
Copy link
Collaborator Author

zzambers commented Oct 7, 2025

I do nothave strong option here. I'm wondering that some itwBundledLocal still runs.... Ok to go onc GH passes. Thaxn!

It still runs on fedoras and rhels < 9

@zzambers
Copy link
Collaborator Author

zzambers commented Oct 7, 2025

tests OK, merging

@zzambers zzambers merged commit 15a2dbc into rh-openjdk:main Oct 7, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants