-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Area-ExternalIssue outside of winget-cli sourceIssue outside of winget-cli sourceCommand-UninstallIssue related to WinGet UninstallIssue related to WinGet UninstallIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.
Description
Brief description of your issue
I tried to update OpenCPN.OpenCPN from version 5.8.4 to version 5.10.2 and got the "Application not found" error
Steps to reproduce
Run either
winget update opencpn
or
winget uninstall opencpn
With opencpn installed on your machine.
Expected behavior
opencpn either gets updated or uninstalled depending on which command you tried
Actual behavior
For the update command:
>winget update opencpn
Found OpenCPN [OpenCPN.OpenCPN] Version 5.10.2
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://github.com/OpenCPN/OpenCPN/releases/download/Release_5.10.2/opencpn_5.10.2-0+2012.12e5712_setup.exe
██████████████████████████████ 36.3 MB / 36.3 MB
Successfully verified installer hash
Starting package uninstall...
An unexpected error occurred while executing the command:
0x800401f5 : Application not found
For the uninstall command:
>winget uninstall opencpn
Found OpenCPN 5.8.4-0+1637c28 [OpenCPN.OpenCPN]
Starting package uninstall...
An unexpected error occurred while executing the command:
0x800401f5 : Application not found
Note also that running winget update
resulted in
>winget update
Name Id Version Available Source
---------------------------------------------------------------------------------------
OpenCPN 5.8.4-0+1637c28 OpenCPN.OpenCPN 5.8.4 5.10.2 winget
Microsoft Teams Microsoft.Teams 25163.3611.3774.6315 25185.410.3812.8024 winget
3 upgrades available.
The following packages have an upgrade available, but require explicit targeting for upgrade:
Name Id Version Available Source
-------------------------------------------------
Discord Discord.Discord 1.0.9144 1.0.9201 winget
1 package(s) have version numbers that cannot be determined. Use --include-unknown to see all results.
Finally note that opening the windows settings and uninstalling opencpn from there worked flawlessly and after that I could run winget install opencpn
to get the latest version
Environment
winget --info
Windows Package Manager v1.11.430
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19045.6093
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.26.430.0
Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
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 Disabled
Metadata
Metadata
Assignees
Labels
Area-ExternalIssue outside of winget-cli sourceIssue outside of winget-cli sourceCommand-UninstallIssue related to WinGet UninstallIssue related to WinGet UninstallIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.