Screenshot doesn’t even show half.

  • robinj1995@feddit.nl
    link
    fedilink
    arrow-up
    61
    arrow-down
    10
    ·
    1 year ago

    There are many reasons one could choose to hate Snap packages, and this not one of them. It’s like hating a webbrowser because it spawns 20 processes that (the horror) you would all see when you run ps. It’s just a part of how container technologies work.

    • planish@sh.itjust.works
      link
      fedilink
      arrow-up
      9
      arrow-down
      1
      ·
      1 year ago

      This is truly why I also hate snaps though. The snapd people and the mount people need to work out how to hide these by default.

  • digdilem@lemmy.ml
    link
    fedilink
    arrow-up
    42
    ·
    1 year ago

    Try it in enterprise where you have automated systems that deploy alert sensors and they instantly go off because each mount is 100% full.

    • exi@feddit.de
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      1 year ago

      Pretty much every alerting system I know also has a filter option to only apply automated discovery rules to certain filesystem types.

      But yes, most don’t first squashfs or mounted read-only snapshots by default and it sucks.

  • I_like_cats@lemmy.one
    link
    fedilink
    arrow-up
    53
    arrow-down
    13
    ·
    1 year ago

    I think Snap has the potential to be better than Flatpak. It’s a real sandbox instead of the half-assed shit Flatpak has going on. The problem I have with Snap is that Canonical keeps the Server closed-source. I don’t want a centralized app store where Canonical can just choose to remove apps they don’t like. So as long as the Server is closed-source, I will stay on Flatpak

        • rush@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          that’s really just two differences:

          • weaker separation/sandboxing (process is granted permission to everything) (mostly bad with handy usecases)
          • an alias feature for binaries contained in packages so you don’t have to run them by ID
      • MentalEdge@sopuli.xyz
        link
        fedilink
        arrow-up
        7
        ·
        1 year ago

        Kind of? Maybe?

        It has similar goals to something like docker, but goes about it very differently, and it’s obviously meant for user-facing applications.

        You wouldn’t use docker to install steam, but you can use flatpak.

        • MigratingtoLemmy@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          1 year ago

          I asked the question because of the label “half-assed” that the commenter above me put on Flatpak. I do not know much about snap, Flatpak and how they differ (other than the fact that both are used as containerisation technologies for desktop apps and the former is by Canonical), and why Flatpak is necessarily worse that snap (by what metric? System performance? Storage?)

          • MentalEdge@sopuli.xyz
            link
            fedilink
            arrow-up
            3
            arrow-down
            1
            ·
            1 year ago

            They are referring to flatpaks level of security. It’s sandboxing leaves a lot to be desired, as I’ve understood it.

            • Johanno@feddit.de
              link
              fedilink
              arrow-up
              2
              ·
              1 year ago

              Well probably because you usually don’t want it so secure that it doesn’t function correctly anymore.

              On snap I often need the --classic option to get sth running because it won’t run properly in a full ssndbox

      • Emperor Palpapeen@mastodon.social
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        1 year ago

        @MigratingtoLemmy @I_like_cats I wondered about that, but to me it just feels like an isolated file system based app structure, kinda like the .app folders in Macs. Does that sound right?

        And with permissions, you can stop the app from accessing anything outside of its specific little file system.

    • Raspin@lemmy.ml
      link
      fedilink
      arrow-up
      6
      arrow-down
      4
      ·
      1 year ago

      I don’t know if sideloading snap apps is a thing, but it has been proven that creating a snap repo isn’t particularly difficult. Snap server being closed isn’t really an issue Imho.

      • lloram239@feddit.de
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Isn’t the issue that snap doesn’t even support third party repos to begin with? So you’d have to patch the client before you can even access any other servers. Unless they have fixed that in the meantime.

    • QuazarOmega@lemy.lol
      link
      fedilink
      arrow-up
      55
      arrow-down
      2
      ·
      edit-2
      1 year ago

      snap/flatpak >500mb

      Don’t know about Snap, but Flatpak download sizes decrease significantly after installing the main platform libraries, they can become really small; of course that’s pretty much fully negated if you’re installing Electron apps, but even then 500MB isn’t very accurate, more like 150MB on average

      flatpak run com.very.easy.to.remember.and.type.name

      Yes I hate it, what is even more annoying is that you can do flatpak install someapp and it will search matches on its own, it shows them to you to let you decide, but after that you can’t do flatpak run someapp because it “doesn’t exist”

        • QuazarOmega@lemy.lol
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Hopefully it would be fixed upstream on the actual flatpak command, but do you know if there are wrappers for it already?

          • Fisch@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            No. If I have to launch a flatpak through the terminal, I always just do flatpak list and copy the ID or whatever it’s called

        • QuazarOmega@lemy.lol
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          Is it this one?
          It looks excellent, any idea why it’s not on Flathub yet? Never mind, I got it:

          This project is still in its early stages

      • aksdb@feddit.de
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Then you do a flatpak list and it abbreviates the shit out of the identifiers so you can’t use them either. Whoever designed that UX needs to lean back an contemplate life a bit.

        • QuazarOmega@lemy.lol
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Well that comes down to your terminal size, you have to filter the columns if your screen is too small: docs

          flatpak --columns="app" list
          
          • aksdb@feddit.de
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            1 year ago

            Sure, it’s possible. I can also use flatpak list -d to show everything. But the combination of these defaults is just fucked up UX (require the full id for certain operations, but don’t always show the full id by default).

            • QuazarOmega@lemy.lol
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              Yeah honestly they could have avoided putting Branch, Origin and Installation if there isn’t enough space available.
              The CLI definitely needs some polishing, not to mention flatpak update breaking horrendously on scrollback

      • brenno@lemmy.brennoflavio.com.br
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Snaps have a similar deduplication mechanism, and snaps allows calling apps from their names like you would do with regular packages.

        I think the reason for the second one is that while snaps are also meant to be used in servers/cli flatpak is built only with desktop GUI apps in mind.

      • janAkali@lemmy.one
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        1 year ago

        Yes, sizes might be inaccurate - it’s been about a year last time I tried snap or flatpak. All I remember is that snap installs around 300 mb gtk3 runtime and it’s often 2 or more of them, because different snaps might rely on different gtk versions + other dependencies.
        And I remember that when snap and flatpak compared, allegedly flatpak requires more storage space.

        I am aware that runtime sizes doesn’t scale with number of packages past maybe 3-4, but I have only 4 appimages on my system right now and they take ~200 mb, it is absurd that I’d need 10 times more space allocated for the same (or worse) functionality.

    • Gamey@feddit.rocks
      link
      fedilink
      arrow-up
      39
      arrow-down
      2
      ·
      1 year ago

      Appimage literally requires more storage for the apps because it dublicates all dependencies so in terms of storage flatpak and dnaps win by FAR, there are valid reasons to criticize all three but your comment is a sad joke!

      • janAkali@lemmy.one
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        7
        ·
        edit-2
        1 year ago

        Unless you trying to replace half your system with appimages, appimages take less space in practice .

        • Gamey@feddit.rocks
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          Did you read my comment at all? Flatpak and Snap share dependencies while Appimage doublicates all of them so unless you have no big dependencies on your system (literally impossible with Linux systems) Flatpaks and Snaps become more efficient in terms of storage usage the more you use them because they share big parts while Appimage still dublicates every single dependency because it’s a single binarie with everything in it…

          • janAkali@lemmy.one
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            2
            ·
            edit-2
            1 year ago

            Flatpaks and Snaps become more efficient in terms of storage usage the more you use them…

            I’m not disagreeing with that, but how many apps an average user requires that he can’t find in the distro’s repository? And how many snaps he should have installed, so it’d be more space-efficient than appimages, 10? 20? 30?

            hint: for me - one is too many.

            Flatpak and Snap share dependencies while Appimage doublicates all of them…

            On the other hand, appimage only includes the libraries actually required by an app. Where Snap/Flatpack install big fat runtimes.
            I’ve recently made a very simple gtk4 app and packaged it with all dependencies into a 10mb appimage you can just download and run. The very same app would rely on 250+ mb gtk4 runtime with snap.
            And I could be fine with that; but no, it’s not that simple, you’ll have x3 gtk4 runtimes on your system. Because snap keeps 3 last versions of every snap pkg and it’s dependencies. I don’t know what flatpack installs, but it’s not efficient in that regard either.

            2-3 gigs of libraries a program might not even need. It’s just wasted space for an average linux user. And if I was fine with that, I would be using Windows right now.

    • ffhein@lemmy.world
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      1 year ago

      snap/flatpak >500mb

      And to make it worse, snap keeps copies of previous versions of all programs. Which can be good if you need to roll something back, but at least last time I used Ubuntu it didn’t provide any easy way to configure retention or clean up old snaps.

    • Pantherina@feddit.de
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      1 year ago

      Runtimes are okay, the problem is there is no runtime package manager and often you have like 7 of them, which is horrible. But on modern hard drives also no problem.

      Appimages cant be easily ran from terminal, you need to link then to your Path.

      For Flatpak I made a tool that aliases their launch commands to be very easy.

      • janAkali@lemmy.one
        link
        fedilink
        English
        arrow-up
        6
        ·
        1 year ago

        Appimages cant be easily ran from terminal, you need to link them to your Path.

        On many distros “~/.local/bin” is already in PATH, that’s where I put my appimages, then make them executable and it just works.

    • LaggyKar@programming.dev
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      1 year ago

      Your point 1 and 2 are the same

      a - app + dependencies

      Which will be duplicated for everything installed application, and redownloaded for every new version. Whereas flatpak and snappy shares the dependencies between applications.

      s/f - flatpak run com.very.easy.to.remember.and.type.name

      Snappy makes easily run command line shortcuts. Flatpak could use some improvements there though.

      • janAkali@lemmy.one
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Yes… kinda!?
        First point is space requirement, second one is a design issue. They are directly connected, I’m not arguing that.

  • rotopenguin@infosec.pub
    link
    fedilink
    English
    arrow-up
    35
    arrow-down
    1
    ·
    1 year ago

    On the plus side, snaps also crap your system log full of petty little AppArmor events. And when snap gets its permissions wrong, you can easily fix it with SnapSeal.

    (If Flatpak would just fucking stop rewriting every file path as /var/run/1000/blah, it would be the unquestionably superior package tech)

    • SirNuke@kbin.social
      link
      fedilink
      arrow-up
      127
      ·
      1 year ago

      Friction between Snap and AppArmor is to be expected. The corporate sponsor of Snap, Canonical, is well known for their icy relationship with the corporate sponsor of AppArmor, Canonical.

    • Fisch@lemmy.ml
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      If you don’t want flatpaks to do that, you’ll have to give them permission to see the entire file system

    • ferret@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      As another commentor pointed out, you can just use flatseal to give the app full access to whatever dirs you need.

  • fernandu00@lemmy.ml
    link
    fedilink
    arrow-up
    34
    arrow-down
    1
    ·
    1 year ago

    That’s why I moved to fedora recently…didn’t like to see 30 or so mounted filesystems every time I did an fdisk -l to mount some disk

    • terminhell@lemmy.dbzer0.comOP
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Fedora is actually my main on my other machines. This is my server though. I’ve tried fedora server in the past, but it wasnt quite working for what I needed it for at the time. And now, I don’t have time to rebuild =\

      • fernandu00@lemmy.ml
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        Sure…I wouldnt choose fedora for a server…maybe RHEL…I chose debian for my home server…can’t go wrong with debian in the server 😅

      • MalReynolds@slrpnk.net
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        4
        ·
        1 year ago

        Why would you server fedora when RHEL exists? Still, debian is prolly a better choice.

          • ditty@lemm.ee
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            I’m not necessarily endorsing Fedora Server, but I’m running it on my Plex server since Fedora is the other distro officially supported by Plex (besides Ubuntu) and after I had some issues with Ubuntu Server + Plex I switched to it. Haven’t had any issues since.

      • fernandu00@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        You’re right… But I don’t have an ssd in my machine and didn’t want tons of mounted filesystems in my 10 year old machine…I’m far from an expert but seems to me that is simpler to have all my packages from dnf or apt …I’ve changed to fedora because dnf seemed better than apt resolving dependencies …not just because of the snap thing

  • technologicalcaveman@kbin.social
    link
    fedilink
    arrow-up
    19
    ·
    1 year ago

    Switching to Gentoo has been the best. If I don’t want something I just blacklist it in my make.conf. getting errors from an odd package? Blacklist. Don’t want systemd or gnome software? Blacklist. It’s great. My shit runs insanely fast and my system only breaks when I explicitly do something stupid, and it’s usually just one minor adjustment away from getting fixed.

  • Zeppo@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    19
    ·
    1 year ago

    Sigh, I was a sysadmin on my own system from 1999-2008 and on a busy server from 2008-2012… then essentially quit. Now with flatpak and snaps it seems I have no idea what I am doing.

    • Gamey@feddit.rocks
      link
      fedilink
      arrow-up
      9
      ·
      1 year ago

      Flatpaks aren’t very relevant for servers if I am not wrong but Canonical definitely tties to push Snaps for that usecase, I feel like other container technologies like Docker or Podman are a lot more relevant in that context and containerization in general is really nice especially for server use and not that hard to wrap your head around! ;)

      • Zeppo@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        6
        ·
        1 year ago

        Yeah, that’s really what I haven’t used that seems significant these days - Docker. I used to use VMs a fair bit including the premade ones from MS for IE testing, which I think (?) are the same concept.

        • Gamey@feddit.rocks
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Well not really, Docker dose run another Linux system but on your actual hardware so you don’t have the overhead of emulation, it’s really cool for a lot of things!

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

            Huh, okay. I thought it was a quick way to set up a VM - that’s how much I don’t know! I should probably look into it, thanks.

      • 3v1n0@feddit.it
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        Docker requires management and some setup. A server snap just works, it’s updated automatically and rolls back when necessary.

        It’s just a breeze. I use it for nextcloud and I’m safe for years with no maintenance from my side at all.

        • Gamey@feddit.rocks
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          1 year ago

          I won’t use it myself because I don’t think it’s a good idea to give Canonical or any other company that much power and don’t think it’s centralized nature should be how such package systems work but I don’t think it’s a bad system at all! The sandboxing has it’s hurtles but it’s really good and I am a huge fan of proper sandboxing so if it works for you it’s certainly a good option!

        • Aux@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Auto updates are not an option for anything mission critical. Every update must be tested in isolation first or you might fuck things up beyond repair.

          • 3v1n0@feddit.it
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Updates are atomic and if something goes wrong it rolls back automatically

            • Aux@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              Not everything that goes wrong might be counted as wrong by the developers. Automatic updates is a no-no.

  • Eager Eagle@lemmy.world
    link
    fedilink
    English
    arrow-up
    21
    arrow-down
    2
    ·
    1 year ago

    I take the unconditional and mandatory creation of ~/snap as a middle finger to all users. Fuck snap

    • TheAnonymouseJoker@lemmy.ml
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      1 year ago

      Does it? I was a Ubuntu user for many years, until I made the switch to Debian 12 sometime ago. And Snaps never really slowed down things for me, despite using a 5400rpm HDD. Ubuntu on 5400rpm HDD, with its Snaps, is snappier than Windows 10 on SSD.