Bottles and it’s developers are very much in favour of upstream packaging and flatpaks especially after the situation they dealt with because of broken outdated packaging coming from Fedora Linux

  • simple@lemm.ee
    link
    fedilink
    arrow-up
    50
    arrow-down
    12
    ·
    edit-2
    8 months ago

    Flatpak is the future, no doubt about that. I don’t know how devs and distro owners put up with the normal way of distributing binaries. The motto is supposed to be “build once, run anywhere” but sometimes it felt like “build 20 times, enter dependency hell, realize your distro’s repo is using a 6 month old version with no signs of updating”. I don’t miss those days. I’m always going for Flatpak now.

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      arrow-up
      20
      ·
      edit-2
      8 months ago

      This is a very desktop-centric view. Distros like Fedora target servers, desktops, and other use cases, and each has a separate, competing set of expectations.

      For example, servers want everything using a common set of libraries so security patches only need to happen in one place. Desktops, however, are more interested in getting the latest updates quickly with minimal effort, and security is a bit less important. And then you have cases like kiosks where security and rapid updates aren’t particularly important, they want an immutable image so the thing has minimal chances of breaking.

      My main complaint at a high level is that things like flatpaks tend to use a lot more disk space, but storage space is quite cheap relatively speaking, so that’s a pretty minor concern. My more practical issue is that switching from repo-managed to flatpaks is a bit of a pain since many times that release channel isn’t well tested, but that’s not a technical issue with it though. The practical result is a weird mix of repo and flatpak, which is harder to maintain than just doing one or the other.

      • FOSS Is Fun@lemmy.ml
        link
        fedilink
        English
        arrow-up
        8
        ·
        8 months ago

        For servers there’s Docker/Kubernetes/Podman, which is well-established and serves a similar purpose as Flatpak on the desktop. Servers were actually first with the increase in popularity of containers.

        90 % or more of my desktop (Fedora Kinoite and Silverblue) apps are Flatpaks already. I only have four rpm-ostree overlays (native packages) left: android-tools, brasero/k3b, syncthing (I could switch to SyncThingy for a Flatpak) and virt-manager/virtualbox

        With Flatpak there is “flatpak override” which gives you the ability to grant additional permissions or restrict them even further. E. g. I use it to connect KeePassXC with Firefox or to disallow access to the X server to force almost all apps to use Wayland instead of X. It also allows me to prevent apps from creating and writing into arbitrary directories in my home.

        Once I reinstall my home server, all its server software will be containerised as well (five years ago I didn’t see the necessity yet). I am tired of having to manage dependencies with every (Nextcloud) upgrade. I want something that can auto update itself completely with minimal or no breakage, just like my desktops.

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          8 months ago

          For servers there’s Docker/Kubernetes/Podman, which is well-established and serves a similar purpose as Flatpak on the desktop

          Originally, containerization was for security sandboxing, so if one service gets exploited, the attacker would only have access to the underprivileged container runtime, not the wider system, and simplifying deployment was a nice side-effect. I have serious concerns that the shift to containers means security updates will be applied less frequently because it needs to be done for a lot more services.

          For example, the app I work on gets delayed security updates because we have to make similar changes for each of our microservices, which is a fair amount of effort and a relatively low-priority task. If we had a cluster of similarly-configured servers, it would be as simple as updating system libraries, but since everything is wrapped in a container, those each need to be rebuilt and redeployed. As it stands, our SW stack has a number of security advisories flagged by our container hosting service (none seem realistically exploitable), but they are still largely being ignored because of the amount of effort required to keep them updated.

          Flatpak/containers are very similar to the old discussion around static vs dynamic linking, except there’s a level of containerization to mitigate exploits escaping the sandbox.

          Once I reinstall my home server, all its server software will be containerised

          Same. However, that’s because I care a bit more about ease of (re)deployment and less about exploits, because my home server isn’t particularly critical, and certainly not a big target for attackers. I am more likely to migrate to new hardware than to need to pass a security audit.

            • sugar_in_your_tea@sh.itjust.works
              link
              fedilink
              arrow-up
              4
              ·
              8 months ago

              Yeah, I can see that, especially for an end-user. But as a developer deploying my code somewhere, it’s not that much different, provided logging is configured.

          • andruid@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            8 months ago

            The fact that apps can be deployed at different paces definitely is a real double edged sword. On one hand it prevent an app who prioritizes a fix low on the list from slowing down other apps on the same system, meaning everything should be able to update ASAP. It also means that the slower updating ones have less community/business pressure telling them to get fixed.

      • LemmyNoKiseki
        link
        fedilink
        arrow-up
        1
        arrow-down
        3
        ·
        8 months ago

        This is one of the things I never really got about the Linux community, like first people are really eager to invite Windows users over to the Linux side (which are regular desktop users for the most part), then these people add in some criticism about matters like these but it’s always met with “but server usage”. Why is the average desktop user expected to care about servers?

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          8 months ago

          Linux distributions are multi-purpose, and the bulk of their funding comes from server use-cases, so the defaults should prioritize server needs. So while desktop users don’t need to care about servers, linux distro maintainers do, because that’s a huge part of their userbase in many cases.

          Desktop users are free to use flatpaks or whatever they want, they’re not obligated to use the options provided by the default repositories.

    • Diplomjodler@feddit.de
      link
      fedilink
      arrow-up
      13
      ·
      8 months ago

      It’s great when it works. I tried to install VSCodium from flatpak the other day and that was not a good experience at all.

  • lemmy_99c4zb3e3@lemmy.world
    link
    fedilink
    arrow-up
    15
    arrow-down
    4
    ·
    edit-2
    8 months ago

    All my gui apps are flatpaks and I use fedora. Flatpaks are the future. Why don’t they use their energy for something useful. There is a ton of things broken in fedora and they only waste their and others time.

        • Spectacle8011@lemmy.comfysnug.space
          link
          fedilink
          arrow-up
          5
          ·
          8 months ago

          I also had a pretty terrible experience with Fedora KDE not too long ago. Too many issues to count. In the end, I couldn’t start a Plasma session from the display manager anymore so I gave up.

          I really wanted to like Fedora, but…well, Fedora does not seem to like me. My experience on Arch KDE has been great. Like night and day. Still a few small bugs, but annoyances and not showstoppers. My experience with GNOME on Arch has been fantastic. Only one program was broken in GNOME that isn’t in KDE. It makes me wonder why I ever tried to leave…