I want to reverse all my Ubuntu modifications and return the system to factory settings. I've installed useless stuff and now I want to uninstall everything I manually installed/factory reset.. Is there a way to do that?
I read this article, Reinstall Ubuntu from command line, and it told me to run this:
sudo dpkg-reconfigure -phigh -a
sudo apt-get install -f
But Ubuntu can't figure out even what the first one means. It tells me
unknown option -a. If you have another way of reinstalling Ubuntu to factory settings I would love to hear it!