XY Problem detected: You initially asked about your attempted solution rather than your actual problem. This normally leads to enormous amounts of wasted time and energy, both on the part of people asking for help, and on the part of those providing help.
In this case, @mithrial saved your bacon (so to speak) to recover from an issue that should have never occured to begin with.
Noted, thank you for taking the time to instruct me how to make proper posts here. I will post my initial problem in a sperate post. however here I wanted someone to save me from the mistake I made, as I am new to linux.
In the future… don’t just delete system files. It is very rarely a good idea. Actually the only case i can imagine to delete a file that is not a config on the root manually is to remove lock files after an interrupted update. I know absolutely no situation in which one can manually delete libraries and that ends good. For a conflict there is a reason and one resolves the reason and not the symptom.