Created
May 9, 2025 10:07
-
-
Save theodric/4e66e10d238d78dd93fb0dffc33ae3c4 to your computer and use it in GitHub Desktop.
Gets rid of all leftover unattached package cruft
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt-get -yf remove --purge $(dpkg -l | awk '/^rc/{print $2}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment