Recently when I am trying to install LAMP server in Ubuntu with following command I got error saying that “tasksel: aptitude failed (100)”
$ tasksel install lamp-server
tasksel: aptitude failed (100)
To resolve this issue I explored couple of forums and got to know this because of not running apt-get update even once.
So I ran apt-get update in my Ubuntu OS and after that lamp-server is installed without any issue.