By OpticFroggy
Hey,
Whilst trying to do some updates on my CentOS server the other day I accidentally removed the package NSS-SoftOkn-freebl. This stopped yum from working so I couldn’t reinstall it (I also tried installing a straight RPM, but couldn’t get that to work either). So after a while of failing I rebooted the machine only to find that now I can’t login, it sits stuck at the “{hostname} login:” terminal and nothing entered works.
I’ve tried booting into recovery mode then mounting the file system, however even though I can do this I cannot then fix the issue as I can’t seem to wget or run rpm etc.
I know the majority of the problem is around libfreebl3.so not existing in /usr/lib64, however I can’t even seem to get a temporary version in there so I can at-least boot up / log in and try and yum install a version again.
Any help would be HUGELY appreciated as currently my only real last resort is to restore a snapshot from ~4 months ago :(
Thanks in advance
Chris
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Unfortunately, there aren’t all that many options as libfreebl3.so is needed for most programs that could be used to download something from the internet. Wget, curl, ect… aren’t going to work. If you’re lucky, you might have a copy of the rpm in /var/cache/yum/ Maybe by some chance you have a program installed that bundles its own copy. Try searching with “find / -iname libfreebl3.so”
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
