Ubuntu: Tasksel cannot be installed [closed]


I am trying to install tasksel in order to install LAMP but for some reason it always gives me this error:

E: Unable to locate package tasksel  root@TheShop:~# sudo apt-get install tasksel  Reading package lists... Done  Building dependency tree         Reading state information... Done  E: Unable to locate package tasksel  root@TheShop:~#   


first try to sudo apt-get update

after that, try to install it from Ubuntu software center

if you still have problem, post it by editing your questions


Did you try aptitude instead of apt-get?

sudo aptitude update  sudo aptitude show tasksel  

I always use aptitude, gives a lot of useful information. See also this thread on severfault


sudo aptitude install tasksel seems to work in natty

As a tip change install to search to check if package is available


I have been through the same problem.

The simple solution that worked for me is to set up software sources to download from "Main Server".

One way to get to the "software sources" window is as follows:

  • Start Ubuntu Software Centre
  • Go to the Edit menu
  • Select Software Sources
  • Change download from to the "Main Server"
  • Then write these commands one by one in terminal:

    sudo apt-get update  sudo apt-get install tasksel  

Thats it.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »