remove tasksel lamp-server
- by RickyA
I was tricked in running "sudo tasksel install lamp-server" on the wrong server (UBUNTU 10.4).
Now I am stuck with a system where apache won't start because of a "Address already in use: make_sock: could not bind to address 0.0.0.0:80" error.
I now want to remove this task, but documentation on that crappy tasksel says you cant use it to uninstall stuff (!!!???).
My question is where can I see what packages it installed, and how can I get rid of a selection of them (apt-get?). I want to keep apache, but mysql, php and the other stuff can go...
[edit] I managed to get rid of most of the lamp stack. (/var/logs/dpkg.log is usefull for recently installed packages). However it did something in a configuration somewhere, and now two apache intstances start at boottime. Killing the first one and starting a new one gets rid of the "could not bind at adress..." error. Does anyone know where the startup of the first one is configured?