Actual versions of chrome and firefox appear disconnected from versions shown in Chocolately

Resolved

I have a Windows Server 2019 machine with Chocolately, chrome and firefox installed. Currently when I run the command 'choco outdated' I see this:

Firefox|88.0.1|94.0.1|false GoogleChrome|90.0.4430.212|95.0.4638.69|false

However if I inspect my installed apps, I see that chrome is fully up to date, and firefox has version 92.0. Furthermore if I run the command 'choco upgrade firefox' it runs successfully, but if I open firefox and check it's version it still shows 92.0.

Why is there a disconnect between these version, is chocolately managing fully separate installations of these applications?

edit. Running uninstall commands for those packages and reinstalling them does make everything sync up again, but I have no way of knowing if they'll stay synced or not.

Posted Nov 9, 2021, 8:15 PM UTC · edited

36
MultiplyAccumulate•

Some browsers, and other apps, update themselves.

Chocolatey only knows what package version was last installed using chocolatey. It knows nothing about versions installed outside of chocolatey

Chocolatey will download and try to install the latest packaged version, even if it is already installed. Which is usually fairly harmless.

Just do a

   choco upgrade -y all

Or

   choco upgrade -y firefox googlechrome

Don't uninstall it.

3
d_from_it•

You can also pin the versions to not worry about updating them or it showing them as outdated. I don’t worry about chrome or Firefox when I install them with Chocolatey and pin them so I don’t get warnings.

3
TeacherWarrior•

I usually put the -y last and when I first looked at your comment I thought you were doing a “y’all” command and though “what the crap is this? Southern Silicon Valley at work here I guess”.

3
pauby•

Chocolatey Pro and Chocolatey For Business will notice that a package managed by Chocolatey has been upgraded. It's called the automatic synch.

1
Sphere6OP•

This doesn't really account for the fact that when I attempted to upgrade firefox with chocolately it didn't actually work. After running the upgrade command I opened firefox and it was still the old version?

1
gsmitheidw1•

My guess is those software packages are updating themselves independently via their own internal update mechanisms and scheduled tasks - and chocolatey is simply not aware they have been updated. If you wish control for updates to remain with chocolatey you would need to look at different builds or possibly different switches at install time. Not sure offhand on Chrome but for Firefox there is firefox-esr:

https://community.chocolatey.org/packages/FirefoxESR

​

Have a look at the install parameters examples:

choco install Firefox --params "/NoTaskbarShortcut /NoDesktopShortcut /NoAutoUpdate"

1