• AlsaValderaan@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    5
    ·
    3 hours ago

    On my work PC I disabled automatic restarts and I’ll just hibernate it for weeks at a time, keeping my work stuff open. Convenient, and I can install updates when I choose to.

  • Aganim@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    2
    ·
    edit-2
    2 hours ago

    Meanwhile:

    My W11 Pro PC: I’ll wait installing my monthly updates until you give me the okay. And I’ll wait for the reboot until you say so.

    My Manjaro laptop: sorry, I couldn’t build package X. Go f*ck yourself while I provide you with no information on how to fix this.

    *A manual build cache clear later*: all good! But now perform our weekly reboot.

    It’s horrible, but these days Windows updates actually give me less issues AND require less reboots than Manjaro. 😞

    • enbipanic@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      The problem there is the word “Manjaro”

      Unfortunately while they market themselves as beginner friendly that’s simply not true

  • lemmyknow@lemmy.today
    link
    fedilink
    arrow-up
    4
    ·
    8 hours ago

    One thing I’ve seen my computer do a few times: log me out, by itself. Some rare times I try and unlock back into my session, my current open and active user with my programs running, and instead I am greeted not by my desktop as it was when I locked the screen, but rather the lock screen as it was before I even logged in the first time around

    • mrgoosmoos@lemmy.ca
      link
      fedilink
      English
      arrow-up
      5
      ·
      6 hours ago

      one of the reasons I’m moving away. pisses me off so much at work, I don’t even want it at home

  • Squiddork@lemmy.world
    link
    fedilink
    arrow-up
    24
    ·
    edit-2
    17 hours ago

    Managed to wreck my NVMe drive with an unsafe shutdown on linux the other week, gave it a few hours for the self check, booted back into the distro and has been running fine ever since.

    Pretty sure windows would’ve just set the computer on fire at this point.

    • ragas@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      9 hours ago

      “&&” will only run shutdown if the update runs correctly.

      I do “;” to definitely run the shutdown after the update process exits. (Don’t want to keep the system running if nothing is happening any more.)

    • baltakatei@sopuli.xyz
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      14 hours ago

      Assuming you enter your password upon running sudo, isn’t there the risk of sudo’s privilege timing out if pacman takes too long to complete? I believe I tried something similar, intending to run a one-liner I could start then walk away from. However, I ended up returning to see the system not rebooted hours later.

      Or is yes somehow supposed to take care of this? Sorry, newish Debian user here who hasn’t ventured outside the distribution much.

      • Matriks404@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        8 hours ago

        The command after && runs only if the previous command returns non-error exit status (0), if pacman returns error the latter command won’t be executed.

        Additionally there’s probably a configuration option for sudo for it to not time out, but it doesn’t matter since you can just use systemctl reboot as a normal user to reboot your system (at least on Debian). If that’s too long I recommend to add this to your .bashrc (if you use Bash): alias reb='systemctl reboot' or something similar.

      • Successful_Try543@feddit.org
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        10 hours ago

        Yes, in this command one liner, the system should not power off when the update took too long.

        Or is yes somehow supposed to take care of this?

        No, yes is simply answering all questions asked during the update procedure (start upgrade, replace config files, restart services) with “yes”.

        • somerandomperson@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          10 hours ago

          There’s no timeout for sudo. When permitted, a process runs as root and then closes.

          Also, the system will still shutdown when update fails because pipes do not care if previous commands exit with a nonzero code, unless pipefail is set.

          Edit: i’m blind.

  • Endymion_Mallorn@kbin.melroy.org
    link
    fedilink
    arrow-up
    8
    arrow-down
    2
    ·
    17 hours ago

    Y’all don’t delete WSUS, block all of the M$ IPs at both your HOSTS file and your router, and stop all update processes?

    Do you even know how Windows works?

    • tyler@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      14 hours ago

      Compared to Mac? Mac’s is so much better? The number of times windows has fucked me over by updating on a restart.

      • Aurenkin@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        13 hours ago

        Fair enough. My experience on Mac has been pretty bad compared to Windows but to be honest there could be recency bias there. I use Mac every day for work and don’t use Windows very often but at least Windows has never suddenly closed all my apps because it decided it was time to update.

        • LwL@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          5 hours ago

          I think you got lucky then, windows is known to do exactly that. Well, these days it at least gives you a warning that it will do it in 15 minutes or so.

    • Onomatopoeia@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      15
      ·
      19 hours ago

      Yea, it has a robust rollback system, which is part of why it takes so long now.

      But… I only do updates a couple times a year to minimize the headache on my personal machines.

      My work machines it’s not my problem, but I reboot them at night a couple times a week, just in case.