If you can get your hands on the machine, it's probably best to just reinstall with a netinstall CD, then in tasksel unselect all groups except "base system".
You could try dpkg --get-selections > packages.txt and then change everything you want to remove from "installed" to "purge". Then do a dpkg --set-selections < packages.txt.
Or you could try install tasksel from the repos and uncheck all the boxes.
Or if you don't care about the hard disk space, you could simply modify the init scripts so that nothing starts up at boot.
Last edited by pljvaldez; 01-30-2012 at 01:55 PM.
|