TL;DR: Lost internet mid update, decided to be an idiot and restart my laptop. Turns out it was in the middle of a kernel update, took some puttering to make things work again.
Story time. I have a Mint laptop that I use rarely because of my openSUSE desktop. Because I use it so rarely, every time I turn it on, there will be a kernel update. So today, I turned it on and ran my update script only to have it lose internet halfway through (it was a VPN issue).
Because I can be impatient, I said, "Surely nothing will go wrong," and hard powered off the laptop. Reboot it, and my desktop background is gone. Also, Ctrl+Alt+T isn't working. Actually, nothing except for my desktop icons are accessible. Turns out when I powered off my laptop, it was in the middle of specifically the kernel update (or at least some portion of it).
Through trial and error, I figured out that I got to open exactly one program and have it work as intended. Once I opened a second one, I could no longer go back to the first, and once I opened a third, my keyboard would no longer work.
But I got lucky because I had a folder available on my desktop. I was able to open the file manager, navigate to /usr/bin/gnome-terminal to get that open, and re-run the update script. After rebooting the computer, everything worked as normal, but it was a terrifying moment. Cautionary tale, I guess?
Can you share your update script which broke the system? I would be very interested. I usually do
apt upgrade -yd
first to make sure everything is downloaded before the upgrade startsMy script is basically just the following in a .sh file:
sudo apt update -y && sudo apt upgrade -y
I think there's an autoremove statement as well, but I can't remember exactly off the top of my head.
What broke it was entirely my fault, not the script. While I'm not entirely sure what had occurred, it's definitely related to me turning off the computer in the middle of what I'm going to call "post processing" where everything is put in place.
My best guess is that there were mismatched files from different versions that were causing some kind of error. Because I was able to navigate the file system and actually use gnome-terminal once I got there, I'm starting to think I broke something in Cinnamon rather than the kernel. The consequences were that the "taskbar" was gone, I couldn't access the "start menu", my windows couldn't be resized, and no keyboard shortcuts worked.