-
Notifications
You must be signed in to change notification settings - Fork 62
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
Prolonged GPG keys are not updated on the system #2894
Comments
|
Way around:
Is there a way to automatize this? |
Mirek claims that DNF and RPM has a separate gpg key database |
From Mirek, see also: https://bugzilla.redhat.com/show_bug.cgi?id=1768206 |
See also discussion in #2935 -> that might open a door for very fast RPM re-signing. |
Triage: We probably need to solve this in the DNF Copr plugin |
Related RPM discussion: rpm-software-management/rpm-sequoia#50 (comment) |
Triage time:
|
For the record, this happened to me with korkeala/clojure, we also got Matrix report about agriffis/neovim-nightly and Reddit post here https://www.reddit.com/r/Fedora/comments/181omz0/how_to_fix_expired_gpg_keys_on_old_copr_repos/ |
New ticket against DNF4 rpm-software-management/dnf#2075 |
I've hit this issue too. As an aside, I greped a few repos to find this typo and I couldn't. If anyone could point me to that code I'd be interested, thanks! |
Hello @purpleidea, I am not sure what typo do you mean and what code are you interested in. But here are few relevant links for you :-)
We keep this Copr issue open so that users know this can happen and use it as a starting point but there isn't actually any relevant bug in Copr. Everything needs to be fixed on the Dnf and RPM side of things. |
Current status:
|
I submitted a PR rpm-software-management/dnf#2166 |
Change proposal for F42 - https://fedoraproject.org/wiki/Changes/Dnf5ExpiredPGPKeys |
Kept open just to track Jakub's PR against DNF4 |
PR merged. Closing, nice! |
@praiskup Is this issue solved also when using DNF5 which is default in current Fedora? |
@TomaszGasior, no, unfortunately F41 is the one weird release in-between fixes. F39 with DNF4 has a plugin to remove the expired keys F42+ with DNF5 should have this behavior in the DNF itself and enabled by default On F41 you should IMHO be able to use the DNF4 plugin even if you use DNF5 as your main package manager. But as a user, you have no way of knowing about it. |
That's important issue. Can we somehow fix it? Maybe some noticeable message in COPR website? |
I agree with you that it is, that's why I submitted the PR for DNF4 to improve the error message :-) But no, I don't think there is anything we can do for F41. We are constrained by the fact that DNF5 is the default package manager and the feature is not yet implemented there. It should be ready for F42 and enabled by default, so there won't be any need to discover this in a short future. Someone could improve the DNF5 error message for F41 specifically, to recommend the DNF4 plugin, but this brings additional issues (e.g. what if DNF4 isn't installed?). So I think it's not worth it, given the fact, RPM, Yum, and DNF have had this issue from the very beginning. Leaving F41 as the only not-fixed version is something I can live with :D Though, I am not trying to discourage anyone from improving the situation on F41. If anyone is interested, please do so. Feel free to ping me off-list, I can give you some pointers. But I am not planning to work on it any further, and I think the rest of the Copr team isn't either. |
The text was updated successfully, but these errors were encountered: