Skip to content

Instantly share code, notes, and snippets.

View kiuhbit's full-sized avatar

kiuhbit

View GitHub Profile
@vwbusguy
vwbusguy / dnf-fix-dupes
Created June 8, 2019 04:50
Remove duplicates after a botched dnf upgrade
# Use at your own risk! You should try `dnf remove --duplicates` first. Use this as a last resort.
sudo rpm -e --nodeps $(sudo dnf check 2>/dev/null | grep duplicate | cut -f1 -d' ')