• Ooops@feddit.org
        link
        fedilink
        arrow-up
        32
        ·
        5 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
            ·
            5 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
              ·
              5 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.

      • CorneliusTalmadge@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 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'

  • ian@feddit.uk
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 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.

      • ian@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        To a non IT person who hasn’t heard of apt, needing to start the update manually, and needing type some magic words in precisely, is the worst it can get.

    • Zink@programming.dev
      link
      fedilink
      arrow-up
      9
      ·
      4 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
          cake
          link
          fedilink
          arrow-up
          4
          ·
          3 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
            ·
            3 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

  • DevDave@piefed.social
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 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
    ·
    4 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.

  • taiyang@lemmy.world
    link
    fedilink
    arrow-up
    41
    ·
    5 days ago

    I just want to share that last semester, the Windows podium computer we used decided randomly to update during a student presentation. It did not help their nerves, but I did turn it into a chance to evangelize Linux.

    And no, they can’t use their own laptop, the connections to the podium computer, and thus the projector, use VGA…

    • Tetsuo@jlai.lu
      link
      fedilink
      arrow-up
      16
      ·
      5 days ago

      Not that it matters much but isn’t there cheap adapters to/from VGA?

      • taiyang@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        5 days ago

        Yes but it’s generally easier and less prone to issues to just open their PowerPoint (or really, Google sheets) on the podium since I’m already using it. I’m sure the admin uses adapters as their excuse not to update the hardware though… (even if they are still using Win 11 on decades old computers).

        • Tetsuo@jlai.lu
          link
          fedilink
          arrow-up
          8
          ·
          5 days ago

          Honestly, I would prefer if a video projector wasn’t tossed as garbage if you can just buy a cheap adapter and put it in a box next to the podium.

          We have enough electronic waste as it is!

          • taiyang@lemmy.world
            link
            fedilink
            arrow-up
            6
            ·
            5 days ago

            Yes, same; the real solution is Linux podium with an adapter in every room by default. But that’s not happening anytime soon, lol.

            Technically it’s not the projector with the issue either, the podium is more or less a very fancy hub with a monitor built in. I feel like the adapter could just be built in if necessary, lol.

        • boredsquirrel (he)@slrpnk.net
          link
          fedilink
          arrow-up
          3
          ·
          4 days ago

          I have had windows users tell me that a projector needs a usb adapter. While HDMI worked perfectly fine and I even got crazy high resolution (after configuring it myself in KDE)

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

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

    • Jyek@sh.itjust.works
      link
      fedilink
      arrow-up
      16
      ·
      4 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
        ·
        4 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
        ·
        4 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
      ·
      3 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
      ·
      4 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
          ·
          4 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
            ·
            4 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
              ·
              3 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.