-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Incorrect Versioning of Multiple Packages - Upgrade Or Manual Install Has No Effect - .NET, CUDA, Others #4543
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Open similar issues:
Closed similar issues:
|
The team is working on improving side-by-side behaviors, and the applications you mentioned (.NET, CUDA, Desktop Runtime, etc.) are all applications that install new versions side-by-side with older versions. There is an experimental feature in preview versions that may provide a better experience. You can run winget features to see which experimental features are available to test/try out. |
@Trenly Hi! I've been using a custom configuration settings.json for winget-cli and have been using it as discussed in #4425. I mainly created this issue to provide a rather large (I'm assuming) data dump for the team in regards to what is happening. I'm in the Windows Insider Program on the Canary channel so I have full telemetry and diagnostics enabled. Additionally, I've enabled additional various tools, diagnostics, and logging capabilities that other users probably don't have. Additionally, I've taken quite a keen interest in Winget-CLI as my first actual contribution on GitHub and the open source community. As such, I would love to help out further. Would you or the team have a list of applications that the team is working on that are experiencing these issues? Would be happy to go through the same motions here with those packages to with logs and recordings of each package for more insight for the team! Also if the team is able to share, I would be happy to enable/install any additional diagnostics, logs, ETWs, WPA plug-ins, or debugging tools specifically for Winget to give as much data and feedback for the team. Here is my current settings.json config (which currently has an error with the new(?) schema):
|
@davidldennison thanks for the offer to help! In general, one of our challenges of current focus is dealing with instances where two versions (or both per user and per machine) of an application are installed. Most of these issues have the
Side-by-Side
The sooner we have confidence in the quality of the feature, and which bugs it will resolve, the sooner we can make it the stable behavior. |
Does this appear to be resolved with the new support for side-by-side scenarios? |
Hello @davidldennison, This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment. Template: msftbot/noRecentActivity |
Brief description of your issue
The winget-cli tool fails to correctly version multiple packages after upgrade or manual installation. This issue is observed prominently in this feedback with .NET but happens for other packages such as CUDA, and potentially other packages. I have gone through the painstaking process of manually installing and uninstalling over 50 different .NET versions, tried using winget-cli, and even tried upgrading other packages for this feedback with the versioning issue still persisting.
Since this issue might span across winget-cli, package maintainers, and other MS Teams, during this arduous process I recorded it in Feedback Hub to aid the various teams involved with extensive logs on the install/uninstall process of winget-cli and package versions. I also included the direct logs that were generated over the package installs and uninstalls over the 2 hour period.
You can find the Feedback Hub for the logs and screenshots here: https://aka.ms/AAqqtaf
Additionally, this issue doesn't seem to be isolated, as it potentially mirrors the problems reported in the following GitHub issues:
GitHub Issue #3004
GitHub Issue #4415
Attached is a screenshot showing the .NET packages installed so far, along with all the captured logs for detailed reference.
Screenshot of some of the logs:
Steps to reproduce
Versions were also checked with
dotnet sdk check
and found to be differing from winget-cli.Expected behavior
Package installations to succeed and winget-cli to recognize the new version.
Hope this helps!
Now let's hope Visual Studio isn't completely broken 😂
Actual behavior
An endless abyss of a Semver loops?
Also, I do have a winget config error with the different JSON versions, but this issue was present before and after so I believe it to be unrelated. Please let me know if there is another repo that should be tagged as well!
Environment
The text was updated successfully, but these errors were encountered: