Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I type the command sudo tasksel I get a list of server packages I can install. I only have basic Ubuntu server installed at moment. My version is 12.04. When I select for example samba file server and OK it I get an error. tasksel: aptitude failed (100).

I also get errors trying to sudo apt-get install ubuntu-desktop. (unable to locate package)

I can ping Google and other site and I do seem to have Internet connectivity. Please help.

share|improve this question
seems like your Main repository is disabled. can you post the output of sudo cat /etc/apt/sources.list Or run sudo apt-get update and try again – atenz Aug 13 '12 at 14:31

Run sudo apt-get update && sudo apt-get upgrade to retrieve the update information.

Try to reconfigure the Packages through

 sudo dpkg --configure -a    

And try installing through tasksel, if still then do the above update command and it will resolve .

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.