Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)LE
Posts
8
Comments
936
Joined
1 yr. ago

Snap bad

Jump
  • as you can see on other comments I’m not alone with that stance.

    Being in the majority doesn't necessarily make one right, as shown by [insert election result you disagree with here]. But if you actually are serious about that, you do realise how entitled it sounds to demand that someone do free work for you in the particular way you want it done?

    And I believe you mean prerogative.

  • Snap bad

    Jump
  • Because the separate installation means you can actually end up with both an apt installed and a snap installed.

    This is something that can happen any time you have multiple package managers or even multiple repositories in the same package manager. Google's official Chrome apt repo has debs for google-chrome-stable, google-chrome-beta and google-chrome-unstable, quite intentionally.

    My comment about docker was a specific example of such a case, where vulnerabilities were introduced. It was actually a commonly used attack a few years ago to burn up other CPU and GPU to generate crypto

    Can you provide a link to a source about that? I can't find anything about it.

    and you ended up with both a snap and apt installed docker

    If you installed both the docker.io package from apt and the docker snap, yes you wound up with both. Just as if you install both google-chrome-stable and chromium you'll end up with two packages of (almost) the same browser.

    The fact that they are both packaged by Canonical is both irrelevant and a perfect example of the problem.

    Then I'm gonna ask that you elaborate what specific problem you're trying to explain here, because these seem pretty contradictory.

  • Snap bad

    Jump
  • In both cases, the packages are owned by the same people? (Fun fact: mozilla actually owns both the Firefox snap and the firefox package in the Ubuntu repos.) I'm non sure how that "potentially introduces vulnerabilities" any more than "having a package which has dependencies" does.

    I'm not sure what you're referring to with Docker. Canonical provides both the docker.io package in apt and the docker snap. Personally I use the snap on my machine because I need to be able to easily switch versions for my development work.

  • Snap bad

    Jump
  • If you don't want to explain, you're perfectly welcome to not explain. But saying what amounts to "if you don't know I'm not telling you", especially when you weren't specifically asked, is a pretty unkind addition to the conversation.

  • Snap bad

    Jump
  • If I were giving you €50/month, and then one day I decided to give you USD$55 instead, am I "forcing" you to accept US currency? No, I'm choosing to give you something I don't have to give you in the first place in a different form. You can always reject my offer. You can ask someone else to give you €50/month.

    They're choosing how they want to provide Firefox. If anyone else wants to provide Firefox differently, Canonical isn't stopping them. In fact, Canonical literally hosts and does the builds for an unofficial Firefox repo with their free Launchpad service.

    Distributions decide what they want to package and how to package it all the time. Pretty much every time, someone is upset. But that upset is generally based on an unreasonable sense of entitlement.

  • Snap bad

    Jump
  • I don't believe Flatpak has the ability to package something like node. It certainly can't package kernels or system services (at least not without leaving the user with a ton of manual work to do that would make it not much better than getting a tarball).

  • Snap bad

    Jump
  • sure, and convince people to switch. it’s been done before of course but it’s a big effort

    I agree! But this, IMO, is a better argument for how flathub.org being (theoretically) open source doesn't actually make it any better than snapcraft.io. The technical hurdle, either of writing another snap store or of setting up a flatpak host, pales in comparison to the social hurdle of getting people to switch. Which is likely why the previous open snap store implementation died. Nobody wanted to host their own and convince people to switch, because at the end of the day there wasn't any benefit.

    that does not mean that the particular developer agrees with or even approves of the snap thing.

    Never said it did, although in the particular case of the developer I mentioned, he's also an Ubuntu Core developer, which depends entirely on snaps. I can't imagine he'd have put himself in that position if he were particularly anti-snap

    steam was a big one that a friend had trouble with, and they just installed that though apt i’m pretty sure.

    Ubuntu has never had a steam package in their apt repos, and the steam-installer package still behaves the same way as ever. Personally, I do use the Steam snap and haven't had any issues with it, though I do know that others have.

  • Snap bad

    Jump
  • Uhm… and why does the user have to transition to snaps?

    They don't. But Canonical will no longer be providing debs in primary Ubuntu repositories, so those transitional packages exist so that users don't wind up with an abandoned, old version of Firefox.

    Why does Canonical provide those transitional packages while there are perfectly valid debs for the same thing?

    For the same reason neither Ubuntu nor Debian provide debs for Google Chrome, despite Google having an official apt repository? Those debs exist in somebody else's apt repository. If you want to add that apt repository, you're welcome to. But those external packages aren't part of the system they provide.

    you instantly refute yourself, kudos!

    Your unwillingness to accept what I'm saying doesn't make what I'm saying contradictory.

  • Snap bad

    Jump
  • Canonical provides transitional packages for packages that they've decided to provide as snaps. They're not forcing anyone to use snaps, they're saying "if you want the default we provide you, we're providing you with a snap." KDE Neon (my current distro, which is downstream of Ubuntu) has decided that they want to use the deb packages from packages.mozilla.org, so they provide an override. If you want to use the deb from packages.mozilla.org, you could grab KDE Neon's repository deb and install that, or just set up the mozilla repository and use the same pin file they already have.

    This is like saying "Debian FORCES you to use libav" Debian moved from ffmpeg to libav for a while. No, they provided libav and made transitional packages for this drop-in replacement. Some people didn't like that and made their own ffmpeg repos, and the process for using their separate ffmpeg rather than Debian's transitional packages was the same as the process for using Firefox from a different repository. (I was one of the people used some third-party ffmpeg repositories, and I was glad when they switched back to ffmpeg and provided libav to ffmpeg transitional packages.)

    Does the fact that the Ubuntu repositories don't contain Keysmith mean "Ubuntu PROHIBITS you from using Keysmith?"

  • Snap bad

    Jump
  • While Canonical's particular snap store implementation is closed source, all of the client software as well as the store API are open, and snap isn't even tied to using snaps from their store. One could easily make a client app that treats snapd much the way apt treats dpkg. (In fact given apt-rpm I think it would probably be feasible to quite literally use apt for that.)

    KDE seems to upload their packages to the snap store for Neon, judging from their page.

    KDE also maintains most of the flathub.org packages for KDE apps. Not sure what the point is here.

    canonical are not the ones doing the maintenance for those apt packages. the debian team does that.

    This is wrong in two ways. First, Canonical are the primary employers of a lot of Debian developers, including to do Debian maintenance or development. This includes at least one of the primary developers of apt. Canonical also upstreams a lot of their work to Debian. Second, of the three (!) whole packages that Canonical decided to make transitional packages to the snap, none were coming from upstream Debian. Firefox was being packaged by Mozilla (and Mozilla were the ones who decided to move it to the snap), Thunderbird's package had been something Canonical was packaging themselves due to the Debian/Mozilla trademark dispute that they never moved back to syncing from Debian due to technical issues with the port, and Chromium was, at least at the time, remaining frozen at old versions in a way that was unacceptable to Ubuntu users.

  • Snap bad

    Jump
  • These are two incredibly persistent pieces of misinformation...

    1. Canonical provides snaps for Ubuntu. This is no more "forcing" you to use snaps than they force you to use debs, or than Fedora forces you to use flatpaks/rpms.
    2. Apt doesn't "prefer snaps" by any means. Canonical provides transitional packages for certain packages that got migrated from debs to snaps, but the steps for using another apt repository to replace one of these transitional packages are the same as the steps for replacing any other package provided in your base repos with one from a different repository: You add the other repository, and you tell apt to prefer that repository for the specific packages.
  • Snap bad

    Jump
  • They're not forced to do so. You can install snaps locally (or provide a distribution system that treats snapd much the way apt treats dpkg), or you can point snapd at a different store. The snap store API is open and documented, and for a while there was even a separate snap store project. It seems to have died out because despite people's contention about Canonical's snap store, they didn't actually actually want to run their own snap stores.

  • Snap bad

    Jump
  • I don't understand how a transitional package that installs the snap (which is documented in the package description) is any different from a transitional package that replaces, say, ffmpeg with libav.

     
        
    $ apt show firefox
    Package: firefox
    Version: 1:1snap1-0ubuntu5
    Priority: optional
    Section: web
    Origin: Ubuntu
    Maintainer: Ubuntu Mozilla Team <ubuntu-mozillateam@lists.ubuntu.com>
    Bugs: https://bugs.launchpad.net/ubuntu/+filebug
    Installed-Size: 124 kB
    Provides: gnome-www-browser, iceweasel, www-browser, x-www-browser
    Pre-Depends: debconf, snapd (>= 2.54)
    Depends: debconf (>= 0.5) | debconf-2.0
    Breaks: firefox-dbg (<< 1:1snap1), firefox-dev (<< 1:1snap1), firefox-geckodriver (<< 1:1snap1), firefox-mozsymbols (<< 1:1snap1)
    Replaces: firefox-dbg (<< 1:1snap1), firefox-dev (<< 1:1snap1), firefox-geckodriver (<< 1:1snap1), firefox-mozsymbols (<< 1:1snap1)
    Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, kubuntu-full, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop, ubuntukylin-desktop, ubuntukylin-desktop, ubuntukylin-desktop-minimal, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop-minimal, ubuntu-budgie-desktop, ubuntu-budgie-desktop-raspi, ubuntu-unity-live, edubuntu-desktop-gnome-minimal, edubuntu-desktop-gnome, edubuntu-desktop-gnome-raspi, ubuntucinnamon-desktop-minimal, ubuntucinnamon-desktop
    Download-Size: 77.3 kB
    APT-Manual-Installed: no
    APT-Sources: http://us.archive.ubuntu.com/ubuntu noble/main amd64 Packages
    Description: Transitional package - firefox -> firefox snap
     This is a transitional dummy package. It can safely be removed.
     .
     firefox is now replaced by the firefox snap.
    
      
  • Snap bad

    Jump
  • Isn't that kinda the same with, for example, Fedora and Flatpaks? Or Debian and debs? Or Ubuntu and debs? Or Fedora and rpms?

    The packaging system that your distro provides gets you the packages you get. For a small number of packages that were a maintenance nightmare, Ubuntu provides a transitional debs to move people over to the snaps (e.g. Firefox, Thunderbird), but if you want to get it from another repo, you can do exactly what KDE Neon does by setting your preferences.

  • I've given more details elsewhere, but the short version:

    We can classify US presidential votes into three categories:

    1. Vote for the Democrat
    2. Vote for the Republican
    3. Vote third-party/independent or don't vote

    The most effective vote to make on an anti-genocide platform is #1.

    Voting for a Republican is voting for a party that appears to be profoundly okay with the genocide in Gaza AND wants to start some genocides of their own (e.g. against trans folks, immigrants and racial minorities). This is the most pro-genocide vote.

    Voting for a Democrat is voting for a party that has a fairly significant group that opposes the genocide, and which appears to be movable on the topic.

    Any other vote is roughly equivalent to not voting. On the presidental front, there is no chance in this election that anyone other than a candidate from one of the main two parties is elected, and that's also true for most senate or house races. (Possibly all, but I don't want to make that strong claim since I haven't actually researched all the races.) Voting for a candidate who you know won't win is explicitly choosing not to have a say between the tho feasible candidates.

    I do have one caveat though...

    If you live in West Virginia for example, it's a bit more complex. There your choice is essentially "the Republican or not the Republican," so third-party/independent moves into category 1. However, then I'd argue that voting for the Democrat for president may still be the preferable response because if the Republican wins the electoral college but, (as has happened in every presidential election since 1990 except 2004) the Democrat still wins the popular vote, it further delegitimises the Republican's presidency and the electoral college.

  • The US green party is essentially an astroturf movement to prevent people from even going as "left" as the Democrats. The Tea Party is there to move Republicans to fascism. The Greens have been co-opted to lubricate that process for them.