Open lackovic opened 10 months ago
Use --skip-dependencies
to skip the Ui.Xaml package that is failing
Use --skip-dependencies to skip the Ui.Xaml package that is failing
Thanks, that worked with:
> winget upgrade -h Microsoft.WindowsTerminal --skip-dependencies
Found Windows Terminal [Microsoft.WindowsTerminal] Version 1.18.3181.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Dependencies skipped.
Successfully verified installer hash
Starting package install...
████████████████████████████▌ 95%
Successfully installed. Restart the application to complete the upgrade.
but did not work with:
> winget upgrade -h --all --skip-dependencies
Name Id Version Available Source
-------------------------------------------------------------------------
Windows Terminal Microsoft.WindowsTerminal 1.18.2822.0 1.18.3181.0 winget
Installing dependencies:
This package requires the following dependencies:
- Packages
Microsoft.UI.Xaml.2.8 [>= 8.2306.22001.0]
(1/2) Found Windows Terminal [Microsoft.WindowsTerminal] Version 1.18.3181.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Installing dependencies:
(1/1) Found Microsoft.UI.Xaml [Microsoft.UI.Xaml.2.8] Version 8.2306.22001.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
████████████████████████████▌ 95%
Installer failed with exit code: 0x80070002 : The system cannot find the file specified.
Three questions:
--skip-dependencies
"Microsoft.WindowsTerminal
package be resolved at some point or do we need to use indefinetely the --skip-dependencies
workaround?1) Skipping dependencies isn’t always a bad thing. In this case, theres something weird going on with the version detection (based on the error message) so you already have the dependency installed. Its also possible that a package could require a generic package like a JRE or JDK, and a user might have a specific one they use instead of the one the pckage lists as a dependency.
2) I think they should; Not sure if its a bug or if it needs a feature request; Either way, can probably just re-title this issue and make it focused on that
3) It should be resolved eventually, once the community identifies what the issue is with the Xaml 2.8 package
> winget upgrade -h --all --skip-dependencies
resolved this issue but after then ....
> winget upgrade --all
No installed package found matching input criteria.
1 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.
> winget upgrade --include-unknown
No installed package found matching input criteria.
3. Will this problem with the
Microsoft.WindowsTerminal
package be resolved at some point or do we need to use indefinetely the--skip-dependencies
workaround?3. It should be resolved eventually, once the community identifies what the issue is with the Xaml 2.8 package
Let's open a new issue about that, then: #128252
It look like https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/9NSTH9KHZDLQ where is the correlation data? But the id was found on Microsoft Store in URL. https://apps.microsoft.com/detail/microsoft-ui-xaml-2-8/9NSTH9KHZDLQ?hl=en-US&gl=US
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
Upgrading WindowsTerminal
1.18.2822.0
to1.18.3181.0
withwinget upgrade -h --all
fails with the error:Steps to reproduce
Run on PowerShell as Administrator:
winget upgrade -h --all
Actual behavior
The upgrade fails with the following error:
Expected behavior
The upgrade succeeds without errors.
Environment
Screenshots and Logs
WinGet-2023-11-24-10-05-23.195.log