• ian@feddit.uk
    cake
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 days ago

    It’s clear why many Windows users won’t switch to Linux, when people show them they’d need to use strange IT tools to use it. While, annoying, Windows doesnt need you to be an IT nerd. Linux doesn’t either, but to people outside of the Linux bubble, this is how it gets presented. That Windows update sure looks easier than some manual hack.

      • CorneliusTalmadge@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 days ago

        You are in luck because you can make this an alias (custom command) in your .bashrc file:

        alias update='sudo apt-get update && sudo apt-get upgrade'

      • Ooops@feddit.org
        link
        fedilink
        arrow-up
        32
        ·
        4 days ago

        Is it even apt-get still? thought they changed over to apt long ago and apt-get is just a symlink for legacy reasons.

        At least that’s what I last read… (speaking as someone also loving candy) .

          • MsFlammkuchen@lemmy.blahaj.zone
            link
            fedilink
            arrow-up
            29
            ·
            4 days ago

            apt is meant more for user interaction and apt-get is more stable and more for scripting. But apt-get is often used in online tutorials because it doesn’t really change.

            • Tetsuo@jlai.lu
              link
              fedilink
              arrow-up
              22
              ·
              4 days ago

              I think it wasn’t for APT but I once worked for a business with a lot of RHEL, the script that was updating hundreds of servers was using the user wrapper instead of the binaries. A warning was displayed in the script to warn not to use the wrapper for scripts.

              I warned my team leader of the issue and was completely ignored and was said that it was an issue for the team that made the script in the first place.

              I gave up.

              A few weeks later, the poorly designed script botched a major update on hundred of servers because the wrapper had a tiny change and the update script didn’t handle it well.

              It’s insane to me how much money a business can waste for stupid shit like that. The devs warned us not to use their wrapper to script on, the linux team did it anyway, my warning was ignored, many hours of engineers work was wasted fixing the chaos that ensued.

  • DevDave@piefed.social
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    I have no artistic skills so freebie: Arch is like Russian roulette where the odds are good but there is still a non-zero chance some update is going to shit the bed. I don’t even know how to convey that in meme form either.

  • CaptPretentious@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    3 days ago

    As someone who works on Windows daily… this is so true. One of the things that really annoys me with Windows is being able to reliably do updates. Running any of the update stuff, seems more like a suggestion and if Windows deems your request worthy, it might SLOWLY do something.

    • Zink@programming.dev
      link
      fedilink
      arrow-up
      9
      ·
      3 days ago

      iirc, apt-get is the version to use in scripts. They keep the input & output consistent so that it won’t break things.

      Regular old apt is for humans to use at the command prompt, and that’s what I use all the time.

        • Cenzorrll@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          2 days ago

          Less options and it expects user input, so when you update and there’s a changelog or warning, it shows it to you and you can read it. It doesn’t continue because it thinks you’re there reading it. The options and output are subject to change, so you don’t want it in a script. Apt-get will always have the same options and expected output for automation purposes.

          • Nalivai@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            2 days ago

            Apart from letting you read the changelog, I would call it less of a “good for humans” but “bad for scripting”. Maybe it’s just me, but less options was never a good quality in my books

    • Jyek@sh.itjust.works
      link
      fedilink
      arrow-up
      16
      ·
      3 days ago

      Winget update --all

      But yes, this updates any packages distributed by Ms store and winget repos. As an IT professional, I love winget.

      • cygnus_sillius@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        2 days ago

        Winget is a step in the right direction… but man it is SO SLOW. If PowerBI Desktop has an update, it is actually taking me 20+ minutes to update a handful of apps.

      • Blemgo@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        2 days ago

        My first introduction to winget as a sysadmin was horrible. Why Microsoft, in their infinite wisdom, decided to make winget reliant on the user environment still baffles me. Why on earth would they require admin rights for some commands if you need to have logged into the system once?! Even the user created for LAPS does not have that requirement!

        Even getting it to run through a service on system level requires you to find the nondescript directory of the executable (which may or may not he the same on other devices!) To get basic functionality going. But even with the --ignore-unknown flag (because it is not able to determine the version of packages when run through a service) winget will refuse to update without a user environment.

    • crisis@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Install-Module PSWindowsUpdate

      That will install the module required for Windows Update command line

    • Nalivai@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      3
      ·
      3 days ago

      Which will try to update all 3 apps that are available via winget. It will break one of them. It has 50% chance of bonking some drivers.

        • Nalivai@lemmy.world
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          2 days ago

          4315 packages

          It’s not nothing, and the effort is commendable. Def more than three. Dare I say it’s even more than five.
          Yet, in a grand scheme of things, it’s indistinguishable from three.

          • ILikeBoobies@lemmy.ca
            link
            fedilink
            arrow-up
            2
            arrow-down
            1
            ·
            2 days ago

            If NT is given as much time as the Linux kernel has had to mature then I’m sure they’ll have more packages built for it over the years.

            • tomkatt@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              ·
              2 days ago

              What does this even mean? Windows as an operating system has existed since 1985, and NT has been around since 1993. Linux initial release was 1991.

              Microsoft has had all the time in the world.

  • plutopos@lemmy.zip
    link
    fedilink
    arrow-up
    14
    ·
    3 days ago

    KDE Plasma recommends applying updates at reboot like Windows for stability. In fact, that is how it does them by default