Hello Guys,
I was trying to install tasksel in order to install Ubuntu desktop (https://www.milesweb.com/forums/how-to%27s/how-to-install-gui-enable-remote-gui-on-ubuntu/) but for some reason it was thowing me this error.
Quote# sudo apt-get install tasksel
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package tasksel
Solution :-The simple solution that worked for me is update the system and then perform install tasksel.
Quote#apt-get update
& after update system fire below command.
Quote#apt-get install tasksel
It should be install the package and work fine.
Enjoy !!