Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
2  
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

1 Answer 1

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

 
discard

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.