After creating a fresh installation of Ubuntu 24.04, I installed DEB Firefox from APT by following Mozilla’s instructions from here. But I noticed that it was secretly replaced with Snap Firefox. I was able to verify this by checking the About Firefox page. This is the third time I noticed this.

  • Mwa@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    They have been doing this for a while.

    Would recommend you to stick to MX,Mint or if you care only about stability and not Updates debian.

  • Revan343@lemmy.ca
    link
    fedilink
    arrow-up
    37
    ·
    3 days ago

    I suggest Mint or straight Debian. I prefer Mint for anything graphical, Debian for headless

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      11
      ·
      3 days ago

      From a security standpoint? Not even close. From a software-release validation requirement, not even in the same galaxy. If they look the same, it’s only due to Clarke’s law.

      • juipeltje@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        2 days ago

        It’s a joke based of the fact that when you type apt install firefox on ubuntu, it will install the snap instead of the deb package, which is what you would expect when you use apt to install something.

      • Baaahb@feddit.nl
        link
        fedilink
        English
        arrow-up
        23
        arrow-down
        1
        ·
        3 days ago

        You are missing the attribution. The person you are replying to is making a joke that Canonical says they are the same, not that they are actually the same.

        • hedgehog@ttrpg.network
          link
          fedilink
          arrow-up
          8
          ·
          3 days ago

          Clearly they’re cosplaying as a Canonical engineer whose internal explanation and pleas for them to not take this approach fell upon deaf ears /j

        • IrritableOcelot@beehaw.org
          link
          fedilink
          arrow-up
          2
          arrow-down
          5
          ·
          3 days ago

          That is not the same thing as “snap and apt Firefox are the same”. They just hijacked apt to force snap in.

          • Morphit @feddit.uk
            link
            fedilink
            arrow-up
            11
            ·
            edit-2
            3 days ago

            So both commands do the same thing… right? I’m not saying snap and apt are the same in general.

            • IrritableOcelot@beehaw.org
              link
              fedilink
              arrow-up
              4
              ·
              3 days ago

              Yeah for sure, I read your comment as excusing canonical screwing with user intent but I see that’s not what you meant.

              • Morphit @feddit.uk
                link
                fedilink
                arrow-up
                1
                ·
                3 days ago

                Yeah, I really dislike snap and have puppet clean it out and add in the real mozilla repo for me. If I wanted sandboxed apps I’d probably look at flatpak but I think there’s still work to be done there also.

          • Baaahb@feddit.nl
            link
            fedilink
            English
            arrow-up
            5
            ·
            edit-2
            3 days ago

            You are missing the attribution. The person you are replying to is making a joke that Canonical says they are the same, not that they are actually the same.

            • Morphit @feddit.uk
              link
              fedilink
              arrow-up
              1
              ·
              3 days ago

              Well, yes, except Canonical have made them actually do the same thing in the case of Firefox. I’m not aware of any other packages that have the deb install just run the snap install.

              • Baaahb@feddit.nl
                link
                fedilink
                English
                arrow-up
                2
                ·
                3 days ago

                Yep, I am agreeing with you. The statement was never snap and deb are identical, its that canonical is making them do identical things.

                • Morphit @feddit.uk
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  3 days ago

                  Yeah, I just liked that bit of the meme. In the prank the meme is based on, they really are the same.

                • Morphit @feddit.uk
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  3 days ago

                  Yup, apt install chromium-browser calls snap install chromium. Looks like thunderbird is the same. There’s a fwupd-snap deb but fwupd seems to be the default.

    • ritchie@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      3 days ago

      I got a notification about it when I upgraded from 20.04 LTS that they will only serve it as a snap package.

    • Mubelotix@jlai.lu
      link
      fedilink
      arrow-up
      2
      arrow-down
      2
      ·
      2 days ago

      Or you can just remove snap. I have been running a up-to-date snap-free ubuntu for 2 years

      • caseyweederman@lemmy.ca
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        And pin other repos so Ubuntu doesn’t replace it. And change the apt.conf rules that alias out apt install commands for the snap install equivalent. And whatever the countermeasure is for the next sneaky ploy they put into action.

      • SatanClaus@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        I like my operating system to work for me not against me. So no. I’ll just never use their shitty spin of Linux and rely on someone that makes a quality distro. Not one that forced it’s users to use their pile of shit proprietary nonsense.

    • IsoKiero@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      24
      ·
      3 days ago

      But it’s not obvious either. When I say ‘apt install firefox’, specially after adding their repository to sources.list, I’d expect to get a .deb from mozilla. Silently overriding my commands rubs me in a very wrong way.

      • BluescreenOfDeath@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        3 days ago

        It takes a little more than just adding a different repository to your package manager, you have to tell apt which to prefer:

        echo ’
        Package: *
        Pin: origin packages.mozilla.org
        Pin-Priority: 1000

        Package: firefox*
        Pin: release o=Ubuntu
        Pin-Priority: -1’ | sudo tee /etc/apt/preferences.d/mozilla

        • IsoKiero@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          4
          ·
          3 days ago

          True, but more often than not mozilla should have newer packages on their repository than any distribution. And the main problem still is that Ubuntu changed apt and threw snap in to the mix where it doesn’t belong.

          • BluescreenOfDeath@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            3 days ago

            I’m not disagreeing with anything you’ve said?

            I’m saying that just adding Mozilla’s PPA to your sources won’t change apt’s behavior when installing Firefox unless you tell apt to prefer the package offered by the Mozilla PPA.

            As someone who uses Kubuntu as a daily driver, I’m well aware of the snap drama and have worked around it using the method I pasted above.

            Even though it’s an underhanded move by Cannonical, I’m still glad the OS is open source since it makes the workaround so trivial.

    • sourov@lemm.eeOP
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      3 days ago

      Since when this became a known thing? I’m aware that the snap version is installed when the user is trying to install the deb version of Firefox by running,

      sudo apt install firefox

      But I never heard that the installed DEB version of Firefox is replaced by Snap version of Firefox.

      • Routhinator@startrek.website
        link
        fedilink
        English
        arrow-up
        11
        ·
        3 days ago

        The deb version is a pointer to the snap in their repos. Nothings being replaced, it no longer exists. The deb version of Firefox in Ubuntu repos is a wrapper that installs snap and has no binaries in it. Has been for 3 years or so.

        • JuxtaposedJaguar@lemmy.ml
          link
          fedilink
          arrow-up
          4
          ·
          3 days ago

          It’s more than that. Ubuntu copies the Debian repos and then applies their own changes on top. Debian has a native (DEB) Firefox package, so Ubuntu specifically has to remove it for every new version.

      • JubilantJaguar@lemmy.world
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        3 days ago

        Well then you haven’t been following it closely. As someone else said, the reason is simple: the Snap version is more recent (like it or not) and in Ubuntu apt is configured to take into account Snap packages.

        • Morphit @feddit.uk
          link
          fedilink
          arrow-up
          5
          ·
          3 days ago

          Canonical added an epoch prefix to the firefox version number. Because that epoch (1) is higher than the implicit default (0), the official ubuntu dummy package is always considered to be a higher version than the official Mozilla package. apt doesn’t look at snap packages, it installs the deb, but the ubuntu deb just runs snap install firefox and basically nothing else.

  • zod000@lemmy.ml
    link
    fedilink
    arrow-up
    28
    ·
    3 days ago

    Definitely not you, they absolutely do this with snaps and have for a while. This was the main reason I stopped using Ubuntu.

  • Lemmchen@feddit.org
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 days ago

    Have you correctly set your apt preferences? I didn’t have any issues anymore since I’ve done that.

    • sourov@lemm.eeOP
      link
      fedilink
      arrow-up
      1
      ·
      16 hours ago

      I’m sure that I’ve set the apt preferences according to Mozilla’s article. I’ll have to wait and see until a new update arrives to Firefox.

    • ritchie@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      3 days ago

      I must have hit that 1% last time. I assembled a new PC, wanted to install debian and could not get a login screen after installation. At that point I wanted something that just works. I installed Xubuntu and had the machine ready right away.

    • beeng@discuss.tchncs.de
      link
      fedilink
      arrow-up
      6
      ·
      3 days ago

      I… I… I don’t know why I haven’t done that myself. (Am now on NixOS btw) but for work maybe I ask for Debian cloud box.

      • N.E.P.T.R@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        For work, you could also try Fedora Workstation or Linux Mint Debian Edition. Debian is pretty barebones, but if that isnt a bother then do whatever.

        • fmstrat@lemmy.nowsci.com
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          3 days ago

          It’s not barebones. I use it as my main desktop and barely notice any difference from Ubuntu, it has every package I’ve ever needed. I think that mentality of Debian being “bare” is outdated.

          @beeng@discuss.tchncs.de this is for you, too.

          • N.E.P.T.R@lemmy.blahaj.zone
            link
            fedilink
            English
            arrow-up
            2
            ·
            2 days ago

            I had a friend jump ship from Windows and they said that Debian felt barebones. I personally dont have any problem with it, I use it all the time for VMs, server, and I used to main it. I still think it is missing a lot of user-friendly small things that i never noticed on my own because I am very comfortable with Linux.

            • fmstrat@lemmy.nowsci.com
              link
              fedilink
              English
              arrow-up
              2
              ·
              2 days ago

              They do install less by default, but I’d love to pick their brain to understand what they meant. Oh well ¯_(ツ)_/¯

              • N.E.P.T.R@lemmy.blahaj.zone
                link
                fedilink
                English
                arrow-up
                2
                ·
                2 days ago

                Linux just isnt transparent about some things. Beginners most have problems when they use a GUI tool and then have to still edit a file. Like dirt example, adding a new drive using GUI disk utility and then sometime in the future disconnecting the drive and being forced into emergency mode.

                • caseyweederman@lemmy.ca
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  edit-2
                  2 days ago

                  I’d suggest the KDE flavor of Debian, then. Its settings manager is divine, and its software management platform ties every other package management system in (apt/dpkg for Debian, yum for Redhat, pacman for Arch, plus flatpak, nixpkg, and even snaps if you absolutely must). By default starting in Plasma 6.0.

                  More to @fmstrat’s point, and to suggest a possible cause your friend had that impression: if you install the Minimal flavor of any distro, you’re going to get a minimal experience.

        • beeng@discuss.tchncs.de
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          3 days ago

          I like gnome, but i guess i could look at fedora.

          I would like to stay with apt as package manager so the package names stay the same to what I know, or is yum/dnf/etc gonna use the same for most?

          • caseyweederman@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            2 days ago

            You can get Gnome on Fedora. It won’t have Apt.
            Packages will have a different naming scheme based on the maintainers’ preferences, even between Debian and Ubuntu (though those are usually pretty minor).
            Your muscle memory is gonna trip you up for a while though.