Created
February 4, 2022 21:35
-
-
Save jornane/60bd0b8d3269f05a953bdfe9e49561ba to your computer and use it in GitHub Desktop.
Completely reset pkg and all packages in FreeBSD
This file contains 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
# Running this WILL make you cry. | |
# You have been warned. | |
rm -rf \ | |
/usr/local/etc \ | |
/usr/local/include \ | |
/usr/local/lib \ | |
/usr/local/libdata \ | |
/usr/local/man \ | |
/usr/local/sbin \ | |
/usr/local/share \ | |
/var/db/pkg/local.sqlite |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment