36 hours ago
I am very new to Ubuntu and to rails. I tried to do a bundle install after installing rails through rvm, but I had an error back with the openssl. I looked online for a solution and I uninstalled the openssl with this command sudo apt-get remove --purge openssl
After that chrome and software center disappeared, I am not able to even install the software center and I have this message back when I try to do so.
Package software-center is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'software-center' has no installation candidate
How can I fix it?
15 hours ago
Hmm, that's rough. You might want to try downloading the package manually (on another computer or via the live disc) from the Ubuntu packages site. Here's how I'd do it.
sudo dpkg --get-selections | grep install | grep -e libc6 -e libssl1.1
sudo dpkg -i <OPENSSL_PACKAGE>.deb
sudo apt update && sudo apt dist-upgrade
That should resolve your issue without you needing to reinstall your system, but I haven't tested it myself.
If you get into a chain of missing dependencies and you don't know the order in which to install the packages, it looks like there is a script to help with that.