Package 'cmake' has no installation candidate ubuntu 12.04
Solution 1:
I faced the same problem and after googling a bit, I become able to install cmake. I fixed my problem as follow:
sudo apt-get update -y
sudo apt-get update
sudo apt-get install cmake
Solution 2:
Try this:
sudo apt-get update -y
sudo apt-get update
sudo apt-get install cmake -y
I can install it only by adding '-y' in the third line