Announcement

Collapse
No announcement yet.

Kubuntu 25.10: Self-Updating Firefox

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kubuntu 25.10: Self-Updating Firefox

    I installed Kubuntu 25.10 a few days ago, and am still learning my way around.

    I found the following message from firefox in my notification center:

    Update available for Firefox.
    Close the application to update now. It
    will automatically update in 14 days.
    Simple question: how do I tell firefox that I'd prefer to control my own computer, rather than having firefox control it for me?

    Related questions: Is this a more general thing on kubuntu, and I can expect a similar message from KDE plasma any time now? Or bash? Or is this just a firefox thing?

    It looks as if it's firefox-specific as my software update tab in system settings offers a choice whether to update software manually or automatically, and it's been set to manually since before I got this message.

    But I don't see anything about updates in firefox' Settings. (Maybe I missed it - firefox has a lot of stuff here.)

    Additional related question: if this can't be turned off, can anyone recommend an alternative web browser that lacks this feature. *sigh*. (If I wanted this sort of behaviour, I'd have installed Windows.)

    Edited to add: I found a Firefox Updates section the the General pane of Firefox' settings.

    Firefox Updates
    Keep Firefox up to date for the best performance, stability, and security.
    Version 147.0.2 (64-bit) What’s new​
    Mozilla Firefox Snap for Ubuntu
    canonical-002 - 1.0
    The only thing that appeared clickable was the "What's new" phrase, and there were no check-boxes.

    This smells like I might be able to fix this by rebuilding firefox from source. Of course then I'd probably never think to update it, but what can you do? Possibly, though, it's an installation option intended to allow a business' system administrators to force upgrades to employee desk tops, in which case I might be able to override it with somewhat less drastic measures.

    Last edited by DinoNerd; Yesterday, 08:37 PM. Reason: Found a bit more info.

    #2
    It is a Snap thing. Snap packages automatically update, or do so on a schedule.

    You can adjust and disable this.

    If one wants to roll back an update, this is possible as well.
    Self-built: Asus PRIME B550M-K/Ryzen 5600GT/32Gb/Intel ARC B580 12Gb/KDE neon
    HP Elitedesk 800 G3 Mini: i5-7500T(35w)/32Gb/KDE Linux
    HP Chromebook 14: i5-1135G7/8Gb/512Gb SSD/KDE neon

    Comment


      #3
      I think I've got it. Firefox has a hidden page accessed with the faux URL
      Code:
      about:config
      There are a number of scary warnings. Insist you know what you are doing, and when you get to the page of apparently undocumented options, search for update.

      You'll find an option named
      Code:
      app.update.auto
      It will be set to true.

      There's a clickable symbol on the same line. I have no clue what it's supposed to represent, but its tooltip says Toggle clicking once will set the value to false. You'll also get an additional clickable symbol, that probably means "reset to default".

      There doesn't seem to be a save button, so your change probably takes effect immediately.

      Heavens knows whether the update already scheduled will happen regardless, 13 days from now, or whether every ensuing update will unhelpfully reset this setting.
      Last edited by DinoNerd; Yesterday, 08:55 PM.

      Comment


        #4
        Originally posted by claydoh View Post
        It is a Snap thing. Snap packages automatically update, or do so on a schedule.

        You can adjust and disable this.

        If one wants to roll back an update, this is possible as well.
        Interesting. Snaps are pretty much black magic to me - all I know about them is that they include rather more than a .deb, so they can happily depend on specific library versions you might not have installed.

        I guess now I need to figure out how many snaps were installed with the system. (I believe I've entirely avoided adding any myself, so far.)

        Comment


          #5
          Originally posted by DinoNerd View Post
          Firefox has a hidden page
          This only works with a self-contained Firefox "tarball", or a Windows version, not the Snap package or a deb version.
          This config option IS set to "true" by Mozilla but the snap and deb packages do not have the self-update mechanism included in the builds.

          Ubuntu/Kubuntu use Snap packaging for Firefox and Thunderbird by default.
          Code:
          snap list
          This will show installed snaps and their related dependencies.
          Discover shows which type, and you can choose between the options when installing if there are multiple ones available.



          The 14 day message is mostly if you never shut the browser down ever for two weeks.

          See my previous posts to turn off the autoupdate.
          Last edited by claydoh; Yesterday, 09:20 PM.
          Self-built: Asus PRIME B550M-K/Ryzen 5600GT/32Gb/Intel ARC B580 12Gb/KDE neon
          HP Elitedesk 800 G3 Mini: i5-7500T(35w)/32Gb/KDE Linux
          HP Chromebook 14: i5-1135G7/8Gb/512Gb SSD/KDE neon

          Comment


            #6
            I guess I'm not the first person to be unhappy with something about the Firefox snap. See https://askubuntu.com/questions/1399...p-in-ubuntu-22

            I'm not sure whether I'm bloody minded enough to actually do this, but I just might.

            Comment


              #7
              Originally posted by claydoh View Post

              This only works with a self-contained Firefox "tarball", or a Windows version, not the Snap package or a deb version.
              This config option IS set to "true" by Mozilla but the snap and deb packages do not have the self-update mechanism included in the builds.
              Rats ;-)

              Originally posted by claydoh View Post

              ​Ubuntu/Kubuntu use Snap packaging for Firefox and Thunderbird by default.
              Code:
              snap list
              This will show installed snaps and their related dependencies.

              Thank you. Sadly, I see 9 snaps, and most look like important system components. The only one I'm sure I can dispense with is thunderbird; one of my first priorities after installing the distro was to install and configure my preferred email client.

              Originally posted by claydoh View Post
              ​The 14 day message is mostly if you never shut the browser down ever for two weeks.

              See my previous posts to turn off the autoupdate.
              Realistically, this isn't a biggie. I anticipate doing:

              Code:
              sudo apt update
              sudo apt upgrade
              sudo shutdown -r now
              more often than every 14 days, though I'm quite unlikely to shut down firefox or reboot the system any more often, unless it proved to be unstable without more frequent reboots. (It's currently at 4 days and counting; no stability or performance issues so far.)

              It's just the principle of the thing. Automatic updates are a Windows thing :-)

              Also, to be honest, I'm late for a meal, and so cranky.

              And yes, I should probably use the App Store rather than the command line, given the existence of things like snaps, which it presumably understands even if I don't. But while this app store is better than the last linux app store I used, it's useless for installing anything resembling a system program or library, unless it's required by an app. IIRC, I had to use the command line to get sshd, and a couple of other things I don't now recall. (Maybe gcc?)

              Comment


                #8
                Originally posted by claydoh View Post

                You can adjust and disable this.
                If I'm understanding the link correctly, I could disable refreshes indefinitely, and still update anything that's ready for update manually, at the same time as I update my .deb's

                Comment


                  #9
                  Originally posted by DinoNerd View Post
                  sudo apt update
                  sudo apt upgrade
                  sudo shutdown -r now
                  Substitute sudo apt upgrade with sudo apt full-upgrade. Your system will thank you (well, it won't complain .... later!).

                  The difference between upgrade and full-upgrade is that full-upgrade removes packages if necessaryi.e., if an upgraded package requires another package to be removed, full-upgrade will remove the offending package, whereas upgrade will ignore the upgrade.
                  So if keeping up-to-date in all cases is more important than features, apt full-upgrade is better than apt upgrade.
                  Windows no longer obstruct my view.
                  Using Kubuntu Linux since March 23, 2007.
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment


                    #10
                    Originally posted by DinoNerd View Post
                    , I should probably use the App Store rather than the command line,
                    Personal preference, really. Discover handles multiple types (debs, snaps, flatpak, firmware updates, and KDE Store items), so one needs to use multiple command line tools for managing them otherwise. Apt has nothing to do with snap, and vice versa here, for example.

                    Originally posted by DinoNerd View Post
                    it's useless for installing anything resembling a system program or library
                    Yes, it is an app store, not a package manager. There is Synpatic or Apt for that.
                    Self-built: Asus PRIME B550M-K/Ryzen 5600GT/32Gb/Intel ARC B580 12Gb/KDE neon
                    HP Elitedesk 800 G3 Mini: i5-7500T(35w)/32Gb/KDE Linux
                    HP Chromebook 14: i5-1135G7/8Gb/512Gb SSD/KDE neon

                    Comment


                      #11
                      Originally posted by Snowhog View Post
                      Substitute sudo apt upgrade with sudo apt full-upgrade. Your system will thank you (well, it won't complain .... later!).
                      Thank you. That explains some weirdness I've observed on prior desktops.

                      Comment

                      Users Viewing This Topic

                      Collapse

                      There are 0 users viewing this topic.

                      Working...
                      X