Unable to get my fedora to boot

I was working with conda environments and then installed libmamba as the default environment solver, and also I installed some package using conda which required sudo. After that the dnf command stopped working (error is in photo). Then I rebooted the system, and then now I’m unable to get it to boot, it gets on a screen Oh no! Something went wrong. Please contact system administrator or something like that. I’m now logged in to terminal after getting to that error screen, using Ctrl + Alt + F3.

Now, I don’t know how to solve this error.

1 Like

You are not telling us on which Fedora version you got this errors ? You can add them by using tags editing the Title.

An important system library may have been replaced with an imposter. We can’t help without more details than “some package”. Use dnf history to get the names of recently installed packages. Note that 3rd party Python packages sometimes break dnf (and other python applications). See the solution to a similar problem in How to fix yum.

Please post terminal output as text (use the </> button) so the error messages, etc., can be found in searches by others who have similar issues. When you don’t have a working GUI, you can save terminal output to a file or use grap a phone with a phone and use OCR (tesseract, etc.) to get text:

# sudo
sudo: error in /etc/sudo.conf, line 8 while loading plugin "sudoers_policy"
sudo: unable to load /usr/libexec/sudo/sudoers.so: /1ib64/libldap.so.2: undefined symbol: EVP_mdZ, version OPENSSL_3.8.0
sudo: fatal error, unable to load plugins

# dnf
Traceback (most recent call last):
File "/usr/bin/dnf", line 61, in <module>
from dnf.cli import main
ModuleNotFoundError: No module named 'dnf'

it was on fedora 39.

I used live usb to reinstall fedora 39, and saving my home and efi directory, so ally files are there. it’s working fine now.

okay got it, will remember next time.

and I fixed the errors by using live usb to reinstall fedora 39, and saving my home and efi directory, so ally files are there. it’s working fine now.

3 Likes