TecMint published a tutorial about how to fix broken Ubuntu OS without reinstalling it.
How To Fix Broken Ubuntu OS Without Reinstalling It
Over the course of time, your system can be plagued with errors that can render it broken or unusable. A classic example is the inability to install software packages, update or upgrade the system.