I just did sth stupid … I removed via “sudo dnf remove xz*” in Rawhide.
Because it is only test system for me, there is no risk of losing data.
But after removing xz* … system started to be irresponsible.
I tried to reinstall/install xz* but … dnf stopped working.
So I tried to install xz* as compilation (configure and then make). Not possible (no gcc and g++ compiler in system)
I tried to install any *.rpm … not working because decompression/compression libraries were not working.
System is not starting now … probably because there is no way to decompress sth at the start.
So I stacked in this point.
I started to think what to do in such situation?
I do not want to do fresh install [easy way]
I would like to fix this installation and restore links/config files… on direct partition where this rawhide is installed.
What is the best way to deal in such situations.
System is not starting [there is no stress I have time, no important data]
Yeah, but how to fix it when nothing works and nothing starts … Just Fedora Start Screen and that’s all.
Disconnect from network (especially if your network has direct internet connection) and make notes of post-install configuration steps. Wipe and reinstall (with new secrets).
If your system was directly connected to the internet while one of the “bad” xz versions was installed you should assume any secrets are now known by others.
The “bad” version of xzcreate an amazingly scary backdoor in sshd, so just reinstalling an older version of xz may not be enough to restore proper operation.