try install cmake instead of upgrade all.