-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Command-UpgradeIssue related to WinGet UpgradeIssue related to WinGet UpgradeIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Resolution-DuplicateIssue is a duplicateIssue is a duplicate
Description
Relevant area(s)
WinGet CLI
Relevant command(s)
winget upgrade
Brief description of your issue
When running command winget upgrade --all the tool identified that Microsoft.AppInstaller can be updated from 1.27.350.0 to 1.27.440.0 but the upgrade fails.
Steps to reproduce
Here is the output from the command line:
> winget upgrade --all --accept-package-agreements --verbose-logs --logs
Name Id Version Available Source
-----------------------------------------------------------------
App Installer Microsoft.AppInstaller 1.27.350.0 1.27.440.0 winget
1 upgrades available.
Installing dependencies:
This package requires the following dependencies:
- Packages
Microsoft.VCLibs.Desktop.14 [>= 14.0.33728.0]
Microsoft.VCLibs.14 [>= 14.0.33519.0]
Microsoft.WindowsAppRuntime.1.8 [>= 1.8.0]
(1/1) Found App Installer [Microsoft.AppInstaller] Version 1.27.440.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.
(1/2) Found Microsoft Visual C++ 2015 UWP Runtime Package [Microsoft.VCLibs.14] Version 14.0.33519.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
Extracting archive...
Successfully extracted archive
Starting package install...
████████████████████████████▌ 95%
Successfully installed. Restart the application to complete the upgrade.
(2/2) Found Windows App Runtime 1.8 [Microsoft.WindowsAppRuntime.1.8] Version 1.8.3
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://aka.ms/windowsappsdk/1.8/1.8.251106002/windowsappruntimeinstall-x64.exe
██████████████████████████████ 101 MB / 101 MB
Successfully verified installer hash
Starting package install...
Successfully installed
Successfully verified installer hash
Starting package install...
████████████████████████████▌ 95%
An unexpected error occurred while executing the command:
0x800704c7 : The operation was canceled by the user.
Cancelled
The log file output is available here: Log for WinGet upgrade failure for Microsoft.AppInstaller
Expected behavior
The upgrade to complete successfully.
Actual behavior
The upgrade is cancelled.
Environment
> winget --info
Windows Package Manager v1.12.350
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19045.6691
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.27.350.0
Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Configuration Modules %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules
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
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
DefaultProxy DisabledMetadata
Metadata
Assignees
Labels
Command-UpgradeIssue related to WinGet UpgradeIssue related to WinGet UpgradeIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Resolution-DuplicateIssue is a duplicateIssue is a duplicate