-
Notifications
You must be signed in to change notification settings - Fork 89
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
only remove entries if they are there #294
only remove entries if they are there #294
Conversation
This fixes a problem on fedora. If this check is not done, removing a kernel will fail and the rpmdb will become corrupt, showing multiple entries. (use: "rpm -e --allmatches" to remove them) I bet this hack is imperfect, but it sure is a step in the right direction.
(you can ignore the CI checks. I need to do some cleanup) Thanks! |
No worries, I'm used to it. |
Any idea when we will have a new release with this one? |
That would be nice indeed, on every machine I'm rolling out sbctl I also have to apply this patch or notice kernel uninstalls failing. |
Yes, I've been down with a fever+busy and as a result been behind on my other FOSS work the past week. |
Hey @Foxboron no worries, health always comes first! Not sure what's your internal process to cut out a release but if there's anything I can help with let me know! |
Just got the update in Fedora with the fix though the COPR repo I used. Thanks @Foxboron for merging this and cutting the new release! |
This fixes a problem on fedora.
If this check is not done, removing a kernel will fail and the rpmdb will become corrupt, showing multiple entries. (use: "rpm -e --allmatches" to remove them)
I bet this hack is imperfect, but it sure is a step in the right direction.