Skip to content

Instantly share code, notes, and snippets.

@jaqque
Created May 6, 2013 19:27
Show Gist options
  • Save jaqque/5527477 to your computer and use it in GitHub Desktop.
Save jaqque/5527477 to your computer and use it in GitHub Desktop.
for i in `aptitude -F %p search '~i!~E!~M'`; do echo; echo --- $i ---; echo;yes n | sudo aptitude --purge markauto $i; done
@jaqque
Copy link
Author

jaqque commented May 6, 2013

On Ubuntu, install aptitude first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment