• Ooops@feddit.org
        link
        fedilink
        arrow-up
        20
        ·
        edit-2
        7 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
            21
            ·
            7 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
              14
              ·
              7 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
        5
        ·
        5 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'

    • Zink@programming.dev
      link
      fedilink
      arrow-up
      7
      ·
      6 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
          3
          ·
          5 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 are output are subject to change, so you don’t want it in a scrip. Apt-get will always have the same options and expected output for automation purposes.

          • Nalivai@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            5 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

  • taiyang@lemmy.world
    link
    fedilink
    arrow-up
    31
    ·
    7 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
      10
      ·
      7 days ago

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

      • taiyang@lemmy.world
        link
        fedilink
        arrow-up
        8
        ·
        7 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
          6
          ·
          7 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
            4
            ·
            6 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
          ·
          6 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)

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

    • Nalivai@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      2
      ·
      6 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
          2
          ·
          6 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
            1
            arrow-down
            1
            ·
            6 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
              ·
              5 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.

  • ToiletFlushShowerScream@piefed.world
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    1
    ·
    7 days ago

    Linux noob here. Just upgraded hardware and reinstalled Windows and Linux on the gaming computers and even though I’m a complete Linux beginner, 9 out of 10 software issues were with windows! I couldn’t believe a gazzilion dollar company with thousands of employees still couldn’t get it right?

    • Leon@pawb.social
      link
      fedilink
      arrow-up
      5
      ·
      6 days ago

      I reinstalled Windows 11 a while ago because of a software I struggled to get working on Linux (the adobe installer patches for WINE have since resolved that) and I had no idea how annoying the installation process is. You had to babysit it, and tell it your life’s story. Not to mention the amount of times it asked me to sign up for MS 365 and OneDrive. In the end, it enabled OneDrive anyway, despite me telling it to sod off at least half a dozen times.

      And that’s just the install process. Using it is another beast entirely. Why do I need to accept a UAC prompt just to open a browser? Why does the browser need to update itself every time I boot the OS?

      Why do I have to hunt all over the internet for basic stuff that should come with the OS itself? Even when I used an NVidia card I didn’t have to faff around with some stupid third party software to handle drivers, it was just there. Sure it broke all the time because NVidia is a garbage company, but it was right there!

  • plutopos@lemmy.zip
    link
    fedilink
    arrow-up
    9
    ·
    6 days ago

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

      • plutopos@lemmy.zip
        link
        fedilink
        arrow-up
        5
        ·
        6 days ago

        Sure, what I’m saying is the “windows way” of applying updates isn’t bad and there’s a reason why they do it

    • Nalivai@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      6 days ago

      Wait, plasma does your system updates? I don’t think it’s an appropriate chain of commands

      • plutopos@lemmy.zip
        link
        fedilink
        arrow-up
        2
        ·
        6 days ago

        Discover is integrated with the rest of Plasma, so if you run your upgrades via Discover on Plasma, it’ll use Plasma settings. The same goes if you update with the little button in Plasma’s taskbar

    • Wispy2891@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      6 days ago

      sorry, usage of this tool has been discontinued, please use [WORSE TOOL WITH DIFFERENT NAME]

      (joking but not really, gemini-cli is going to the google graveyard, replaced by antigravity-cli that’s basically the same, but in google’s tradition it launches with less features and also it’s not FOSS)

  • ZILtoid1991@lemmy.world
    link
    fedilink
    arrow-up
    9
    ·
    6 days ago

    Aaaand… you’re on Debian, so Blender 4.0 just got added to the testing branch. (Blender 4.0 still haven’t been tested for 168 hours of continuous running without touching it)

    • Natanox@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      5
      ·
      6 days ago

      It’s a good thing system packages (which should follow a conservative update approach if possible to guarantee system stability, unless hardware demands newer packages) and user applications (which you’d usually want to be most up-to-date) are increasingly isolated from each other and mostly able to follow their own schedules. Also improves security and such.