[GNC] ANNOUNCE: GnuCash 5.10 Released - note about winget

Mike Brady mikee.bunch at sbcglobal.net
Fri Dec 20 11:42:12 EST 2024


Saw another thread about GnuCash version not sorting properly in 
Windows. Note that winget in Powershell (Win10/11) and Terminal (Win11) 
does retrieve the correct version a week or three after release. It's 
been upgrading 5.9 to 5.10 for me in various computers over the past 
week. At the PS or Terminal command prompt, a convenient command for 
updating all installed items that are discoverable by winget is:

         winget upgrade --all --include-unknown

That last option is necessary for it to pick up things that are not in 
the Store. The only regularly-used, regularly-maintained software I use 
that doesn't get updated by winget are a few open source games like Open 
Rails. One downside is that it does effectively a fresh install so in 
some cases recent file history and sometimes settings are reset to the 
original base; since I haven't customized my GnuCash instances that's 
not a problem.

For some reason, in my computers, it only works correctly when run as a 
normal user, but fails in an elevated PS/Terminal window; so you have to 
be around to respond to the UAC prompt when presented. What *should* 
happen of course is that in an elevated window the installs should just 
run without further intervention. Oh well...

Official MS info about winget: 
https://learn.microsoft.com/en-us/windows/package-manager/winget/

In essence, it works like the Update Manager in Linux Mint (which I also 
use, and which (because it's based on Ubuntu) is usually a laggard at 
updating things. It seems to be retrieving the GnuCash installer from 
github.



More information about the gnucash-user mailing list