If you're at all familiar with the terminal on Debian or Ubuntu, or one of their offshoots, then you likely know how to use APT to install and update packages. There's a lot more to the command line ...
Most Linux users encounter broken packages eventually. An interrupted update, a failed install, or a dependency that wandered off into the woods are all issues that contribute to broken packages.