Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

winget upgrade on cloud sdk is broken (windows)

Hi,

I am not sure where to ask the question, but I think the google cloud sdk installer for windows needs to be repaired.

As stated for example here, the installer should declare its version to the windows Control panel carefully:
winget upgrade for nvm is broken · Issue #876 · coreybutler/nvm-windows (github.com)

I am using winget, which is becoming the de facto tool for managing packages in Windows.

My issue is that to this date I cannot seamlessly use the upgrade function of winget due to google cloud SDK not been upgraded by the tool:

 

 

❯ winget upgrade --include-unknown
Name                            Id                           Version       Available     Source
-----------------------------------------------------------------------------------------------
Google Cloud SDK                Google.CloudSDK              Unknown       392.0.0       winget


❯ winget upgrade --id Google.CloudSDK
This package's version number cannot be determined. To upgrade it anyway, add the argument --include-unknown to your previous command.

 

 

Apparently, all that is needed is to add a DisplayVersion key in the registry when installing.

Please check the github ticket for more details

0 2 1,000
2 REPLIES 2

To report an issue, it is better to do it at Issue Tracker, rather than write a post at this forum.

You can submit your report here:


Issue reports

Google reviews every new issue report submitted by users. Sometimes one of our staff will ask for clarification or followup. After we're able to replicate the issue, we'll tell you that it's been forwarded to the appropriate team.

Depending on the circumstances, we may be able to provide periodic updates while an issue is being looked at, but usually we cannot provide too many specifics about the exact cause of an issue, or when it will be fixed.

When we've fixed an issue in production, we'll indicate this and then we'll close the issue.