When I type the command sudo tasksel, I get a list of server packages that I can install. I only have the 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. How can I fix this?