After following this article, https://askubuntu.com/questions/101802/packages-having-unmet-dependencies-broken-packages, to fix an issue on my RPi when compiling QEMU, I ran sudo apt-get remove glib2*
and it started to remove all upgraded packages. Can I simply fix this by running sudo apt-get upgrade
or is there something else I need to do.
Edit One
Also it uninstalled Chromium, but I am posting this from Chromium; how does this work???
Edit Two
The operation was interrupted and I got:
E: Sub-process /usr/bin/dpkg returned error code (1)
W: Operation was interrupted before it could finish
Now my computer is missing some of its icons and some of the programs are missing. Some icons look different. Chromium is still running even though it was supposedly uninstalled.
Edit Three
I have now also run sudo apt-get -f install
and sudo apt-get update
to no avail and am now running sudo apt-get upgrade
.
apt list glib2*
. Chromium still works because its deinstallation was interrupted as you wrote. Now you have a half installed Chromium. It is integral part of the GUI. Deinstalling it is the hard way to learn that it breaks your system.sudo apt-get install glib2*
, it will install all the files that begin withglib2
.*
inglib2*
as delete all packages.glib2*
in the default Raspbian Stretch repository so I cannot install them even if I wish. Where do you get it from? Btw. the best is what Steve suggested: reflash.