Stop Updating Your Linux Computer Within The GUI

Ғылым және технология

In the last couple of months, I have had some updates go horribly wrong. I had a two updates that were broken due to my DE/WM crashing while running an update...
WANT TO SUPPORT THE CHANNEL?
💰 Patreon: / distrotube
💳 Paypal: kzread.info?even...
🛍️ Amazon: amzn.to/2RotFFi
👕 Teespring: teespring.com/stores/distrotube
DONATE CRYPTO:
💰 Bitcoin: 1Mp6ebz5bNcjNFW7XWHVht36SkiLoxPKoX
🐶 Dogecoin: D5fpRD1JRoBFPDXSBocRTp8W9uKzfwLFAu
📕 LBC: bMfA2c3zmcLxPCpyPcrykLvMhZ7A5mQuhJ
DT ON THE WEB:
🕸️ Website: distrotube.com/
📁 GitLab: gitlab.com/dwt1
🗨️ Mastodon: fosstodon.org/@distrotube
👫 Reddit: / distrotube
📽️ LBRY/Odysee: odysee.com/@DistroTube:2
FREE AND OPEN SOURCE SOFTWARE THAT I USE:
🌐 Brave Browser - brave.com/dis872
📽️ Open Broadcaster Software: obsproject.com/
🎬 Kdenlive: kdenlive.org
🎨 GIMP: www.gimp.org/
🎵 Tenacity: github.com/tenacityteam/tenacity
💻 VirtualBox: www.virtualbox.org/
🗒️ Doom Emacs: github.com/hlissner/doom-emacs
Your support is very much appreciated. Thanks, guys!

Пікірлер: 240

  • @MichaelBanditt
    @MichaelBanditt Жыл бұрын

    Hey Derek, I think it's an ArcoLinux issue. I have all the problems too (DM crashing during update, bootloader etc...). Now since the last update Firefox, Thunar, LibreOffice, Thunderbird etc... need several minutes to open up. It's so frustrating.

  • @DistroTube

    @DistroTube

    Жыл бұрын

    I had this issue on one of my machines. Remove the xdg-desktop-portal, xdg-destktop-portal-gnome, and/or xdg-desktop-portal-gtk. Those were the culprits for me.

  • @expensivecats

    @expensivecats

    Жыл бұрын

    I thought if apt looses the parent process, it'll continue running?

  • Жыл бұрын

    Just Arch based systems, but... Try searching for defect packages where metadata is missing and force an reinstall of them (--overwrite might bei necessary). That might Help if it was caused by power outage or incomplete upgrades.

  • @shallex5744
    @shallex5744 Жыл бұрын

    someone already mentioned it but you could use GNU Screen or tmux to update your system so that even if your graphical environment crashes, the update will continue to run in the Screen or tmux session. you could even have it on an alias or script to make it very convenient

  • @qlx-i

    @qlx-i

    Жыл бұрын

    what about &disown or just & with blank end

  • @shallex5744

    @shallex5744

    Жыл бұрын

    @@qlx-i maybe you want to be able check on the progress of the update for some reason after the graphical environment crashes, which i don't think you could do if you disown it

  • @expensivecats

    @expensivecats

    Жыл бұрын

    @@qlx-i that would not work, it's still a child of the shell process, then

  • @qlx-i

    @qlx-i

    Жыл бұрын

    @@shallex5744 well if you compile it you can use a process monitor...

  • @420bobby69
    @420bobby69 Жыл бұрын

    Hey DT. If you don't already have one, I'd highly recommend getting one of those UPS battery backups for your PC. Should give you about 15-20 minutes to finish updates if your power goes out during a critical moment. Mine was like $300 and saved my butt during a BIOS update not too long ago...

  • @prash2011ify
    @prash2011ify Жыл бұрын

    Point taken dt. But I'd like to be a bit more safe. When you drop to a tty from a DE - all the DE processes are still running. And after the upgrade - you could switch back to the DE (while actually a reboot would be considered more appropriate). So, what I'd do is... At the Grub menu - I press 'e' to edit the menu entry and add an argument to the kernel args - to take me directly into MultiUser tty mode (runlevel 3). From there I update my system and then reboot. It actually saves me time / effort. And best part - there are no GUI Processes / Apps to worry about during the update. I feel this is a better way of doing an upgrade. Beginners might find this info useful - so, just wanted to highlight... :)

  • @MyAmazingUsername

    @MyAmazingUsername

    Жыл бұрын

    All Fedora updates are done that way, for that exact reason. Updates are installed on reboot. And sure, terminal commands exist to force updates on a live system, but then you have zero protection yet again.

  • @Mach7RadioIntercepts
    @Mach7RadioIntercepts Жыл бұрын

    Yes indeed! Switching to a TTY for updates is a nice way to increase the safety. I've learned that the hard way, back in the good old days before I found a stable window manager. My i3 or DWM still crash sometimes but the TTY will still keep going.

  • @bwillan
    @bwillan Жыл бұрын

    dropping to a tty for updates won't do much if the power fails during an update. This is why UPS's were invented and should be used on your internet modem and router, along with each computer.

  • @danielpicassomunoz2752

    @danielpicassomunoz2752

    Жыл бұрын

    Or inmutable distros

  • @Aturnadagar

    @Aturnadagar

    Жыл бұрын

    I have a UPS battery for the same reason, but updating using TTY still apply just in case the GUI crash and minimize the human error with the keyboard using an app while is updating.

  • @griffon2-6
    @griffon2-6 Жыл бұрын

    without finishing video, 1. ups 2. tmux

  • @davidturcotte831

    @davidturcotte831

    Жыл бұрын

    Ha! That's funny! I recommended screen!

  • @presi3005

    @presi3005

    Жыл бұрын

    Gnu screen ftw

  • @griffon2-6

    @griffon2-6

    Жыл бұрын

    @@presi3005 eww, tmux any day. screen is the thing emitting light you're looking at xD

  • @DiskyToy

    @DiskyToy

    Жыл бұрын

    I couldnt decide, so I ran tmux inside screen /s

  • @jsizemo

    @jsizemo

    Жыл бұрын

    Would someone care to do a video demo of these?

  • @12Q46HPRN
    @12Q46HPRN Жыл бұрын

    Great video as always! What are your thoughts on running updates via a cron job?

  • @zparihar
    @zparihar Жыл бұрын

    Advice: Auto btrfs snap or auto ZFS snap. Rollbacks are super simple. Also, Debian-based systems and redhat-based systems handle updates much better in terms of doing updates in the proper order.

  • @Aturnadagar
    @Aturnadagar Жыл бұрын

    Thanks, that is a great advice. I have a UPS battery, but update using a TTY take it to a new whole lvl in case the GUI crash. I will make it my new update routine.

  • @dannyboy42223
    @dannyboy42223 Жыл бұрын

    Solid advice about the terminal. Everyone is different but in my case I have a offline debian repo mirror on a USB SSD I update all my systems with and a battery backup on my systems. That way I can install what ever I want with no internet. With most updates taking 15mins tops I got enough time to finish it and shut down my system. Had bad storms in Texas here too so I can totally relate.

  • @torphedo6286

    @torphedo6286

    Жыл бұрын

    That's pretty cool! How often do you update the mirror (or is it automatic)? Do you just have a custom DNS setting on your router to redirect the requests to a local server or something?

  • @christopherjuarez7039

    @christopherjuarez7039

    Жыл бұрын

    That's interesting,didn't know you could just host you're own repo, so to speak. Could you give quick explanation of how you do it?

  • @dannyboy42223

    @dannyboy42223

    Жыл бұрын

    @@torphedo6286 tried to post my scripts but it wont let me

  • @dannyboy42223

    @dannyboy42223

    Жыл бұрын

    @@christopherjuarez7039 wont let me post my script. gonna have to look at the wiki for debmirror

  • @VallThyo
    @VallThyo Жыл бұрын

    This is some great advice, and the only reason I don't so it whenever I can is that I end up forgetting. For some reason it's one of those things that I only remember when I'm already in the middle of a full system upgrade - "Oh, it would be safer if I wasn't in my DE for this" Added with the fact that the errors aren't that common makes me complacent and lazy.

  • @quinten01

    @quinten01

    Жыл бұрын

    You could write a script to warn you that you're in the wrong tty session. Power to Linux!

  • @undefined_null
    @undefined_null Жыл бұрын

    Awesome video.🙂 What are you using to run the vms?

  • @muddyexport5639
    @muddyexport5639 Жыл бұрын

    Thank you. Did this when Moby Dick was a minnow when using UNIX but completely forgot about TTY with the graphical Linux. Good info.

  • @MarioinRmd
    @MarioinRmd Жыл бұрын

    As a recent convert to Linux (6 months full time) much of what I learn comes from a combination of hard lessons, online blogs and a few choice KZread channels. I had no idea what a TTY was.. but this all makes sense. It's like you're dropping to a lower level as far as your interface goes. And let's be honest.. Who doesn't want to emulate an old Unix neck beard? I'm sold on this protocol.

  • @drishalballaney6590
    @drishalballaney6590 Жыл бұрын

    I have an even better suggestion: better to use a tmux session, so that even if your tty decides to crash for some reason atleast a tmux session is still running in the background

  • @JamesColeman
    @JamesColeman Жыл бұрын

    I personally update using my terminal, but that's because I am a system engineer and am used to the terminal/keep it open. Usually in the event of a kernel update failure, I can use grub to switch to an older version of the kernel and re-install the newer kernel without having to pull out a USB stick. The only time I ever needed to pull out an USB stick is when I was using Arch Linux and a newer version of grub removed the ability to load grub config from an encrypted partition. I've since moved to using an encrypted boot partition, but wish that never happened.

  • @keylowmike85
    @keylowmike85 Жыл бұрын

    I see your point, dt. I personally haven't had this issue during my Red Hat days or since last year, but that doesn't mean that it will never happen to me either. I typically like to update at least once a week, so I'll have to add a step in my repetition. Thanks for the video!

  • @talkysassis
    @talkysassis Жыл бұрын

    If the GUI is a bad way to update the system then we have a huge problem The terminal should be something of the past or only for experts right now

  • @yorimirus

    @yorimirus

    Жыл бұрын

    Yeah exactly. No wonder almost nobody uses linux.

  • @akashp01

    @akashp01

    Жыл бұрын

    Right, but the thing is GUI apps are really wrappers for underlying CLI functionalities. Unix like systems are archaic from the ground up, there shouldnt be any problem with GUI as long as its implemented properly, theyre the same thing. Its just the way the systems are built, the CLI requires time to get used to, I can work my way across the terminal because I spent a lot of my free time learning it, you essentially earn your 'freedom' properly by trading your 'free time' 🤣

  • @Racsu

    @Racsu

    Жыл бұрын

    Agree 100%

  • @igorfoxly2555

    @igorfoxly2555

    Жыл бұрын

    @@yorimirus I mean, windows smth has the same issue for big updates. So, stop writing odd stuff. OS is a complicated thing, and just everybody with no knowledge must have no way of using it. Otherwise, whining is happening

  • @RabbitTV95

    @RabbitTV95

    Жыл бұрын

    ​@@yorimirus Not to mention, most popular distros are really bad for new users.

  • @MrYossarianuk
    @MrYossarianuk Жыл бұрын

    I've used GUI updates for several years on Kubuntu and PopOS with no issues. Many people probably wouldn't know there was a firmware update unless they used GUI tools (i.e many people are not aware of fwupdmgr )

  • @terrydaktyllus1320

    @terrydaktyllus1320

    Жыл бұрын

    It's like the old saying "there are two types of people in this world - those who do regular backups and those who have never had a hard disk failure".

  • @igorfoxly2555

    @igorfoxly2555

    Жыл бұрын

    ​@@terrydaktyllus1320​ I mean, Ubuntu LTS and Arch are not the same thing in terms of random mainstream bugs. This is why people use distros that are not cutting edge. For the edge experience, OpenSUSE TM has the best OOTB setup with backups from GRUB menu.

  • @terrydaktyllus1320

    @terrydaktyllus1320

    Жыл бұрын

    @@igorfoxly2555 I will take your word for it - I've just stuck with Gentoo Linux for 20 years now, I don't run cutting edge packages and I have great stability and performance. But if OpenSuSE or another distro works for you then who am I to argue?

  • @andrewwigglesworth3030

    @andrewwigglesworth3030

    Жыл бұрын

    @@terrydaktyllus1320 wtf has this got to do with backups?

  • @terrydaktyllus1320

    @terrydaktyllus1320

    Жыл бұрын

    @@andrewwigglesworth3030 I don't answer the questions of strangers on the Internet - especially those who clearly need some education in politeness. You run along now, sonny. Mind how you go and stay away from sharp scissors.

  • @SFDestiny
    @SFDestiny Жыл бұрын

    Maybe there is discussion here already about logging out of the window manager completely, down to the display manager, before switching to the tty. As a general rule, application behavior is unpredictable if app dependencies change while the app is running.

  • @callmesteve7874
    @callmesteve7874 Жыл бұрын

    I have Arch-based OS and I always update using the terminal in my DE (KDE Plasma). In a last year I didn't experienced any problems during the updates (alongside that grub problem few months ago). Solved it reinstalling grub chrooted from live-usb, nothing serious. Anyways I have Snapper that takes a snapshot of my BTRFS filesystem before any update, so I know that if my update will fail for any reason - I can revert this update back and have a perfectly working OS again in literally few minutes. But your advice about using TTY to update system is still pretty good. [EDIT] And yeah - I use laptop, so I don't even worry about power drops.

  • @glepmifom
    @glepmifom Жыл бұрын

    I'm running NixOS so the system with kernel is previously building and only at final state switch to new version. If I or something else stop it in the middle of update it will not apply. This can be applied to GNU/Guix and probably to immutable distros.

  • @markmake2252
    @markmake2252 Жыл бұрын

    I actually ran into the same problem a week ago on Arcolinux and the window manager I was using (xmonad) crashed. The reboot process didn't succeed so I had to boot with an Arch Linux USB stick and chroot into my system, re-install the kernel, and perform the complete upgrade from the TTY. Then I rebooted. It worked like a charm. I agree, it is a good idea to upgrade from the TTY. I've never done it before on my system because I never had any troubles before. As for the bootloader, I always keep both GRUB, and systemd-boot installed. If one fails I can easily use the other one.

  • @Texas_Radical
    @Texas_Radical Жыл бұрын

    Hey DT, not had any upgrade issues here lately, but i live in the same "general" area of the country and ive had some power loss issues in the middle of a 3D print. like 30+hrs in. so i feel your pain. on your question tho, im about 50/50 how i update. if im busy doing something i will GUI update, but if im not really doing anything I will sudo apt update && apt upgrade -yy in guake. just cause i have my workspace all geeked out and blinged up with all the transparency and whatnot.

  • @josephdegarmo
    @josephdegarmo Жыл бұрын

    I use offline updates when updating Fedora. This option works on many distros using GNOME or KDE Plasma when using their software managers.

  • @jadongearhart
    @jadongearhart Жыл бұрын

    Hey Dt, love your videos. I’m not sure if you have already stated our opinions on this already, but I am curious how you feel about FOSS software in government and high security environments. Should that software developed especially for them be made open source?

  • @talkysassis

    @talkysassis

    Жыл бұрын

    Open source software is not related to less secure software. The best encription algorithm we have right now is open-source

  • @therealb888

    @therealb888

    Жыл бұрын

    ​​@@talkysassis Let me correct that for you. Open source software is *not* related to more secure software. Encryption algorithms are *not* source code & not licensed as open source, their implementations may be OS. Open source has turned into a circlejerk catch all buzzword. P.S: what best encryption algorithm are you referring to?.

  • @talkysassis

    @talkysassis

    Жыл бұрын

    @@therealb888 The best thing we have right now for production is RSA and we use a FOSS implementation.

  • @slim_2280
    @slim_2280 Жыл бұрын

    I've found in ArcoLinux that sometimes the mirrors don't read properly in pamac, so yeah straight to the terminal to refresh mirrors. Must get into the habit of not relying on pamac all the time, but so used to a GUI. So many ways of doing things in Linux, to get the same outcome.

  • @waynestewart1919
    @waynestewart1919 Жыл бұрын

    I've been using POP!_OS since 2020 as my daily driver. Haven't had that issue before, but better safe than sorry. What is your opinion on "unattended-upgrades"?

  • @IAmTheSlink
    @IAmTheSlink Жыл бұрын

    I can see how this protects you from a crashing WM, but how would it help in the case of a power problem?

  • @JefferyWilliamsblurp
    @JefferyWilliamsblurp Жыл бұрын

    I tend to do updates within GNU Screen or Tmux. When the GUI environment crashes, I can reattach from the TTY or the updated GUI to answer any questions that might come up.

  • @Felinis44
    @Felinis44 Жыл бұрын

    gnome-software only downloads the updates and requires a reboot to install them. On Fedora you can still boot on a previous kernel if the latest failed. For Silverblue, I guess the upgrade is cleaned if rpm-ostree crash, I never encountered this situation. So, I'll continue to use GUI for the upgrades

  • @xxxx-hw5we
    @xxxx-hw5we Жыл бұрын

    I have also experienced failures with issues after updating my system. Then like a ray of sunshine Chris Titus posted his video saying that it was better to do updates via the terminal. I took that advice and have not had any issues since. As a result of following his advice (which worked very well), I have no problem taking yours also. Dropping to an actual terminal instead of a terminal emulator can only increase my chances for a very successful upgrade / update. Finally, I must say that I was somewhat taken a back that you are still using APT and not NALA on your Debian based systems.

  • @andrewwigglesworth3030

    @andrewwigglesworth3030

    Жыл бұрын

    Nala is a front-end for apt, so nala uses apt. I have a tendency to use aptitude. Are you "taken aback"? In the end we all use apt. I'm not at all "taken aback" by his use of apt rather than some obscure front-end.

  • @OcteractSG
    @OcteractSG Жыл бұрын

    BTRFS could help here. In addition to making recovery easier, all filesystem writes are atomic. No files will be partially written. Of course, a package upgrade that requires multiple filesystem interactions will not necessarily be safe, but at least there would not be compounded errors from both the filesystem and the upgrade.

  • Жыл бұрын

    Upgrading from a terminal inside an window manager has been stable for me since years (debian sid, arch, fedora). why don't you just install the lts kernel, so if an upgrade fails, you can still boot that? Power outages (or sd card errors on singleboard computers) are a pain, especially on arch, but cause issues on tty/ssh aswell.

  • @JoFriedrich
    @JoFriedrich Жыл бұрын

    there's an offline mode (GUI) update on KDE now (i use it with Debian). Avoids that kind of problem and works fine, even if you need to reboot, which is alright on a basic workstation

  • @qlx-i
    @qlx-i Жыл бұрын

    Some comments point out you can use tmux or other stuff BUT in case the update is automatic (it doesn't prompt you to do anythng, you can basically do update-command & disown (or update-command &; in some shells)

  • @2u263
    @2u2633 ай бұрын

    Sometimes the internet connection just drops interrupting the download of a firmware update for POP_OS and my pc won't boot. Now trying to figure out if I can just flash the Bios without taking everything apart? Then remove POP.OS & install something simpler like debian lxqt?

  • @little-wytch
    @little-wytch Жыл бұрын

    Maybe I'm just weird, but I rarely would ever upgrade in the gui, mainly because I do a lot in tty and prefer to set up my standalone systems to use the old manual gui start command of "startx" lol. So I'm just used to logging in and doing maintenance and a few other things before even getting to a gui. Good advice though. I never considered the DE crashing mid-update. Might want to plug your internet connection equipment and main machine/monitor into a UPS tho so power outages don't mess up updates as well.

  • @SparxNet
    @SparxNet Жыл бұрын

    An added layer of safety would be having a snapshot file system like BTRSFS or ZFS and take a snapshot prior to running updates. And on EXT4, running something like Timeshift in rsync mode prior to updating. And above all else, backup your data and test it from time to time.

  • @allmertalex
    @allmertalex Жыл бұрын

    I have two Raspberry pis and I usually update them remotely through the terminal app I have which connects to the pis through ssh. I've had an odd episode where the system updated fine but the UI of a pi didn't work for some reason. Thankfully all I needed to do was restart through ssh.

  • @franktewierikholscher
    @franktewierikholscher Жыл бұрын

    I don't understand the problem. Having a crash duren updating the kernel always leaves just a mess. De GWM should detect the problems when booting again an either, show a message that something is wrong or correct the problem (= update again). Or isn´t it as easy as that????

  • @HelmutFischer-thehefi
    @HelmutFischer-thehefi Жыл бұрын

    I almost always use a terminal started from Desktop environment or TWM to update. So I see what's going on, but if graphical environment crashes it's also not the best. But I don't do anything else while updating.

  • @barfnelson5967
    @barfnelson5967 Жыл бұрын

    you don't need to do that, you just need to use screen or tmux so that even if your gui eats it your screen just detaches and keeps on going until you attach it again somewhere else.

  • @eklownr4566
    @eklownr4566 Жыл бұрын

    I switched to tty and could hear this video in the background. So what is the difference to just open a console?

  • @GiulioTopLad
    @GiulioTopLad Жыл бұрын

    Thank you for this advice, I didn't know that!

  • @andrewwigglesworth3030

    @andrewwigglesworth3030

    Жыл бұрын

    You learnt nothing much here, especially since his goto "issue" of interrupting the upgrading of a Kernel upgrade in Debian is nonsense. All that will happen is that you boot back up into the previous Kernel. It's just sensationalist KZread filler; ignore it.

  • @GiulioTopLad

    @GiulioTopLad

    Жыл бұрын

    @@andrewwigglesworth3030 Oh, I thought this procedure help to prevent problems during update

  • @aquariuskiwilog
    @aquariuskiwilog Жыл бұрын

    What about doing it inside a tmux session.. I presume it would just detach if the desktop crashed? I think this should be as safe as in tty3, none of them protects against power outages. But of course now certain.

  • @andrewwigglesworth3030

    @andrewwigglesworth3030

    Жыл бұрын

    Try this. Start tmux in a terminal emulator (ie. a desktop environment "term"), start another terminal, run htop, press F4 and type tmux. You'll see the tmux processes. Now close the terminal emulator that tmux is running in (it'll probably warn you about running processes), and notice that those tmux processes vanish in htop.

  • @JustinGoldsmith
    @JustinGoldsmith Жыл бұрын

    I started using Linux in 2011. So my first exposure was Unity on Ubuntu. I always just thought shitty updates and learning to fix what they break was part of the Linux experience.

  • @securelinuxchannel1519
    @securelinuxchannel1519 Жыл бұрын

    i always use sudo pkcon refresh && pkcon update and some changes in software center , and take only recommended updates

  • @act.13.41
    @act.13.41 Жыл бұрын

    I would go so far as to suggest a complete logout and then drop to a TTY. That way, only the login manager is running and not the whole DE or WM.

  • @qlx-i

    @qlx-i

    Жыл бұрын

    and then stop login manager daemon and everything else you don't need

  • @act.13.41

    @act.13.41

    Жыл бұрын

    @@qlx-i If you feel the need, then why not.

  • @johannesjung1903
    @johannesjung1903 Жыл бұрын

    When I switched to Linux 12 years ago (Ubuntu first, now Debian) I updated using GUI programs as I had zero experience in terminal usage 😅. But I started using the terminal within the DE for regular updates - and so far XFCE seems to be quite stable. I only prefer using a TTY when starting a complete system upgrade (back then from Debian 10 to 11 for example) as I feel saver then. But yeah, power outage is something else of course, hehe.

  • @TheBardicDruid
    @TheBardicDruid Жыл бұрын

    I've been using the Distro package manager for updates since 1998, and only a couple of times did I have a problem.

  • @andrewwigglesworth3030

    @andrewwigglesworth3030

    Жыл бұрын

    It's a silly sensational video, claiming things that don't actually happen (eg. interrupted Kernel updates stopping a boot), mixed with magical thinking. I wouldn't advise that using the built in software centre/package manager on GNU/Linux is somehow "dangerous."

  • @cutestar564
    @cutestar564 Жыл бұрын

    Can anyone tell me if I do not update ever what happens? ever bcs my computer is very bad...old ,,when I keep updating its slows and crashes...and yes one of my laptop never booted after I updated ubuntu..since I have zero knowledge of computer...i dnt know what to do.

  • @send2gl
    @send2gl Жыл бұрын

    This is a wee bit puzzling, is the GUI not still running on the original tty? On my MX system I have to use Ctrl-Alt-F7 to get back to my original desktop.

  • @andrewwigglesworth3030

    @andrewwigglesworth3030

    Жыл бұрын

    This video is exhibiting magical thinking. You might as well be crossing your fingers and thinking it makes any difference to upgrading your system.

  • @denizkendirci
    @denizkendirci Жыл бұрын

    i run my window manager by typing the executable file. so generally i update when it's rebooted into tty, then type shell script name to run my window manager.

  • @predicationst405cp
    @predicationst405cp3 ай бұрын

    Disaster - My Linux updated. The file manager shows now my home folder. Click on the computer screen icon and I get the whole computer (so I can go to the harddisk). BUT WHERE IS THE NETWORK....! It's gone. I'm stuck.

  • @darthkielbasa
    @darthkielbasa Жыл бұрын

    Do you have a mic on your keyboard?

  • @RobertTreat9
    @RobertTreat9 Жыл бұрын

    Nobara dev stongly admonishes using the Nobara updater as it is so customized from its Fedora base. If you know the command you can run it from a terminal though. Linux Mint packs a lot in its update manager though everything can be done via apt. I tend to stay away from Discover and Gnome Software for system updates.

  • @OldieBugger
    @OldieBugger Жыл бұрын

    Good advice, but I think it may not apply to me. Our electrical wires are all dug underground and the last blackout I remember... no I don't remember it, it was possibly some 50 years ago, when I was living with my parents in a much smaller town. I run my Linux updates usually with the GUI, but I might once in a while use the method "sudo apt update && apt upgrade" you reminded me of, just to be on the safe side. I did today when listening to your thing, but nothing there this time. Thanks anyway of reminding me.

  • @romanstingler435
    @romanstingler435 Жыл бұрын

    Switched from GRUB to Systemd-boot never looked back on hundreds of servers, notebooks, desktops, and workstations as well as embedded devices.

  • @sprinklednights
    @sprinklednights Жыл бұрын

    Good advice, though I haven't really done updates like that mainly because it never crashed in my case

  • @laurentiucalonfir
    @laurentiucalonfir Жыл бұрын

    I use archlinux with cinnamon. I had some issues with the nvidia driver dkms update, but the downgrade solved my problems right away. I always update from my terminal, not tty.

  • @CommodoreFan64
    @CommodoreFan64 Жыл бұрын

    Well you did say that you where updating your system during a thunderstorm, and the power went out, so that one was on you, and can cause issues no matter what OS you run, unless have a UPS/laptop battery, and have already downloaded the updates, and it's in the process of installing them. Both my work dekstop, and main desktop at home have the main monitor, and system plugged into a UPS that will last about 20 minutes or, so before I have to do a full shutdown.

  • @JamestheZinHondo
    @JamestheZinHondo Жыл бұрын

    Ever since I switched to Arch with Awesome window manager, I started doing that and plan on continuing.

  • @torsten.breswald
    @torsten.breswald Жыл бұрын

    oh and you should consider using full-upgrade or dist-upgrade instead of just upgrade

  • @zenmaster24
    @zenmaster24 Жыл бұрын

    if you are having power loss issues, it could be time for a ups maybe?

  • @user-nj5ti7fe4f
    @user-nj5ti7fe4f Жыл бұрын

    i usally update from terminal but gonna start doing it the way you stated thanks

  • @2CPT1MP
    @2CPT1MP Жыл бұрын

    Yeah, but isn't Gnome Software supposed to only download and prep stuff, it would update on the reboot?

  • @andrewwigglesworth3030

    @andrewwigglesworth3030

    Жыл бұрын

    Yes, this is something I've only noticed recently, because by habit I use the terminal to do upgrades. I shied away from reboot and upgrade button on the "Software" programme, but when I did (just to see what it got up to), I was surprised to find that it shut-down to rebooted and then installed the software during the reboot process. Interesting stuff.

  • @the1trancedemon
    @the1trancedemon Жыл бұрын

    using zorin os about a year and never faced update issues so far. btw how to get out of tty and back to my gui?

  • @andrewwigglesworth3030

    @andrewwigglesworth3030

    Жыл бұрын

    The same way that you got into it, just cycle through the function keys F1 to F7 (Ctl-Alt-F1 etc).

  • @conqueror181
    @conqueror181 Жыл бұрын

    I usually update in the gui , I had to drop to tty this on fedora when gnome software would crash mid update. After that I just moved to Debian and haven't had any problems.

  • @arnorobinwerkman
    @arnorobinwerkman Жыл бұрын

    the last time and also first time i had my arch system not booting after update, was when arch had the broken grub bug, but schroot and reconfiguring grub, up again within 5 minutes.

  • @GXShade
    @GXShade Жыл бұрын

    I used timeshift for monthly backup. If something breaks I go back last backup

  • @focusedwolf
    @focusedwolf Жыл бұрын

    Just saw a reddit user with this problem. Can't post link because youtube i think will delete this comment if i do. This is the post "KDE on Arch - Plasma now reloads during update, breaking the update process: Something new, for the last few months, when updating my system, Arch, as part of the post update plasma reloads ( I cannot recall if I have to re-login or not ). This interrupts the post hooks including the update of grub so if I forget to update grub and mkinit then my system wont boot. Does anyone know what changed that causes plasma to do this during updates now?"

  • @arnorobinwerkman
    @arnorobinwerkman Жыл бұрын

    i never use pamac yaourt or trizen etc, i use only the old trusty command line

  • @ultradude5410
    @ultradude5410 Жыл бұрын

    Regarding TTY2 or TTY1 being the graphical environment: If I recall correctly, TTY2 being the graphical environment is not an Ubuntu thing, but a GDM thing.

  • @raute2687
    @raute2687 Жыл бұрын

    I've made it a habit from the start to run sudo nala upgrade -y && sudo snap refresh on ubuntu, but I've also not heard of any problems from my friends who I've convinced to switch and who update graphically when the system reminds them

  • @jamesb2877
    @jamesb2877 Жыл бұрын

    I run Timeshift in rsync mode before a major update. I list all the files that are going to be updated. before I allow the update to go through. This way I will know exactly what needs to be fixed if anything goes wrong. Maintaining systems back when you have to compile everything and there was no books so I'm used to doing things the hard way.

  • @streambarhoum4464
    @streambarhoum4464 Жыл бұрын

    How to rescue your arch linux system during crash using usb rescue? Do a video tutorial for that please DT ???

  • @sunnyheheheh9401

    @sunnyheheheh9401

    Жыл бұрын

    Already thousands are present in KZread itself

  • @sunnyheheheh9401

    @sunnyheheheh9401

    Жыл бұрын

    Find yourself pls do some work

  • @penguin2137
    @penguin2137 Жыл бұрын

    i never had any issues on DE crashing during the update, maybe because Xfce - my DE of choice - is extremely stable and i found it most reliable during my one-year journey with Linux

  • @thierrybo6304
    @thierrybo6304 Жыл бұрын

    Since several years on my debian system with only a WM and no Display Manager’, i logout and return to console to run updates.

  • @marsdrums6298
    @marsdrums6298 Жыл бұрын

    WOW! Ya know, way back when... when I was just tinkering with Linux, dual booting it with Windows, I was taught to use CTRL+ALT+F5 and then update my system. But since switching to Linux full time, coming up on 6 years now, I have never done my updates that way... EVER! I think I'm going to start doing the updates that way now. I just need to get into the habit now of dropping to a TTY before doing so. I just did an update so I don't need to do it now. Hopefully, I'll remember that in a couple of days when I do the next update again. Time to reboot since I just got a kernel update. Peace everyone!!!

  • @hopelessdecoy
    @hopelessdecoy Жыл бұрын

    Honestly, newerish to Linux as my home OS, didn't know this was an issue. Probably won't remember to do it but I usually only do these type of large updates when I have everything closed but the DE and I am about to sign off anyways.

  • @andrewwigglesworth3030

    @andrewwigglesworth3030

    Жыл бұрын

    It isn't an issue. Just use whatever update system that your Desktop Environment gives you and don't worry about sensationalist KZread filler videos like this.

  • @DominikZogg
    @DominikZogg Жыл бұрын

    I had gnome session (waylanys) a crash on a upgrade (on multiple devices same update) so i had to find out the last packages that get updated and reinstalled them all to be sure: rpm -qa --last | head -n 50 can be helpful for those using rpm packages

  • @LenQuerido
    @LenQuerido Жыл бұрын

    We have had this problem on work twice with Windows 10. Not yet with Linux pc's/laptops. I use Linux since Knoppix and Ubuntu 10. I used also OS2/Warp instead of Windows.

  • @runwiththedolphin
    @runwiththedolphin Жыл бұрын

    you know I read the title of this video as "Start updating your linux computer with a gui" and I said to myself "That doesn't sound like DT at all". LOL

  • @AliensInc.
    @AliensInc. Жыл бұрын

    Both, if it's packages that wouldn't major harm and is just a few I'll do them in GUI otherwise I do that before I startx into my GUI. NO, I don't use a LM as wanna be able to do this before GUI if I feel like it.

  • @joshua_lee732
    @joshua_lee732 Жыл бұрын

    Why not use tmux or screen instead of a TTY?

  • @andrewwigglesworth3030

    @andrewwigglesworth3030

    Жыл бұрын

    Why? If you use tmux/screen on a Desktop Environment to do an upgrade, it makes no difference. Same on a tty.

  • @dolbrechts1980
    @dolbrechts1980 Жыл бұрын

    is gui not running in the background like this?

  • @LoesserOf2Evils
    @LoesserOf2Evils Жыл бұрын

    I ran a Linux server for 3 1/3 years, and we always installed updates through the terminal.

  • @andrewwigglesworth3030

    @andrewwigglesworth3030

    Жыл бұрын

    Erm, it's a server, why would it have a head? "I upgrade servers with a terminal" is a rather redundant statement.

  • @jaxxarmstrong
    @jaxxarmstrong Жыл бұрын

    The proper way of doing this: - Plan your updates. Weekly updates works fine for most people. - Make sure you have a Timeshift backup, or whatever backup-solution floats your boat, before you do an update. - sudo apt update && sudo apt full-upgrade. If shit hits the fan you can do a bare-metal restore (with Timeshift) from a USB stick and have your last working backup up within 20 mins or so. If you can't be ass'd to take 5 mins to set up a working backup-solution you shouldn't be complaining and just re-install like a norm.

  • @bigpod

    @bigpod

    Жыл бұрын

    or just install a proper image based distribution which does all that for you, does upgrade fail sure do you feel it no just like on the phone.

  • @nizzuta2611

    @nizzuta2611

    Жыл бұрын

    @@bigpod NixOS is pretty great

  • @andrewwigglesworth3030

    @andrewwigglesworth3030

    Жыл бұрын

    "Plan your updates. Weekly updates works fine for most people." Why? Are you using Windows and have drifted into the wrong video? If you are using a desktop computer and a Desktop Environment, there will likely be a software centre type programme running. For example there is "Software" on a Debian system. I cannot imagine why you would wait up to a week before installing the updates notified. For example, on Debian stable, these will be security updates and bug fixes. Why suggest people don't install these security fixes because it's Monday and I only do this on a Friday. It's silly, bad advice.

  • @Gg8YRwnc3e

    @Gg8YRwnc3e

    Жыл бұрын

    Clonezilla floats my boat. It's clones the entire drive.

  • @williamhiner8849
    @williamhiner8849 Жыл бұрын

    Always from a terminal, never used tty but never had an issue from a terminal

  • @emem666
    @emem666 Жыл бұрын

    Non issue to me as I don't have any desktop environment installed but Linux is not my main OS so I don't need to have one.

  • @cristian.A.1
    @cristian.A.1 Жыл бұрын

    Broken the system? I use debian stable so i don't now what thats mean.

  • @Sharp931
    @Sharp931 Жыл бұрын

    Last week Wayland crashed on me during updating and had to fallback to a btrfs snapshot to fix it.

  • @deadeye1982a
    @deadeye1982a Жыл бұрын

    I do it every day inside my KDE Plasma Session for ~10 years. Then once the terminal crashed during a Kernel update, so I was very lucky to have a prepared USB-Stick with Linux Distros. I was able to boot from the USB-Stick, mounting the rootfs and doing the rest of the update.

  • @andrewwigglesworth3030

    @andrewwigglesworth3030

    Жыл бұрын

    Why would you need a USB-stick because of a Kernel upgrade interruption? The previous Kernel is still there and can be booted. You can then resume the upgrade.

  • @deadeye1982a

    @deadeye1982a

    Жыл бұрын

    @@andrewwigglesworth3030 I don't know, how many Kernels Arch Linux keeps in reserve. I think there were 0 working kernels at this time. AFIK also the initrd was not there. The only option was to boot from a live system.

  • @bazoo513
    @bazoo513 Жыл бұрын

    And if you run a local X display server and log into a server you are upgrading, use ssh instead.

  • @kender1412
    @kender1412 Жыл бұрын

    I've NEVER had this happen. I've been using Linux since the 90's. Updates never take that long, not like Windoze, so I let everything update before I play with anything. I also have UPS and keep my laptops charged. If l am working on something, I do my updates beforehand or after I'm finished with it. That's one of the many wonderful things about Linux. You choose when, if ever, you update.

  • @pord
    @pord Жыл бұрын

    I now go 1 further. I do a refresh, then download. Make sure that's all ok before I run updates now to ensure no issues

  • @andrewwigglesworth3030

    @andrewwigglesworth3030

    Жыл бұрын

    You do realise that package managers download all the packages they need to do an upgrade before they start upgrading? Also, refreshing the package lists before doing an upgrade is hardly "going further" ... it is an absolutely essential part of the process. You literally cannot do an upgrade from a repository without updating the package lists.

  • @oalfodr
    @oalfodr Жыл бұрын

    I do not think dwm ever crashed for me. I will keep trusting it. Since I am on arch, I do not need to use grub. But failed systemd might break the boot process too.

  • Жыл бұрын

    I personally use offline updates. Sure it's a bit of pain to reboot if I want an update but it's the safest way I can think of doing it (and people behind Fedora avree)

Келесі