microsoft / microsoft/winget-pkgs
[Package Issue]: XBMCFoundation.Kodi won't update 19.4.0.0 -> 20.0.0.0
Open
Nobody has claimed this yet.
Help-Wanted
Issue-Bug
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- Avg merge
- 1h 32m
- Merged PRs (30d)
- 376
Description
Please confirm these before moving forward
- 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
No applicable update found.
Brief description of your issue
PS C:\Users\cobalt> winget upgrade
Name Id Version Available Source
------------------------------------------------------------------------------------------------------------------------
# ...
Kodi XBMCFoundation.Kodi 19.4.0.0 20.0.0.0 winget
# ...
Steps to reproduce
winget install XBMCFoundation.Kodi with 19.4.0.0 installed
Actual behavior
+ Found an existing package already installed. Trying to upgrade the installed package...
- No applicable upgrade found.
Expected behavior
successful upgrade
Environment
Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19045.2604
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0
Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
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
PS C:\Users\cobalt\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir> cat .\WinGet-2023-02-20-19-19-39.994.log
2023-02-20 19:19:39.995 [CORE] WinGet, version [1.4.10173], activity [{A9D389BD-0448-40F6-909C-C77D48E46F73}]
2023-02-20 19:19:39.995 [CORE] OS: Windows.Desktop v10.0.19045.2604
2023-02-20 19:19:39.995 [CORE] Command line Args: "C:\Users\cobalt\AppData\Local\Microsoft\WindowsApps\winget.exe" install XBMCFoundation.Kodi
2023-02-20 19:19:39.995 [CORE] Package: Microsoft.DesktopAppInstaller v1.19.10173.0
2023-02-20 19:19:39.995 [CORE] IsCOMCall:0; Caller: winget-cli
2023-02-20 19:19:40.002 [CLI ] WinGet invoked with arguments: 'install' 'XBMCFoundation.Kodi'
2023-02-20 19:19:40.002 [CLI ] Found subcommand: install
2023-02-20 19:19:40.002 [CLI ] Leaf command to execute: root:install
2023-02-20 19:19:40.007 [CLI ] Executing command: install
2023-02-20 19:19:40.009 [REPO] Source named 'winget' is already defined at origin User. The source from origin Default is dropped.
2023-02-20 19:19:40.009 [REPO] GetCurrentSourceRefs: Source named 'microsoft.builtin.desktop.frameworks' from origin Default is hidden and is dropped.
2023-02-20 19:19:40.009 [REPO] Default source requested, multiple sources available, adding all to source references.
2023-02-20 19:19:40.009 [REPO] Adding to source references winget
2023-02-20 19:19:40.009 [REPO] Adding to source references msstore
2023-02-20 19:19:40.009 [REPO] Multiple sources available, creating aggregated source.
2023-02-20 19:19:40.009 [REPO] Adding to aggregated source: winget
2023-02-20 19:19:40.022 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2023-02-20 19:19:40.022 [CORE] Found matching extension.
2023-02-20 19:19:40.053 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.220.2409.417_neutral__8wekyb3d8bbwe\Public\index.db'
2023-02-20 19:19:40.053 [SQL ] Opening SQLite connection #1: 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.220.2409.417_neutral__8wekyb3d8bbwe\Public\index.db' [1, 40]
2023-02-20 19:19:40.054 [REPO] Opened SQLite Index with version [1.6], last write [2023-02-20 18:09:16.000]
2023-02-20 19:19:40.091 [REPO] Adding to aggregated source: msstore
2023-02-20 19:19:40.091 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-02-20 19:19:40.165 [REPO] Response status: 200
2023-02-20 19:19:40.166 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2023-02-20 19:19:40.177 [REPO] Response status: 200
2023-02-20 19:19:40.388 [REPO] Source named 'winget' is already defined at origin User. The source from origin Default is dropped.
2023-02-20 19:19:40.389 [REPO] Source named 'winget' is already defined at origin User. The source from origin Default is dropped.
2023-02-20 19:19:40.390 [REPO] Creating PredefinedInstalledSource with filter [None]
2023-02-20 19:19:40.390 [REPO] Creating new SQLite Index [4294967295.4294967295] at ':memory:'
2023-02-20 19:19:40.390 [SQL ] Opening SQLite connection #2: ':memory:' [6, 0]
2023-02-20 19:19:40.431 [REPO] Reading MSI UpgradeCodes
2023-02-20 19:19:40.445 [REPO] Examining ARP entries for Machine | X64
2023-02-20 19:19:40.566 [REPO] Examining ARP entries for Machine | X86
2023-02-20 19:19:40.638 [REPO] Reading MSI UpgradeCodes
2023-02-20 19:19:40.652 [REPO] Examining ARP entries for User | X64
2023-02-20 19:19:41.015 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\cobalt\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2023-02-20 19:19:41.015 [SQL ] Opening SQLite connection #3: 'C:\Users\cobalt\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db' [2, 0]
2023-02-20 19:19:41.017 [REPO] Opened SQLite Index with version [1.3], last write [2023-02-12 20:50:15.000]
2023-02-20 19:19:41.095 [REPO] Opening SQLite Index for ReadWrite at 'C:\Users\cobalt\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2023-02-20 19:19:41.095 [SQL ] Opening SQLite connection #4: 'C:\Users\cobalt\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db' [2, 0]
2023-02-20 19:19:41.096 [REPO] Opened SQLite Index with version [1.3], last write [2022-04-06 01:03:08.000]
2023-02-20 19:19:41.135 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2023-02-20 19:19:41.146 [REPO] Response status: 200
2023-02-20 19:19:41.149 [CLI ] Found one app. App id: XBMCFoundation.Kodi App name: Kodi
2023-02-20 19:19:41.149 [CLI ] Found installed package, converting to upgrade flow
2023-02-20 19:19:41.160 [REPO] Downloading manifest
2023-02-20 19:19:41.160 [CORE] WinINet downloading from url: https://winget.azureedge.net/cache/manifests/x/XBMCFoundation/Kodi/20.0.0.0/5983-XBMCFoundation.Kodi.yaml
2023-02-20 19:19:41.174 [CORE] Download hash: fef314ff2705839d604f133f66325613a36a451ab47498800602b4b8a69166dd
2023-02-20 19:19:41.174 [CORE] Download completed.
2023-02-20 19:19:41.175 [CLI ] Starting installer selection.
2023-02-20 19:19:41.175 [CLI ] Installer [X64,nullsoft,Machine,en-US] not applicable: Installer scope does not match currently installed scope: Machine != User
2023-02-20 19:19:41.175 [CLI ] Installer [X86,nullsoft,Machine,en-US] not applicable: Installer scope does not match currently installed scope: Machine != User
2023-02-20 19:19:41.175 [CLI ] Terminating context: 0x8a15002b at D:\a\_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\UpdateFlow.cpp:87
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the 20.0.0.0 manifest at manifests/x/XBMCFoundation/Kodi/20.0.0.0/5983-XBMCFoundation.Kodi.yaml and compare it with the 19.4.0.0 manifest. Check the installer scope against the installed User scope shown in the log; done means the package can upgrade from 19.4.0.0 to 20.0.0.0 without the scope-mismatch error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- yaml
- Domain
- release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100