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.

  • Revan343@lemmy.ca
    link
    fedilink
    arrow-up
    16
    ·
    14 hours ago

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

    • Noble Bacon@lemmy.ml
      link
      fedilink
      Português
      arrow-up
      3
      ·
      4 hours ago

      You could have gone pure Debian. There are no snap shenanigans over there :)

      OpenSuse is also a great pick tho!

  • FooBarrington@lemmy.world
    link
    fedilink
    arrow-up
    7
    ·
    19 hours ago

    Yup. They also did this with Docker, and it broke my setup (and was a bitch to debug).

    This was a couple of years ago, and I haven’t used Ubuntu unless absolutely necessary (and then usually in a container).

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      7
      ·
      1 day 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
        4
        ·
        7 hours 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.

  • doubtingtammy@lemmy.ml
    link
    fedilink
    arrow-up
    27
    arrow-down
    1
    ·
    1 day ago

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

    • corsicanguppy@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      3
      ·
      edit-2
      1 day ago

      Debian will have snaps and flatpaks and all the same insecure black-box drek.

      Given how much they violate ISO27002, I can’t see them ever being run in a regs-compliant shop.

  • zod000@lemmy.ml
    link
    fedilink
    arrow-up
    15
    ·
    1 day ago

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

    • sourov@lemm.eeOP
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      1 day 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
        6
        ·
        1 day 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
          2
          ·
          1 day 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
        2
        arrow-down
        1
        ·
        1 day 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
          3
          ·
          22 hours 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.

  • phar@lemmy.ml
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    1 day ago

    At this point, why is anyone using Ubuntu for desktop? You have soooo many options

    • gpopides@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      24 hours ago

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

    • JubilantJaguar@lemmy.world
      link
      fedilink
      arrow-up
      9
      arrow-down
      10
      ·
      1 day ago

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

        • JubilantJaguar@lemmy.world
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          1 day 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.

          • ritchie@lemmy.world
            link
            fedilink
            arrow-up
            3
            ·
            21 hours ago

            I have a laptop that needs a proprietary wifi driver. I just “love” it when the debian net installer works out of the box, but after first boot wifi dies because the driver is missing in the installed instance :D I need to find a lan cable, do some athletics to get to the router, then install the driver and only then I can connect via wifi :D

          • morbidcactus@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            1 day 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.

      • Aphelion@lemm.ee
        link
        fedilink
        arrow-up
        2
        ·
        23 hours ago

        I’m a relative Linux noob and Manjaro Arch works perfectly for me, no babysitting required.

      • pebbles@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        2
        ·
        1 day 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.

        • Petter1@lemm.ee
          link
          fedilink
          arrow-up
          3
          ·
          1 day 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@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          1 day 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.

          • pebbles@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            3
            ·
            24 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.

          • BCsven@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            24 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.

  • notabot@lemm.ee
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    1 day 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

      • notabot@lemm.ee
        link
        fedilink
        arrow-up
        1
        ·
        19 hours ago

        It just occured to me that if you want to use Ubuntu without snap, you could uninstall the snap package itself (I’m not on Ubuntu, so you might need to find it), then put a ‘hold’ on the package to prevent it being reinstalled. That should, in turn, prevent any package versions that use snap from being installed.

        Initially uninstalling snap might require removing any packages that use it, but that’ll tell you what you need non-snap versions of.