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

only remove entries if they are there #294

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

hboetes
Copy link
Contributor

@hboetes hboetes commented Mar 21, 2024

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.

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.
@Foxboron
Copy link
Owner

(you can ignore the CI checks. I need to do some cleanup)

Thanks!

@hboetes
Copy link
Contributor Author

hboetes commented Mar 21, 2024

No worries, I'm used to it.

@Foxboron Foxboron merged commit 01fcf88 into Foxboron:master Apr 22, 2024
2 of 6 checks passed
@jeduardo
Copy link

jeduardo commented May 3, 2024

Any idea when we will have a new release with this one?

@hboetes hboetes deleted the do_not_remove_if_it_is_not_there branch May 3, 2024 16:43
@hboetes
Copy link
Contributor Author

hboetes commented May 3, 2024

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.

@Foxboron
Copy link
Owner

Foxboron commented May 3, 2024

Yes, I've been down with a fever+busy and as a result been behind on my other FOSS work the past week.

@jeduardo
Copy link

jeduardo commented May 3, 2024

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!

@jeduardo
Copy link

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!

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.

3 participants