This is a project for Matt Haas' HPC II class in the Spring 2012 Semester.
This project simply details my troubleshooting adventure to save my Debian Mint system after a major system update broke several packages on my system. Overall, it led to my learning important lessons on fixing broken packages in various conditions.
In my particular case, my system would only boot into bash. That is to say, instead of my graphical desktop environment, I was left with a terminal prompt. I was able to access my file system accordingly, but I was left without internet connection and my desired graphical environment.
Run the following commands:
tyler@aleron ~ # apt-get check tyler@aleron ~ # apt-get install --fix-broken
apt-get check will check your system for broken dependencies and packages, and list what is broken and why. If you have an internet connection and/or your dependency structure is not too corrupt, the second command will allow you to fix your packages appropriately. “-f” can be used as a shorthand argument instead, as well.
However, in the case that you don't have an internet connection, and your dependency structure IS too corrupt to where you can only boot in to bash–
It's time to get our hands dirty! Make yourself acquainted with apt-get check, as it will be your best friend here. Use the following procedure to get your system back in line:
It is worth it to, after fixing dependencies manually for an extended amount of time, to attempt using “apt-get install –fix-broken” to see if you've “uncorrupted” your system enough.
Eventually, through perseverance and determination, your system will be able to be fixed by this method.
Overall, I feel like this is the most important project that I did this semester. It gave me valuable insight to how a Linux system works as far as its packages go, and it was a major troubleshooting victory. Any time you figure out how to defeat a major system problem you've never encountered before, you definitely become that much more stronger in terms of computer knowledge.