whats the difference between tasksel and normal methods
I guess you must have used the command:
sudo tasksel install lamp-server
You could have also used:
sudo apt-get install lamp-server^
Remember that lamp-server is not a package but a task. Tasksel is generally used to install tasks on your system. Please read its documentation.