Unable to install ccmake
5,250
cmake-curses-gui depends on cmake (= 2.8.7-0ubuntu4) for a precise installation.
If you're unable to install this particular version it means that you installed a different version on your system.
Try first to uninstall cmake:
sudo apt-get remove cmake
And install again cmake-curses-gui:
sudo apt-get install cmake-curses-gui
If it doesn't work check if you're not pulling a different version of cmake from a ppa.
Related videos on Youtube
Comments
-
Manas Paldhe over 1 year
[Preface: I have seen similar questions, but that did not help me and so this new question. To explain in more detail, I followed the steps in How do I resolve unmet dependencies after adding a PPA?, without rectifying the problem]
I am trying to install
ccmake
.However, I get the following error:
sudo apt-get install cmake-curses-gui Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: cmake-curses-gui : Depends: cmake (= 2.8.7-0ubuntu4) E: Unable to correct problems, you have held broken packages.
I tried
sudo apt-get -f install
, but it did not help.I am unable to find broken packages either.
-
Manas Paldhe about 10 yearsYes, I followed that.
-
Manas Paldhe about 10 yearsIt did not sort out my problem and hence I posted another question. :)
-
Stormvirux about 10 yearsdid u try
sudo dpkg --configure -a
-
Manas Paldhe about 10 yearsYes. Still the same error occurs. $ sudo dpkg --configure -a $ sudo apt-get install cmake-curses-gui ** something** Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: cmake-curses-gui : Depends: cmake (= 2.8.7-0ubuntu4) E: Unable to correct problems, you have held broken packages. $
-
Braiam about 10 yearsWhat is the output of
sudo apt-get check
,apt-cache policy cmake-curses-gui cmake
andcat /etc/apt/sources.list{,.d/*.list}
-
Manas Paldhe about 10 yearsI actually solved the problem. Since it is marked as duplicate, I cannot answer the question. I remove cmake and cmake-data, reinstalled them and then installed ccmkake. Worked perfect! I don't know why.
-
-
Manas Paldhe about 10 yearsSame error. How do I confirm that I am not pulling a different version of cmake from a ppa?
-
saiarcot895 about 10 yearsDo
apt-cache policy cmake
. -
Manas Paldhe about 10 yearsInstalled: 2.8.7-0ubuntu4 Candidate: 2.8.7-0ubuntu4 Version table: *** 2.8.7-0ubuntu4 0 500 us.archive.ubuntu.com/ubuntu precise/main amd64 Packages 100 /var/lib/dpkg/status