[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.
sudo dpkg --configure -a
– Stormvirux Mar 11 '14 at 14:57The following packages have unmet dependencies: cmake-curses-gui : Depends: cmake (= 2.8.7-0ubuntu4) E: Unable to correct problems, you have held broken packages. $
– Manas Paldhe Mar 11 '14 at 15:08sudo apt-get check
,apt-cache policy cmake-curses-gui cmake
andcat /etc/apt/sources.list{,.d/*.list}
– Braiam Mar 12 '14 at 00:34I remove cmake and cmake-data, reinstalled them and then installed ccmkake. Worked perfect! I don't know why.
– Manas Paldhe Mar 12 '14 at 01:32