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.

  • fmstrat
    link
    fedilink
    English
    446 minutes ago

    This is why i switched to Debian. It’s 99% of Ubuntu, without the crap.

    • @[email protected]
      link
      fedilink
      220 minutes 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.

  • @[email protected]
    link
    fedilink
    163 hours ago

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

    • @[email protected]
      link
      fedilink
      English
      -23 hours 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.

      • @[email protected]
        link
        fedilink
        English
        62 hours 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.

        • @[email protected]
          link
          fedilink
          125 minutes 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

  • @[email protected]
    link
    fedilink
    254 hours ago

    Yes. That was the last straw for me. I switched to debian stable, and haven’t looked back since

    • @gpopides
      link
      12 hours ago

      Unfortunately it’s my only option at work because my employer wants the security of Ubuntu pro

    • @JubilantJaguar
      link
      04 hours ago

      Because not everyone wants to spend their time babysitting an OS and Ubuntu has a 20-year track record of dependability.

        • @JubilantJaguar
          link
          33 hours ago

          I was waiting for this! Debian is great. I used it for years. But IMO it’s not polished enough for normies. The website is fugly and the onboarding funnel assumes too much knowledge. The installer, last time I tried it, was glitchy and unintuitive. I think that techies underestimate how offputting even ostensibly minor issues like this will be to ordinary users. Also, Debian has a ton of unmaintained packages (altho I gather that something is being done about this). Debian is fundamentally amateur in the best and unfortunately worst senses. I think a Linux flagship distro needs to be more pro and systematically thought out. For that, it’s always going to help to have a big company or organization behind it.

          • @[email protected]
            link
            fedilink
            22 hours ago

            The installer, last time I tried it, was glitchy and unintuitive.

            I used it a few months ago and it was pretty smooth.

            • C A B B A G E
              link
              fedilink
              English
              11 hour ago

              I used it decades ago (using the CLI installer for a Sid install I eventually fucked up beyond repair) and it was okay for a slightly tech savvy teenager, even then.

              I suspect a lot of these issues are down to hardware compatibility more than anything else.

          • @[email protected]
            link
            fedilink
            13 hours ago

            Was a kubuntu person for a long time, I haven’t really loved the default Ubuntu DE for a while, but that’s personal preferences. At the end of the day, use what you like.

            I personally like debian (swapped from Kubuntu over time) but keep mint on my thumb drive for family who needs something on older hardware, especially those used to windows it seems to be an easy jump. I love that there are so many options available to people with various levels of prepackaging and configurations.

      • @[email protected]
        link
        fedilink
        English
        24 hours ago

        I agree Ubuntu is the easy choice. You can totally find a desktop you don’t have to baby sit, but Ubuntu has the marketing to help you find them and feel safe.

        I’ve had no issues with fedora, I’ve been running it for about a year.

        • @[email protected]
          link
          fedilink
          33 hours ago

          I think fedora is best for user that want a recent kernel and reasonably fast update cycle (like not a year behind) but are not interested in rolling (for whatever reason ever).

          I love rolling and had no issues due to rolling yet

        • @JubilantJaguar
          link
          13 hours ago

          Exactly. But I would go further. I think Linux needs flagship distros with big solid institutions behind them, and it needs us to support those distros by using them. I know this is not an popular opinion here.

          I see those flagship distros precisely as Fedora and Ubuntu.

          • @[email protected]
            link
            fedilink
            English
            12 hours ago

            I’m a bit of an anarchist so I disagree on principal lol, but I do agree that that would help Linux usurp windows.

            My fear is that it would just then become windows within a decade or less. Getting big and institutional may work out. I’ve just seen a lot of cases go sour.

            To me the beauty of Linux is that it is less connected to large impersonal capitalistic structures. That’s why it feels different from Windows.

          • @[email protected]
            link
            fedilink
            12 hours ago

            There is RedHat and SUSE. Which are also the only two certified distros for running corporate/enterprise CAD/CAM/FEA and PLM software. They both provide rock solid stability.

  • @[email protected]
    link
    fedilink
    84 hours ago

    I suspect that what’s happened is you installed the apt version, then at some point upgraded it and there was a version in the main repo that had a higher version number and installed the snap version. If two repositories both have a package with the same name, and no other rules in place, the higher version number wins.

    If that is the case, you need to pin the firefox package to the mozilla repository. You can find more details here: https://wiki.debian.org/AptConfiguration

  • Strit
    link
    fedilink
    647 hours ago

    They started doing that in a couple of years back. Saw quite a bit of backlash in the Linux news media at the time.

    • @[email protected]
      link
      fedilink
      English
      146 hours 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
        link
        English
        2
        edit-2
        4 hours 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

    • @[email protected]OP
      link
      fedilink
      36 hours 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.

      • @[email protected]
        link
        fedilink
        English
        85 hours 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.

        • @[email protected]
          link
          fedilink
          24 hours 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.

      • gonzo-rand19
        link
        fedilink
        24 hours ago

        At least a few years. I switched to Linux a year ago and that was a huge consideration for me when choosing Debian over Ubuntu.

      • @JubilantJaguar
        link
        14 hours 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.

  • @dbkblk
    link
    156 hours ago

    Switch to Debian and you’ll be fine :)

  • @accideath
    link
    197 hours ago

    Wasn’t that one of the main critiques of snap/ubuntu/canonical a few years ago already?

    Among my personal dislike for its shade of purple, that has been my primary reason to not recommend ubuntu for a while, at least.

    • @[email protected]
      link
      fedilink
      14 hours ago

      It’s a dilemma; most Windows and Mac users would benefit from that kind of locked-down, idiot-proof format. Even having the choice of multiple repos is too much for them. So while I personally hate it, that’s what most people (i.e. non-Linux users) want and need.

      I recommend Ubuntu as the beginner distro for everyone, but with the hope that they eventually drop the training wheels and switch to Debian.

      • @accideath
        link
        23 hours ago

        That’s why I recommend mint. You have all the benefits of ubuntu but without the corporate stuff. And flatpak instead of snap.

  • @[email protected]
    link
    fedilink
    English
    65 hours ago

    For awhile I was getting firefox crashes in Mint all the time. Turns out it was the snap version being unstable.

    • @[email protected]
      link
      fedilink
      43 hours ago

      How did you get snap on mint?! 😆I once tried it as a noob and mint was always “snap bad! Don’t do this! You will regret” even on try to circumvent it 🤣

        • Leaflet
          link
          English
          23 hours ago

          Mint never preinstalled the snap. They package their own version of Firefox. I believe they have an agreement with Mozilla.

          • @[email protected]
            link
            fedilink
            English
            13 hours ago

            Maybe it was that i had to install the snap version (or maybe flatpak?) and uninstall theirs, which fixed the crashes. I thought it was a hardware issue for awhile because it was so random.