A new ‘app store’ is expected to ship as part of Ubuntu 23.10 when it’s released in October — and it’ll debut with a notable change to DEB support.

  • Rikudou_Sage@lemmings.world
    link
    fedilink
    arrow-up
    165
    ·
    1 year ago

    Tldr: the new store only supports snaps, deb support will come later. OP, please provide summary next time if you link to clickbait articles.

    • z3bra@lemmy.sdf.org
      link
      fedilink
      arrow-up
      15
      ·
      1 year ago

      Deb support will come later, but:

      If the same piece of software exists in the Ubuntu repository and the snap store the new store will only make it possible to install the snap version.

      So the title is on point IMO.

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

      It’s not a click bait per se. Even after deb support they will use only snap for applications that has a snap package and only debs if it hasn’t got any snap package afaik.

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

      BUT, the “new” store is based on a community project which ALREADY supports both deb and snap.

  • Recant@beehaw.org
    link
    fedilink
    English
    arrow-up
    51
    ·
    edit-2
    1 year ago

    Why is Ubuntu pushing snaps so hard? Is there objectively a benefit to them apart from Flatpak?

    It seems like an odd hill to die on.

    • Random Dent@lemmy.ml
      link
      fedilink
      arrow-up
      45
      ·
      1 year ago

      Canonical is just weird like that, it seems. They tend to pick something and fixate on it really hard (Eg. Unity desktop, Mir, that convergent phone thing, now Snaps) and work on it until it’s almost really good, then they get fixated on the next shiny thing and dump whatever they were doing to go chase that instead.

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

              A corporation is operated through a series of set rules, which dictate how it runs. It is structured in a way that is tangible, whereas the structure of the human mind is currently only theorized. I am reluctant to use terms like ADHD to describe corporations because that is prescribing a list of abstracted properties to them which we can definitely see that it doesn’t have internally. Unless the there is a set of unchanging principles that is the list of ADHD symptoms, no, not ADHD.

      • Agin@forum.basedcount.com
        link
        fedilink
        arrow-up
        7
        ·
        1 year ago

        that convergent phone thing

        Tbf I think convergence could be the killer feature which pushes mobile Linux into large-scale adoption. Also Purism has its Librem 5 phone as convergent, too. It’s not just Canonical.

    • entropicdrift@lemmy.sdf.org
      link
      fedilink
      arrow-up
      36
      ·
      1 year ago

      There’s a benefit to Canonical, the corp that maintains Ubuntu, which is that while snaps are open source tech, the server for the snap store is closed source and snap can’t be configured to point at another store.

      In other words, it’s about centralized control.

      There are some advantages to the tech itself, like live auto-updating, which is good for security-critical server apps, but over all I’m not a fan.

      • flux@beehaw.org
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        I believe you’re completely right here, except that snapd can be configured to point to another store, though it’s not very well documented… I did find the piece of information once :).

        But the thing is that the client still only supports one app backing site at a time. So if you pick another one, you lose visibility to the other store. I doubt even updates work as they should.

        So it’s really about building technology that is geared towards centralized control, whereas basically anyone can host flatpak packages and give ref links to them.

      • Recant@beehaw.org
        link
        fedilink
        English
        arrow-up
        5
        ·
        edit-2
        1 year ago

        I don’t think that the board members are sitting there and pondering how they can exercise more control on the user via snaps.

        The auto updating is a nice benefit but it doesn’t seem like a big enough benefit to allocate so many developer man hours into. I would think that Canonical would realize that the developers time is better spent making features the users want.

        But what do I know? I’m just someone posting on Lemmy not a Canonical board member haha

        • Avid Amoeba@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          Snap provides features that users want. Here, I’m a user and I really appreciate those features. Features that have been improving my life for at least 5 years.

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

      Because they controll snaps. Their backend is proprietary and they do not support any other way of distribution.

      Now there are some objective benefits to Snaps compared to Flatpaks, at least so I was told. Apparently they offer significantly better documentation and integrate more tightly with the system, allowing you to do more stuff with them.

      This was a while back tho, I don’t know where Flatpak stands today

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

      Snaps are used for Ubuntu’s IOT distro, and also for their upcoming immutable desktop. They even ship kernel and mesa as snap, which makes updating less likely to break a system (in case of a crash while updating, user error, …).

      That’s why they push snap. Canonical doesn’t mainly aim to make a apps available to all distros like flatpak does. Just like now where all distros need their own packages, snap will coexist with other package formats.

      For the user it’s unimportant how apps are installed, as long as they’re available.

    • Auzy@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      It could be like the old RPM vs DEB arguments. Technically, one could have argued at the time that RPM was explicitly singled out in the Linux Standard base.

      However, these days, DEB certainly feels more common (although, from my understanding, Redhat/Slack is big in enterprise, so i’m not actually sure which is more common).

    • BuoyantCitrus@lemmy.ca
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      Aren’t you sorta trusting whoever wrote any package you install with root? I mean, you should have that attitude anyhow as packages have a huge attack surface so privilege escalation bugs are way more common than remote execution but still, flatpak and snap at least offer a bit of a sandbox which might improve…

      • rambaroo@beehaw.org
        link
        fedilink
        arrow-up
        6
        ·
        1 year ago

        Depends on your distro and what’s available in the repo. With default repos you’re more trusting the distro developer to vet packages.

        I trust debian for that. It’s been a while since I used Ubuntu so I don’t remember how their repos are set up but the debian team is notoriously conservative with their repos.

      • mFat@lemdro.id
        link
        fedilink
        arrow-up
        4
        ·
        1 year ago

        The track record has been very good as far as i know with thousands of packages over the years so I doubt if there is a real problem to be solved here.

    • Avid Amoeba@lemmy.ca
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago

      APT is not good at managing dependency hell. This is a common problem for all package managers that don’t typically bundle dependencies. You can get 30000 open source packages from trusted sources having a maintainer working on each to all share the same dependencies for an OS release. That’s what Debian does. However it’s a lot of work and that works increases significantly when you try to do it for a piece of software across OS releases.

      Read - it’s difficult for LibreOffice or Mozilla to ship a new version of their software that works on several Debian or Ubuntu releases. It’s also difficult for maintainers to do that.

      You could of course include dependencies in debs, but then you’re increasing the security attack surface of the OS, because there’s no sandbox around those bundled dependencies. Bundling dependencies requires sandboxing to be safe. Otherwise whenever there’s a security hole in one library in package X, package X might patch it, but the same library might exist in another 50 packages on the system unpatched.

      This is a solved problem. It was done in Android, iOS, BlackBerry 10 and probably others. All OSes that had to deal with more than 30000 packages, open source or proprietary, from trusted or untrusted sources. Bundle non-system dependencies and confine in a sandbox. Snap’s been doing this ever since it was called Click. Flatpak didn’t have the sandbox part for a while if I’m not mistaken. I’m not sure what its current sandbox state is.

      There are other issues with APT/deb but managing dependencies without sandboxing is probably the most fundamental one since dependency management is one their fundamental purposes.

    • vhstape@beehaw.org
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      I do wish APT supported installing certain packages locally. Other than that, I’m more likely to use it than Snap/Flatpak/etc

    • Agin@forum.basedcount.com
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

      Honestly for new/average users, those who tend to use Ubuntu, I always would recommend Manjaro. Since I use arch btw myself I have a bias but using pacman, being rolling release, and having access to the AUR (+ Flatpaks) set Manjaro apart from other distros for average users.

      But frankly I never understood why Debian itself is considered an “intermediate” distro since it’s no harder than Ubuntu to use IMO.

      • rambaroo@beehaw.org
        link
        fedilink
        arrow-up
        7
        ·
        edit-2
        1 year ago

        Debian is more bare bones then Ubuntu, that’s why. Ubuntu comes with a lot of packages already installed by default. In Debian you have to install a lot of that stuff manually. You might also have to edit some configs for example. It’s not that hard, but maybe a little too much for a beginner.

        I upgraded Debian to 12 last night, which required manually updating the source.list for the apt repos for example. It’s been a while but I’m pretty sure Ubuntu gives you a UI for upgrades? Upgrading Debian was simple for a techie who’s played around in Linux already, but it could be more intimidating for a newbie.

    • EddyBot@feddit.de
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      I’m kinda baffled people would jump ship because of this matter
      Snaps have been a thing for 7 years and before that Canonical did similar really weird things (Amazon shopping lense a decade ago anyone?)

      anyone who really cares already uses something else

      • stravanasu@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        It’s just because I’m a newbie – having been using Linux for one year, and started with Ubuntu simply because that was shipped ready with my laptop. I haven’t found the time to try any other distro yet, because of work & lack of time.

        Indeed I remember I was thinking about moving to Linux years ago, exactly when the Amazon-Ubuntu craziness happened, so I thought “some other time”.

        Regarding snap & flatpak: I simply don’t like the redundancy philosophy behind them.

      • Avid Amoeba@lemmy.ca
        link
        fedilink
        arrow-up
        15
        ·
        edit-2
        1 year ago

        Because maintaining snaps is a lot less work for whoever maintains the package, upstream developers, volunteers, or Canonical. If I’m shipping software for Ubuntu and I can use snap, I sure as hell will use it instead of deb.

        • Justin@lemmy.jlh.name
          link
          fedilink
          arrow-up
          10
          ·
          1 year ago

          Flatpaks are so much better than snaps. There’s nothing that Snaps can do that Flatpaks can’t do better, aside from CLI tools. But CLI tools should just be in Docker anyways.

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

            Flatpak is mainly for packaging desktop apps, whilst snap can update the entire distro (kernel, mesa, system apps, cli). Snap does things Fedora needs rpm-ostree for.

            In my opinion docker isn’t as useful for cli tools. I need easy access to many little tools, and this results in me having one container with everything. But that doesn’t work well with network capture etc. In the end being able to install packages system wide quickly is really useful.

                • Avid Amoeba@lemmy.ca
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  edit-2
                  1 year ago

                  You could do it of course but it’s far from ideal for the purpose of a general case CLI. Unless your script yourself a wrapper, the invocation is fairly verbose. It also leaves containers behind unless you specifically pass --rm which isn’t default. Then there’s the intricacies of the different ways of passing data to it. Oh and let’s not forget that unless you setup rootless Docker, or you do something dangerous like adding yourself to the docker group, you have to always invoke with sudo. Therefore I wouldn’t say that Docker is an appropriate tool for CLI apps in general. For dependency-bundled CLI apps, Snap doesn’t have these gotchas and is therefore much closer to ideal CLI UX.

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

        Because they something to lock you in to Ubuntu. They want Ubuntu to be the only thing that uses snaps. They want to get snaps to be an Ubuntu exclusive feature, and once they can start convincing some random closed source devs to ship in only the snap format they have a hook to keep you on Ubuntu. And they want those random random closed source devs to be focused on more of the corporate world so they can sell some support licenses.

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

          Snap is easily available on other distros as well. If anything, they want to lock you into their proprietary store.

      • 20gramsWrench@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        9
        ·
        edit-2
        1 year ago

        because they won’t need to maintain it, they won’t even need to maintain the dependencies, some guy online will maintain the package and it’s dependency for them, whether it’s updated or not, it’s going to launch, that’s the whole point of those style of packaging

  • Jo Miran@lemmy.ml
    link
    fedilink
    arrow-up
    19
    ·
    1 year ago

    Ubuntu is getting on my last nerve. At this point I’m going Debian on everything except Thinkpad, but only because it’s Nvidia based and Pop!_OS just works on it.

    • bladewdr@infosec.pub
      link
      fedilink
      arrow-up
      8
      ·
      1 year ago

      All the servers I’ve spun up in the past few years have been Debian instead of my usual Ubuntu.

      The last straw was kinda when I learned that installing docker via the install menu gives you the snap version instead of the normal one, with no indication that this is the case.

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

      I’ve got a p50 ThinkPad with an Nvidia GPU, NixOS is the only distro I’ve found that’s worked properly out of the gate

    • thatsnothowyoudoit@lemmy.ca
      link
      fedilink
      arrow-up
      27
      ·
      edit-2
      1 year ago

      Snaps I get, but Ubuntu? Aside from an asinine application process to get hired a Canonical, they did a lot to push for a more straightforward Linux desktop experience. Their time has passed, but cancer is a bit too much for me, considering all the fantastic offshoots.

      Context: I came to Ubuntu from Gentoo. Debian before that and a brief flirt with the hot fantastic mess that was Mandrake when I first discovered Linux.

      • nous@programming.dev
        link
        fedilink
        arrow-up
        9
        ·
        1 year ago

        Snaps is just the latest controversial tech they haved pushed for. They have a long history of pushing for things they have created that people don’t want or don’t want their implementation of (like upstart or the original unity desktop env). Or pushing for stuff before it is ready (like pulseaudio).

        Nothing wrong with pushing for your own tech, but they do seem to miss the mark a lot on what they want to introduce. And keep upsetting the community over it.

        • knewe@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          There is a problem with pushing tech if that tech is proprietary — such as with Snaps.

          Unity I don’t think was ever that controversial, except that Ubuntu was sending all desktop search queries to Amazon at one point, which was, of course, terrible privacy-wise. The reason why Unity died is because Ubuntu decided it’s not worth the money to maintain it.

          • nous@programming.dev
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            1 year ago

            There was a lot of community backlash when they first released unity as its own thing. Lots of people hated it because it was very different from what came before. That is what made it controversial.

  • Raincloud@beehaw.org
    link
    fedilink
    arrow-up
    17
    ·
    1 year ago

    The Fedora software app has been promoting flatpaks over native packages, even not displaying that native packages are available even if they are, requiring the command line tool to access some native packages. So I don’t see how this is fundamentally different.

    • knewe@discuss.tchncs.de
      link
      fedilink
      arrow-up
      24
      ·
      1 year ago

      The big difference is that Snap is partially proprietary. For those who like Linux for its free and open-source nature and all the benefits that confers, this is an unfortunate evolution that has a negative impact on the Linux ecosystem.

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

        And snap has other issues, such as it’s very badly implemented. No sane person wants to see 100s of lop devices mounted on lsblk all the time.

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

      The fundamental difference is that flatpak is a good system, adopted by many distributions.

      Snap sucks and only Ubuntu uses it.

      They’ll do like their Unity UI, wait many years until they realize their mistake then drop it.

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

        I hate that they also SEO’d the hell out of major search engines to show snap setup and installation instructions when anyone searches for installing a package. E.g. “arch install firefox” leads to https://snapcraft.io/install/firefox/arch which is downright dishonest marketing.

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

          On google it’s the 4th result for me even in private mode which seems pretty reasonable. The first result is the firefox archwiki page.

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

            I beg to differ. I think it’s very harmful.

            • There as absolutely no reason for anyone in Arch to use snap to install something mainstream like Firefox. Same goes for other OS’s like Fedora etc. (which are all mined in similar way, just change it to /fedora for instance).
            • The page presents itself as if it’s the only choice, and can easily scam someone who’s just getting into Linux into installing snap. I think it’s designed for that purpose. Arch links to the package, but not step by step guide (which is on Arch), but this can easily lure people into installing snap and being none the wiser the it’s not the default package manager for their distro.
            • It’s 4th for Firefox, but I’ve seen it as the top result for some other packages. Probably Google caught up, or probably for packages not mainstream as Firefox it still shows snap as number one result.
        • Freeman@lemmy.pub
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          Snap is foss on the client end etc iirc. but the server that serves up content is proprietary.

  • m3adow@feddit.de
    link
    fedilink
    arrow-up
    16
    ·
    1 year ago

    Maybe I need to reconsider Pop OS. Last time I tried they shipped with a broken kernel, but that’s probably fixed now.

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

    Yeah, nah, that’s a dealbreaker for me. I’m back to LMDE when this happens.

    I don’t mind having snaps available but I’d avoid using them whenever possible. They’re larger than necessary, slower than necessary, and I trust software checked by its original devs plus distro maintainers more than software checked by the devs alone.

  • Auzy@beehaw.org
    link
    fedilink
    arrow-up
    14
    ·
    1 year ago

    Honestly not sure why it matters, provided the store is full. Both are similar to end users

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

      Agreed. I would have like Ubuntu to come with flatpak, but snap exists for longer than flatpak and has additional use cases. Snap allows to do app packaging and even the rest of the system. Fedora uses rpm-ostree + flatpak instead.

  • code@lemmy.mayes.io
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    This is why im on the hunt for a new distro. Looking at pop and fedora right now. Kinda prefer deb cause thats been my env for 15 yrs

    • Recant@beehaw.org
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      1 year ago

      I would recommend using Linux Mint. It is Ubuntu without Gnome Shell and snaps. They use Flatpak instead. I have been enjoying it ever since I jumped ship from Ubuntu about 2 years ago.

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

      I’d suggest if you want stock and recent Gnome, stick with Fedora.

      Pop is building their own DE that they will switch to sometime in 2023. Which also mean they will remain 22.04 till then.

      I’m waiting for VanillaOS 2.0 release to see if it is any better.

    • Cass.Forest@beehaw.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I was using EndeavourOS when I ran into the wall that a lot of stuff didn’t have builds on AUR that I needed (and didn’t feel like compiling myself or they didn’t provide source code)

  • CassiniWarden@infosec.pub
    link
    fedilink
    arrow-up
    8
    ·
    1 year ago

    I’ve been using more and more flatpaks lately on arch and fedora based distros, i have no idea how snaps compare but seems similar? Seems an odd push from Ubuntu, but could make more sense than deb packages for non techy users perhaps?

    • ISMETA@lemmy.zip
      link
      fedilink
      arrow-up
      11
      ·
      1 year ago

      A big issue for me with snap is, that the server side software is proprietary. So it really really does feel like they are trying for lock-in

          • Avid Amoeba@lemmy.ca
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            1 year ago

            Because it’s extra work to make it open source and few outside of Canonical are interested in contributing. Open sourcing an existing component and maintaining it as such has non-trivial overhead. In that case that work is better spent on other, higher priority items. My guess is that they’ve gauged that the cloud end being open source won’t move the needle on who uses Snap and Ubuntu so they’ve deemed it low priority. Personally I’m using Debian and Ubuntu and therefore Canonical has root on some of my systems. Given I can implement a cloud end for Snap, it bares very little importance to me that today the cloud end isn’t open source since it’s run by the folks that have root on my system anyways as well as supply all other packages on my Ubuntu systems. In fact we don’t even know what the cloud end for the apt repos is. It could easily be Sonatype Nexus. For me the important bit is the client and installer side of Snap since I can’t implement that in a relatively small amount of time. :)

    • Avid Amoeba@lemmy.ca
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      1 year ago

      Ubuntu / Canonical were working on Snap for some years when Flatpak came on the scene. They’ve been shipping Ubuntu bits using it since 2016. In addition to the legacy, Snap is more versatile than Flatpak in that it can be used to package pretty much anything, including system bits. It’s also had a secure sandbox from the start. Changing to Flatpak would be a functionality downgrade for Canonical and Ununtu maintainers using Snap. In addition Flatpak can be used along with Snap on Ubuntu so there’s no need to not use both for whoever finds that useful. Snap lets Ubuntu ship software using less work, which means more up-to-date bits in Ubuntu. Users can install other software via Snap or Flatpak, whichever they find more useful.

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

      Snap is very similar just not portable to most other distros. It makes a lot of sense both for users and for vendor lock-in.

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

        Snap is portable to other distros, look at the official website and you see a list of distros, you can use snap on. That doesn’t mean that there is no vendor lock-in, just a different kind. Snap as a format grew out of Cannonicals effort in the mobile field. Snaps where supposed to be the truly convergent successor to click, the packaging format used by Ubuntu Touch. And this history is baked into its DNA. It’s right there on the snapcraft website: “The app store for Linux”. As such Cannonical has always courted proprietary software and/or software by big companies (VS Code was first released as a snap for a reason). I think that they have always have had an eye on one day adding app payments and the sweet, sweet 30% cut they can take from every sale

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

            Solus and Manjaro are shipping Snap installed by default and I’ve never had a problem installing snapd on fedora. All I ever had to do for that was run a single standard dnf install. Apparmor doesn’t pose the problem you think it does

            • AProfessional@lemmy.world
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              1 year ago

              Running software unsandboxed is breaking most of the value of snap. Not only is it insecure many of the portability promises are actually broken and it can load incorrect libraries, etc.

              Fedora deleted snap from its repos years ago then it returned. It is a broken mess.

              Canonicals response has been: We don’t care, fix it yourself.

              It is an awful non-portable solution when a real portable solution exists.

    • Piranha Phish@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      1 year ago

      In my experience, performance of snap apps is just abhorrent. The consume a huge amount of disk space and, whether it’s due to that or not, they have extremely long load times.

      Principles aside, this just makes them unusable for me. I use flatpak when there’s no other option, but strive to use deb either natively or through PPA.