-
Notifications
You must be signed in to change notification settings - Fork 892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
winget upgrade for rustup is broken #3102
Comments
microsoft/winget-pkgs#67393 is a corresponding issue in the repository |
So this should already be solved by #3047, provided the new version is correctly referenced in the winget registry? Which version of rustup is expected to have the fix by the way? |
Not the current one, as this predates the fix
So this should be fixed with the next rustup release I guess. |
Yes, I think it would be fixed in the next release. Fixed by #3047 |
Also, we need to provide proper stable URLs for downloads: See microsoft/winget-pkgs#95599 |
@hi-rustin Is it not fixed in the next version 1.25.2 ? |
It does not. Because |
1.26.0 was released. I suppose this issue should be fixed. I am going to close this issue and if you have more questions please feel free to comment. |
indeed v1.26.0 has worked for me |
Problem
Hi, thank you for the nice tool.
I am installing rustup with winget, which is becoming the de facto tool for managing packages in Windows.
❯ winget install --id Rustlang.Rustup
My issue is that to this date I cannot seamlessly use the upgrade function of winget due to rustup not been upgraded by the tool:
Adding the
--include-unknown
parameter is not a good solution because I am never not in a state where the system is 'up to date'Steps
You can see the main reason is that winget is unable to detect the current version of rustup:
Possible Solution(s)
Expected Behavior:
The actual version of the currently installed version should appear as so:
Additional context:
As explained here: microsoft/winget-cli#1356
The version used by winget is simply the information provided from Control Panel
Apparently, all that is needed is to add a DisplayVersion key in the registry when installing.
See how the Control panel does not see the version:
Here is an example of a program with a version:
Notes
No response
Rustup version
Installed toolchains
The text was updated successfully, but these errors were encountered: