 Here in recent weeks, I've had some updates on my system go Rather badly. I've had some updates Not necessarily that packages were broken. It's I had updates that for whatever reason were interrupted Due to power loss or me hitting the wrong key on the keyboard or whatever it happens to be like most of you guys I Always update my system inside a graphical environment whatever desktop or window manager I happen to be running. I just use that graphical session to update my system If I switch over to this virtual machine here of Ubuntu, you know, typically how I update my systems I almost always do it at the terminal, right? So here on an Ubuntu based system I would do a sudo apt update and and sudo apt upgrade and if I run that, you know It's gonna start updating. I don't know Under packages or whatever. It's been a couple of weeks since I've updated this VM But you know, it's gonna just start running that update and then as it's running that update It may have updates to important packages like the kernel the video driver or the bootloader Right and that is actually kind of what I ran into a problem I made a video about a month maybe two months ago where I had an issue where one of the updates on my Arco Linux machine this workstation here at my office I had a update interrupted because I think I did something where either the window manager crashed on itself Or I did something on the keyboard to cause it to crash and when the window manager crashed I had an update running in the terminal and it was in the middle of updating the kernel and That caused me some frustration because then I had to get a USB stick a rescue USB stick with another Linux distribution on it And then go back and Reinstall the kernel again the proper way without, you know Causing anything to crash and then I got my machine back and then I had another Episode where I had a broken grub for similar reasons and then here in the last couple of days We've had some severe thunderstorms here in this part of the world where I live And I lost power during an update just earlier today and luckily That did not cause me any issues It wasn't in the middle of like updating the kernel or anything like that So that was nice and no bootloader issues with grub But it's it's happened to me like three times in the last I don't know month and a half or so and I've gotten to the point where I'm just no longer going to update Inside my desktop environment or window manager, whether it be at the terminal or whether you do it through your graphical Package manager or your software center because of all that they're just all running the same commands, right? They're all running that sudo apt update sudo apt upgrade on Debian and a blue and two base systems or if you're on a arch base system You know sudo pac-man suy you But don't do it inside your desktop environment or you're a window manager and go ahead and drop to a tty And that's what I'm going to start doing. I'm just going to always Just default to control alt f3, right? Control alt f3 will take you to tty 3 so control alt and then 1 through 7 on the keyboard will typically take you to you know tty 1 tty 2 Tty 7 so on Ubuntu base systems You've got tty 3 here and I can log in and then I could run my sudo apt update and and sudo apt upgrade and I could do that here Rather safely and then we know once it's done. I could I'll go ahead and decline taking that update But once it's done then just hit control alt f2 on Ubuntu. I believe because on Ubuntu Tty 2 is actually yeah your graphical environment those of you on arch base systems You would hit control alt f1 to go back to tty 1 which is your graphical environment, but yeah that That's what I'm thinking and this is not some new advice that I came up with this has been around For decades since I've been running Linux I've heard like some of the old Unix neckbeards warn me about upgrading inside a graphical environment You know inside you know x-word or whaling and whatever desktop environment you happen to be running They always warn. Hey, you know sometimes those desktop environments like gnom or kde plasma or whatever happens to be the crash in the middle of an update Especially in the past in years past especially the big desktop environments gnom and kde they put out some buggy versions That were crash-tastic some of the early versions of gnom3 were very very buggy Some of the versions of kde4 were very buggy and they would crash all the time And if you just happen to be updating your system at the time of one of those crashes You were in for a bad time now I've been using Linux on the desktop as my primary operating system for about 15 years now And even though I've always known that these people recommended updating in the tty rather than in the graphical environment I've never done it and it has never caused me an issue in 15 years It's never caused me an issue as self now all of a sudden I've had these three episodes here like in under two months and because I've had those now It's got me rethinking right is one of those things, you know, I've I've avoided Getting hit by that bus right for so long But now I've been hit by it in rapid succession that I'm going to go ahead and start doing this And because of that I'm making today's video that way I'm letting you guys know that it might be a good idea for you to also Just get in the habit of dropping to a tty to run your updates That way you don't have to worry about your desktop environment crashing If you're updating the kernel or if you're updating grub Especially those two packages because updating those packages you get a crash in the middle of them They're not going to work on reboot. So you're going to have to get out the rescued usb stick Well, that's just some of my thoughts I'd love to hear from some of you guys that have been running Linux for a number of years Do you update in your desktop environment or do you drop to a tty to run your updates? So share your experiences down in the comments below and before I go I need to thank a few special people I need to thank the producers of this episode. Of course, I'm talking about Gabe James maximum homies to bald matt Mimic mitral paul royal west armor dragon batch potato chuck commander angry george lee marston met those nater yon paul peace arch and war To polytech realities for less red profit rolling tools. Devler willy and cinnabit these guys They're my hot steered patrons over on patreon without these the guys This little rant about updating your machine in the tty would not have been possible The show is also brought to you by each and every one of these fine ladies and gentlemen All these names you're seeing on the screen right now. These are all my supporters over on patreon. I don't have any corporate sponsors I'm sponsored by you guys the community feel like my work I want to see more videos about linux and free and open source software subscribe to distro tube over on patreon peace Maybe I should just boot directly into emacs to update my system