dpkg
A quick note for fixing a broken package system: some installation or cleaning procedure broke my package system. I could no longer install anything with
aptand I was getting warnings from the system. I ransudo apt-get update sudo apt-get -f install sudo apt-get autoremove sudo apt-get autoclean sudo apt-get clean sudo apt-get update –fix-missing sudo dpkg –configure -a # etc...and nothing resolved this issue. A particular
.debpackage was being resistant, however, and seemed to be the root of the problem (in particular it wasTkinter). I finally came across this page, which suggested runningsudo dpkg -i --force-overwrite path-to-the-deb-filefor the
.debfile which was causing issues. Running this command worked perfectly, system errors were removed (from the top bar) and I could run normalaptcommands without issue. I guess certain.debfiles can be resistant, especially when used around by other dependencies.