microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.18k stars 1.45k forks source link

0x80190194 : unknown error #3563

Open eccrk opened 1 year ago

eccrk commented 1 year ago

Brief description of your issue

PS C:\Windows\System32> winget install sumo Multiple packages found matching input criteria. Please refine the input. Name Id Source

SUMO EclipseFoundation.SUMO winget KC Softwares SUMo KCSoftwares.SUMo winget PS C:\Windows\System32> winget install kcsoftwares.sumo An unexpected error occurred while executing the command: 0x80190194 : unknown error

Steps to reproduce

Completely reproducible

Expected behavior

It should install the package or declare that latest available the version of the package is installed

Actual behavior

Error

Environment

PS C:\Windows\System32> winget --info
Windows Package Manager v1.5.2201
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22621.2215
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.20.2201.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

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
Trenly commented 1 year ago

Can you please include the log files from winget install kcsoftwares.sumo --verbose ?

eccrk commented 1 year ago

Hi Log file attached as requested. Thanks Colin



Colin Knowles Mobile: 0044 796 796 7139 @.*** https://www.facebook.com/ColinRKnowles

On Mon, 28 Aug 2023 at 14:21, Kaleb Luedtke @.***> wrote:

Can you please include the log files from winget install kcsoftwares.sumo --verbose ?

— Reply to this email directly, view it on GitHub https://github.com/microsoft/winget-cli/issues/3563#issuecomment-1695691179, or unsubscribe https://github.com/notifications/unsubscribe-auth/BCF6YAJMB4LAOOUJXTH3RSLXXSLNPANCNFSM6AAAAAA4BAEW54 . You are receiving this because you authored the thread.Message ID: @.***>

denelon commented 1 year ago

@eccrk it looks like you responded to the issue via e-mail. The files don't get attached unless you update at the GitHub issue.

eccrk commented 1 year ago

Sorry I wasn't aware of that. Please find attached. WinGetCOM-2023-08-25-16-07-50.973.log

Trenly commented 1 year ago

Interesting. I've not seen a log file with that name before, although it seems that whatever process was running there got stuck opening the pinning index. I'm also not seeing the client or command information at the top of the log file. Here's an example from when I ran an install -

WinGet-2023-08-31-07-41-03.310.log

2023-08-31 07:41:03.315 [CORE] WinGet, version [1.6.2291-preview], activity [{E353786B-A138-4A70-93F8-7A718939AAD2}]
2023-08-31 07:41:03.316 [CORE] OS: Windows.Desktop v10.0.19045.3324
2023-08-31 07:41:03.316 [CORE] Command line Args: "C:\Users\Trenly\AppData\Local\Microsoft\WindowsApps\winget.exe" install yabe --force --verbose
2023-08-31 07:41:03.316 [CORE] Package: Microsoft.DesktopAppInstaller v1.21.2291.0
2023-08-31 07:41:03.316 [CORE] IsCOMCall:0; Caller: winget-cli
2023-08-31 07:41:03.327 [CLI ] WinGet invoked with arguments: 'install' 'yabe' '--force' '--verbose'
| <Log file truncated for clarity>
denelon commented 1 year ago

Was Sumo already installed on the system when the command was run?

From the log the "settings" file seemed to be invalid.

Can you share your settings? Run winget settings to open the settings.json file. Can you share the list of pins? Run winget pin list to see if any are configured.

eccrk commented 1 year ago

settings.json reads:

{ "$schema": "https://aka.ms/winget-settings.schema.json",

// For documentation on these settings, see: https://aka.ms/winget-settings
// "source": {
//    "autoUpdateIntervalInMinutes": 5
// },

}

the output from winget pin list is:

There are no pins configured.