• JohnEdwa@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    2 years ago

    How would that patch be distributed?

    Lets take VLC from this Windows example, the one that blocks windows updates is a really old version of it. If you have that, you need to either uninstall VLC or remove it to get Win 11 to update.

    If there was a bug where having a really old version of VLC on your system would somehow break if you updated the kernel, would a complicated workaround patch be integrated into the kernel just in case for forever?
    Or would the patch work exactly the same way as windows, where it would check for that version of VLC and tell you to remove or update it first?

      • JohnEdwa@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        the exact same way that we distribute every single other patch in Linux.

        Which is?

        I see you’re unaware of the number one rule of the Linux Kernel : DO NOT BREAK USER SPACE

        For sure, my linux experience is limited to playing around with raspis and the Steam Deck, and running apt-get update / upgrade and accepting everything at once. I haven’t actually even had a need to refuse updating something individually so I have no idea what the protocol is if I wouldn’t want to update some application. What I do know is that basically every single linux application has dependencies and if you don’t install, update or remove exactly what that application demands you to do, most of them refuse to install or update themselves - blocking updating because you have or don’t have something else on your system seems to be basically the norm with Linux.

        • KillingTimeItself@lemmy.dbzer0.comBanned
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 years ago

          blocking updating because you have or don’t have something else on your system seems to be basically the norm with Linux.

          i mean yeah, when it does happen that’s the correct failstate. The difference here is that it’s trivial to troubleshoot and maintain. The chance that this happens is very low, unless somebody is rearranging packages in your repo. In which case that’s an easy enough fix, and usually already scripted for. Something to do with AUR, which doesn’t touch pacman. Or some hilariously convoluted piece of software kerfuckery.

          Usually, it’s handled remarkably gracefully.

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 years ago

      Usually it’ll be available as a flatpak or something, which is a special container that can have outdated dependencies and whatnot without impacting the rest of the system.

      So if you really need some old version of VLC or something, just wrap it in a container and upgrade away! The upgrade would remove any incompatible apps (not containerized apps, just the system installed apps) and it would be on you to create or install that package if you haven’t already (almost everything old I’ve needed is already available).

      So go ahead and use the VLC initial release from 2001 or whatever, you might need to do some archeology to get the right versions of dependencies though.