Closed dvesic closed 1 year ago
For ease of anyone looking into this issue, here is the full error from the logs
2023-07-14 19:36:27.805 [CLI ] Installer hash verified
2023-07-14 19:36:27.805 [CORE] Started applying motw to C:\Users\dvesic\AppData\Local\Temp\WinGet\Microsoft.WindowsTerminal.1.16.10261.0\Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msix with zone: 2
2023-07-14 19:36:27.813 [CORE] Finished applying motw
2023-07-14 19:36:27.970 [CORE] Starting StagePackageAsync operation #0: C:\Users\dvesic\AppData\Local\Temp\WinGet\Microsoft.WindowsTerminal.1.16.10261.0\Microsoft.WindowsTerminal_Win10_1.16.10261.0_8wekyb3d8bbwe.msix
2023-07-14 19:36:27.971 [CORE] Begin waiting for operation #0
2023-07-14 19:36:27.971 [CORE] Begin blocking for operation #0
2023-07-14 19:36:28.656 [CORE] Successfully completed #0
2023-07-14 19:36:28.656 [CORE] Starting RegisterPackageByFullNameAsync operation #1: Microsoft.WindowsTerminal_3001.16.10261.0_neutral_~_8wekyb3d8bbwe
2023-07-14 19:36:28.667 [CORE] Begin waiting for operation #1
2023-07-14 19:36:28.667 [CORE] Begin blocking for operation #1
2023-07-14 19:36:28.667 [CORE] Deployment operation #1: Windows cannot perform the RegisterByPackageFullName operation because it could not find Microsoft.WindowsTerminal_3001.16.10261.0_neutral_~_8wekyb3d8bbwe in the repository. Make sure Microsoft.WindowsTerminal_3001.16.10261.0_neutral_~_8wekyb3d8bbwe has been staged or was installed by another user.
2023-07-14 19:36:28.667 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(191)\WindowsPackageManager.dll!00007FFC1FFBB31A: (caller: 00007FFC1FEFB150) Exception(1) tid(145c) 80070002 The system cannot find the file specified.
2023-07-14 19:36:28.668 [CORE] Starting RemovePackage operation #2: Microsoft.WindowsTerminal_3001.16.10261.0_neutral_~_8wekyb3d8bbwe
2023-07-14 19:36:28.690 [CORE] Begin waiting for operation #2
2023-07-14 19:36:28.690 [CORE] Begin blocking for operation #2
2023-07-14 19:36:28.748 [CORE] Deployment operation #2: Windows cannot remove Microsoft.WindowsTerminal_3001.16.10261.0_neutral_~_8wekyb3d8bbwe because the current user does not have that package installed. Use Get-AppxPackage to see the list of packages installed.
2023-07-14 19:36:28.748 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FFC1FFBA09F: (caller: 00007FFC1FFBB6FC) Exception(2) tid(145c) 80073CF1 Package was not found.
Msg:[Operation failed: Windows cannot remove Microsoft.WindowsTerminal_3001.16.10261.0_neutral_~_8wekyb3d8bbwe because the current user does not have that package installed. Use Get-AppxPackage to see the list of packages installed.]
2023-07-14 19:36:28.749 [FAIL] D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(126)\WindowsPackageManager.dll!00007FFC201316C1: (caller: 00007FFC1FFBCA23) LogHr(1) tid(145c) 80073CF1 Package was not found.
Msg:[D:\a\_work\1\s\external\pkg\src\AppInstallerCommonCore\Deployment.cpp(54)\WindowsPackageManager.dll!00007FFC1FFBA09F: (caller: 00007FFC1FFBB6FC) Exception(2) tid(145c) 80073CF1 Package was not found.
Msg:[Operation failed: Windows cannot remove Microsoft.WindowsTerminal_3001.16.10261.0_neutral_~_8wekyb3d8bbwe because the current user does not have that package installed. Use Get-AppxPackage to see the list of packages installed.]
]
@Trenly is adding dependencies to the manifests.
@dvesic After the following PR is merged and published, can you test again?
It's published.
It was fixed.
Confirming as fixed.
Brief description of your issue
Attempted to install Windows Terminal over WinGet.
Fails with 0x80070002.
Steps to reproduce
Windows 11, 22H2, 22621.1848.
Both in Admin and non-admin CMD prompt:
Expected behavior
To get Windows Terminal installed.
Actual behavior
Fails with above error.
Attached verbose logs.
WinGet-2023-07-14-19-36-22.142.log
Environment