You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue
Installation issue.
Brief description of your issue
> winget install --exact --id Canonical.Ubuntu.2204
Found Ubuntu 22.04 LTS [Canonical.Ubuntu.2204] Version 2204.0.10.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...
██████████████████████████████ 100%
Installer failed with exit code: 0x80070002 : The system cannot find the file specified.
Steps to reproduce
Run winget install --exact --id Canonical.Ubuntu.2204
Actual behavior
Fails to install
Expected behavior
Installs
Environment
Windows Package Manager v1.3.2091
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19042.2006
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2091.0
Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Screenshots and Logs
2022-09-20 17:55:23.811 [CORE] WinGet, version [1.3.2091], activity [{FDDF5613-680F-49A4-A241-BDE970744429}]
2022-09-20 17:55:23.812 [CORE] OS: Windows.Desktop v10.0.19042.2006
2022-09-20 17:55:23.812 [CORE] Command line Args: "C:\Users\mauricio\AppData\Local\Microsoft\WindowsApps\winget.exe" install --exact --id Canonical.Ubuntu.2204
2022-09-20 17:55:23.812 [CORE] Package: Microsoft.DesktopAppInstaller v1.18.2091.0
2022-09-20 17:55:23.812 [CORE] IsCOMCall:0; Caller: winget-cli
2022-09-20 17:55:23.818 [CLI ] WinGet invoked with arguments: 'install' '--exact' '--id' 'Canonical.Ubuntu.2204'
2022-09-20 17:55:23.819 [CLI ] Found subcommand: install
2022-09-20 17:55:23.819 [CLI ] Leaf command to execute: root:install
2022-09-20 17:55:23.822 [CLI ] Executing command: install
2022-09-20 17:55:23.822 [REPO] GetCurrentSourceRefs: Source named 'microsoft.builtin.desktop.frameworks' from origin Default is hidden and is dropped.
2022-09-20 17:55:23.822 [REPO] Default source requested, multiple sources available, adding all to source references.
2022-09-20 17:55:23.822 [REPO] Adding to source references msstore
2022-09-20 17:55:23.822 [REPO] Adding to source references winget
2022-09-20 17:55:23.823 [REPO] Source past auto update time [5 mins]; it has been at least 5 mins
2022-09-20 17:55:23.824 [REPO] Source past auto update time [5 mins]; it has been at least 5 mins
2022-09-20 17:55:24.322 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2022-09-20 17:55:24.322 [CORE] Found matching extension.
2022-09-20 17:55:24.326 [REPO] Remote source data was not newer than existing, no update needed
2022-09-20 17:55:24.333 [REPO] Multiple sources available, creating aggregated source.
2022-09-20 17:55:24.333 [REPO] Adding to aggregated source: msstore
2022-09-20 17:55:24.333 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2022-09-20 17:55:24.492 [REPO] Response status: 200
2022-09-20 17:55:24.492 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2022-09-20 17:55:24.528 [REPO] Response status: 200
2022-09-20 17:55:24.528 [REPO] Adding to aggregated source: winget
2022-09-20 17:55:24.535 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2022-09-20 17:55:24.535 [CORE] Found matching extension.
2022-09-20 17:55:24.556 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2022.920.1740.718_neutral__8wekyb3d8bbwe\Public\index.db'
2022-09-20 17:55:24.556 [SQL ] Opening SQLite connection: 'file:/C:/Program Files/WindowsApps/Microsoft.Winget.Source_2022.920.1740.718_neutral__8wekyb3d8bbwe/Public/index.db?immutable=1' [1, 40]
2022-09-20 17:55:24.557 [REPO] Opened SQLite Index with version [1.5], last write [2022-09-20 17:40:25.000]
2022-09-20 17:55:24.724 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/Canonical.Ubuntu.2204?Market=GB
2022-09-20 17:55:24.745 [REPO] Response status: 200
2022-09-20 17:55:24.758 [CLI ] Found one app. App id: Canonical.Ubuntu.2204 App name: Ubuntu 22.04 LTS
2022-09-20 17:55:24.760 [REPO] Downloading manifest
2022-09-20 17:55:24.760 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/c/Canonical/Ubuntu/2204/2204.0.10.0/dd8b-Canonical.Ubuntu.2204.yaml
2022-09-20 17:55:25.252 [CORE] Download hash: a64d7c17888ebae5f8e417bc3b37db98266980941124591cb5dbd08c466dc592
2022-09-20 17:55:25.252 [CORE] Download completed.
2022-09-20 17:55:25.254 [CLI ] Manifest fields: Name [Ubuntu 22.04 LTS], Version [2204.0.10.0]
2022-09-20 17:55:25.254 [CLI ] Starting installer selection.
2022-09-20 17:55:25.255 [CLI ] Completed installer selection.
2022-09-20 17:55:26.779 [CLI ] Installer hash verified
2022-09-20 17:55:27.169 [CORE] Starting StagePackageAsync operation #0: https://wslstorestorage.blob.core.windows.net/wslblob/Ubuntu2204-220620.AppxBundle
2022-09-20 17:55:27.170 [CORE] Begin waiting for operation #0
2022-09-20 17:55:27.170 [CORE] Begin blocking for operation #0
2022-09-20 17:55:32.825 [CORE] Successfully completed #0
2022-09-20 17:55:32.825 [CORE] Starting RegisterPackageByFullNameAsync operation #1: CanonicalGroupLimited.Ubuntu22.04LTS_2204.0.10.0_neutral_~_79rhkp1fndgsc
2022-09-20 17:55:32.831 [CORE] Begin waiting for operation #1
2022-09-20 17:55:32.831 [CORE] Begin blocking for operation #1
2022-09-20 17:55:32.831 [CORE] Deployment operation #1: Windows cannot perform the RegisterByPackageFullName operation because it could not find CanonicalGroupLimited.Ubuntu22.04LTS_2204.0.10.0_neutral_~_79rhkp1fndgsc in the repository. Make sure CanonicalGroupLimited.Ubuntu22.04LTS_2204.0.10.0_neutral_~_79rhkp1fndgsc has been staged or was installed by another user.
2022-09-20 17:55:32.831 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(187)\WindowsPackageManager.dll!00007FFDEE1698E4: (caller: 00007FFDEE0DFA5E) Exception(1) tid(3f38) 80070002 The system cannot find the file specified.
2022-09-20 17:55:32.831 [CORE] Starting RemovePackage operation #2: CanonicalGroupLimited.Ubuntu22.04LTS_2204.0.10.0_neutral_~_79rhkp1fndgsc
2022-09-20 17:55:32.839 [CORE] Begin waiting for operation #2
2022-09-20 17:55:32.839 [CORE] Begin blocking for operation #2
2022-09-20 17:55:32.980 [CORE] Deployment operation #2: Windows cannot remove CanonicalGroupLimited.Ubuntu22.04LTS_2204.0.10.0_neutral_~_79rhkp1fndgsc because the current user does not have that package installed. Use Get-AppxPackage to see the list of packages installed.
2022-09-20 17:55:32.980 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FFDEE168674: (caller: 00007FFDEE169C9A) Exception(2) tid(3f38) 80073CF1 Package was not found.
Msg:[Operation failed: Windows cannot remove CanonicalGroupLimited.Ubuntu22.04LTS_2204.0.10.0_neutral_~_79rhkp1fndgsc because the current user does not have that package installed. Use Get-AppxPackage to see the list of packages installed.]
2022-09-20 17:55:32.980 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(124)\WindowsPackageManager.dll!00007FFDEE2DAFAE: (caller: 00007FFDEE169D43) LogHr(1) tid(3f38) 80073CF1 Package was not found.
Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FFDEE168674: (caller: 00007FFDEE169C9A) Exception(2) tid(3f38) 80073CF1 Package was not found.
Msg:[Operation failed: Windows cannot remove CanonicalGroupLimited.Ubuntu22.04LTS_2204.0.10.0_neutral_~_79rhkp1fndgsc because the current user does not have that package installed. Use Get-AppxPackage to see the list of packages installed.]
]
2022-09-20 17:55:32.983 [CLI ] MSIX installer failed: 2147942402
2022-09-20 17:55:32.983 [CLI ] Terminating context: 0x80070002 at D:\a\_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\InstallFlow.cpp:193
The text was updated successfully, but these errors were encountered:
Thank you for taking the time to report this issue. In the amount of time the issue has been open, there have been several updates to the WinGet CLI which may have helped mitigate some of these concerns. I encourage you to try out the latest version of the CLI and see if your problem still persists.
If additional problems persist, it would be extremely helpful if a new issue could be opened. Thanks!
Please confirm these before moving forward
Category of the issue
Installation issue.
Brief description of your issue
Steps to reproduce
Run
winget install --exact --id Canonical.Ubuntu.2204
Actual behavior
Fails to install
Expected behavior
Installs
Environment
Screenshots and Logs
The text was updated successfully, but these errors were encountered: