Recently I wanted to remove the keyboard-configuration app for linux, so I typed
sudo apt-get remove keyboard-configuration
it prompted me if I wanted to remove a bunch of packages (17 MB), and now knowing the inner working of Debian, I complied. Next time I went to reboot the machine, it no longer boots to the os gui. Instead I get booted to a shell interface. Please see this image:
How would I troubleshoot to find the cause? And how would I fix it? The distribution is Debian.
EDIT: according to the apt log, the following was removed: