Skip to content

Instantly share code, notes, and snippets.

View Kiuhbit's full-sized avatar

Kiuhbit

  • United Kingdom
  • 17:39 (UTC +01:00)
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' ')