"No Installation Candidate" when trying to install build-essential
Problem solved. In Ubuntu Software Center >> Edit >> Software Sources, I changed the server to Main Server and then run sudo apt-get update
. Then sudo apt-get install build-essential
which worked.