I’ll be the first to admit that I still have a lot to learn, but isn’t it kind of dangerous to rely on repositories with software that is often months out of date? I understand that security is a moving target, but I see so many people saying that getting apps from the official repositories is the safest option. This just seems incorrect to me. Can someone please illuminate?

  • Feyd@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    5 days ago

    It depends on the repository. The big distro repositories will have security patches as part of maintenance even if they don’t pull the latest updates. Newer code can also add vulnerabilities in addition to fixing them. There are also rolling release distros that keep up to date.

    • CptHacke@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 days ago

      Forgive me for being dense, but how can they have a security patch without the latest update? I’m speaking specifically of Linux Mint and the repositories that are used after a fresh install, here. In my experience (which may differ from yours), I’ve never had to regress to an earlier version of software due to the latest version having some kind of vulnerability. It’s just not something I’ve ever had to do, although I’m not ruling out the possibility that others have experienced this.

      • jrgd@lemm.ee
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 days ago

        In order to maintain software versions, package maintainers will often selectively pull git commits from the upstream projects that fix bugs / vulnerabilities in the code, while not pulling feature commits. Sometimes the pulled commits may need modifications to work properly on an old feature version of the software, which will also be done during the process. Alternatively, a software may be compiled with different feature flags to restrict functionality to mitigate bugs known in upstream.

        • CptHacke@lemm.eeOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 days ago

          Okay, I understood about 5% of what you just said, but I think I get the general gist of it. Thanks for your reply.

          • Ephera@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            ·
            5 days ago

            Basically, because they can look at the source code of individual applications and how it got changed over time, they can typically create alternative versions of the software, which doesn’t include the newest features, but does include bug fixes and security patches.