0

So what I did so far was install CMake to configure my CLion so that I can run Valgrind. However, after following a few suggestions, I have encountered this problem and I cannot resolve it.

I installed 3.16 CMake, but I need the newest version of CMake, so I added an apt repo from kitware. But now I am getting the following message when I try to reinstall CMake using apt-get.

I know latest version of Ubuntu include libssl1.1, could that be conflicting with this dependency? how do I let apt detect that I have libssl1.1?

rleung@DESKTOP-HV6P4HF:/mnt/c/Users/ryanl$ sudo apt-get install cmake
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 : Depends: libssl1.0.0 (>= 1.0.2~beta3) but it is not installable E: Unable to correct problems, you have held broken packages. rleung@DESKTOP-HV6P4HF:/mnt/c/Users/ryanl$ apt-cache policy libssl1.0.0 libssl1.0.0: Installed: (none) Candidate: (none) Version table:

1 Answers1

0

I have found the answer to this problem with the help of Karel.

inside sources.list, I needed to add the following repository to get libssl1.0.0

What you need to do is go edit your sources.list using your choice of editor, for my example, I use vim

sudo vim /etc/apt/sources.list

add the following line

deb http://security.ubuntu.com/ubuntu xenial-security main

libssl1.0.0 will now be available to get via apt-get.