3

I installed multiple versions of openssl (because mysqlconnectorcame with them), but that broke cmake, so I tried re-installing openssl with sudo apt-get remove openssl. However, that apparently removed a lot of dependencies. Can I get these back without reinstalling my operating system? Do I have to re-install them one by one (there are nearly a hundred it looks like)?

Taylor
  • 159

3 Answers3

3

I would suggest you to check history and get results of apt related operations you did using command line by history | grep -i apt command and check at which point or command you purged all libraries. You can do installation of same packages you purged.

Example:

If sudo apt purge openssl command removed your libraries then you can re-install it by sudo apt install openssl command.

By that way it will install all libraries and dependencies automatically which you purged.

KK Patel
  • 19,753
2

I do not see serious problems here.

You should login onto the first text terminal (accessible with Ctrl+Alt+F1) and then install software from here.

Carefully read the contents of APT log-files with more /var/log/apt/history.log and more /var/log/apt/term.log and then install removed packages manually with something like:

sudo apt update
sudo apt install removed-app-name

If your desktop was removed too, then use something like:

sudo apt update
sudo apt install ubuntu-desktop^ # if you had Ubuntu GNOME desktop
#sudo apt install ubuntu-unity-desktop # if you had Ubuntu Unity desktop
#sudo apt install kubuntu-desktop^ # if you had Kubuntu
#sudo apt install ubuntu-mate-desktop^ # if you had Ubuntu with MATE DE
N0rbert
  • 103,263
0

The "Diagnose, Understand, then Fix" method must be done in this order. Must!

"... broke cmake"?

You can find the names of the uninstalled packages in /var/log/apt.

waltinator
  • 37,856