microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.3k stars 4.24k forks source link

[Package Issue]: vim.vim #149630

Open Atario opened 2 months ago

Atario commented 2 months ago

Please confirm these before moving forward

Category of the issue

Installation issue.

Brief description of your issue

vim.vim version 9.1.0312 upgrade completes, but winget reports current version afterward as 9.1.0.

Steps to reproduce

Install vim.vim package via winget.

Actual behavior

winget reports Version as 9.1.0, and Available as 9.1.0312.

Expected behavior

winget reports Version as 9.1.0312.

Environment

Windows Package Manager v1.7.10861
Copyright (c) Microsoft Corporation. All rights reserved.

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

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

Screenshots and Logs

2024-04-17 03:43:01.122 [CORE] WinGet, version [1.7.10861], activity [{3B2AE08B-F2B8-4F0E-99BE-3D60990D6DAC}] 2024-04-17 03:43:01.123 [CORE] OS: Windows.Desktop v10.0.22631.3447 2024-04-17 03:43:01.123 [CORE] Command line Args: winget list vim.vim 2024-04-17 03:43:01.123 [CORE] Package: Microsoft.DesktopAppInstaller v1.22.10861.0 2024-04-17 03:43:01.123 [CORE] IsCOMCall:0; Caller: winget-cli 2024-04-17 03:43:01.127 [CLI ] WinGet invoked with arguments: 'list' 'vim.vim' 2024-04-17 03:43:01.127 [CLI ] Found subcommand: list 2024-04-17 03:43:01.127 [CLI ] Leaf command to execute: root:list 2024-04-17 03:43:01.128 [CLI ] Executing command: list 2024-04-17 03:43:01.135 [REPO] Default source requested, multiple sources available, adding all to source references. 2024-04-17 03:43:01.135 [REPO] Adding to source references msstore 2024-04-17 03:43:01.135 [REPO] Adding to source references winget 2024-04-17 03:43:01.135 [CLI ] Created authentication arguments. Mode: silentPreferred, Account: 2024-04-17 03:43:01.143 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB 2024-04-17 03:43:01.143 [CORE] Found matching extension. 2024-04-17 03:43:01.145 [REPO] Source winget after auto update time [5 mins]; it has been at least 8 mins 2024-04-17 03:43:01.148 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB 2024-04-17 03:43:01.148 [CORE] Found matching extension. 2024-04-17 03:43:01.233 [REPO] Multiple sources available, creating aggregated source. 2024-04-17 03:43:01.233 [REPO] Adding to aggregated source: msstore 2024-04-17 03:43:01.234 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information 2024-04-17 03:43:01.316 [REPO] Response status: 200 2024-04-17 03:43:01.316 [REPO] Authentication node not found. Assuming authentication type none. 2024-04-17 03:43:01.316 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information 2024-04-17 03:43:01.334 [REPO] Response status: 200 2024-04-17 03:43:01.334 [REPO] Authentication node not found. Assuming authentication type none. 2024-04-17 03:43:01.334 [REPO] Adding to aggregated source: winget 2024-04-17 03:43:01.338 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB 2024-04-17 03:43:01.338 [CORE] Found matching extension. 2024-04-17 03:43:01.355 [REPO] Opening database for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2024.417.256.233_neutral8wekyb3d8bbwe\Public\index.db' 2024-04-17 03:43:01.355 [REPO] Opened SQLite Index with version [1.7], last write [2024-04-16 18:56:05.000] 2024-04-17 03:43:01.503 [REPO] Creating new SQLite Index with version [Latest] at ':memory:' 2024-04-17 03:43:01.506 [REPO] Reading MSI UpgradeCodes 2024-04-17 03:43:01.569 [REPO] Reading MSI UpgradeCodes 2024-04-17 03:43:01.597 [FAIL] C:\w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFE3FF8069C: (caller: 00007FFE3FF873A9) Exception(1) tid(ce8) 800700B7 Cannot create a file when that file already exists.

2024-04-17 03:43:01.598 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFE3FF8069C: (caller: 00007FFE3FF873A9) Exception(2) tid(ce8) 800700B7 Cannot create a file when that file already exists.

2024-04-17 03:43:01.603 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFE3FF8069C: (caller: 00007FFE3FF873A9) Exception(3) tid(ce8) 800700B7 Cannot create a file when that file already exists.

2024-04-17 03:43:01.606 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFE3FF8069C: (caller: 00007FFE3FF873A9) Exception(4) tid(ce8) 800700B7 Cannot create a file when that file already exists.

2024-04-17 03:43:01.625 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFE3FF8069C: (caller: 00007FFE3FF873A9) Exception(5) tid(ce8) 800700B7 Cannot create a file when that file already exists.

2024-04-17 03:43:01.649 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFE3FF8069C: (caller: 00007FFE3FF873A9) Exception(6) tid(ce8) 800700B7 Cannot create a file when that file already exists.

2024-04-17 03:43:01.650 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFE3FF8069C: (caller: 00007FFE3FF873A9) Exception(7) tid(ce8) 800700B7 Cannot create a file when that file already exists.

2024-04-17 03:43:01.651 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFE3FF8069C: (caller: 00007FFE3FF873A9) Exception(8) tid(ce8) 800700B7 Cannot create a file when that file already exists.

2024-04-17 03:43:01.657 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFE3FF8069C: (caller: 00007FFE3FF873A9) Exception(9) tid(ce8) 800700B7 Cannot create a file when that file already exists.

2024-04-17 03:43:01.755 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFE3FF8069C: (caller: 00007FFE3FF873A9) Exception(10) tid(ce8) 800700B7 Cannot create a file when that file already exists.

2024-04-17 03:43:01.768 [FAIL] C:__w\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(197)\WindowsPackageManager.dll!00007FFE3FF8069C: (caller: 00007FFE3FF873A9) Exception(11) tid(ce8) 800700B7 Cannot create a file when that file already exists.

2024-04-17 03:43:01.866 [REPO] Opening database for ReadWrite at 'C:\Users\Atario\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db' 2024-04-17 03:43:01.867 [REPO] Opened SQLite Index with version [1.3], last write [2024-01-10 09:32:07.000] 2024-04-17 03:43:01.868 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch 2024-04-17 03:43:01.909 [REPO] Response status: 200 2024-04-17 03:43:01.912 [REPO] Opening database for ReadWrite at 'C:\Users\Atario\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db' 2024-04-17 03:43:01.913 [REPO] Opened SQLite Index with version [1.6], last write [2024-04-17 03:33:42.000] 2024-04-17 03:43:01.914 [REPO] Finding installed package from tracking package using system reference search: Query:[none] Include:ProductCode='vim 9.1'[Exact] Include:NormalizedNameAndPublisher='vim'+'brammoolenaaretal'[Exact] Include:NormalizedNameAndPublisher='vim(x64)'+'brammoolenaaretal'[Exact] 2024-04-17 03:43:02.005 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='vim'+'brammoolenaaretal'[Exact] 2024-04-17 03:43:02.009 [REPO] Attempting to open pinning database: C:\Users\Atario\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db 2024-04-17 03:43:02.009 [REPO] ... opening existing pinning database 2024-04-17 03:43:02.009 [REPO] Opening database for Read at 'C:\Users\Atario\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db' 2024-04-17 03:43:02.009 [REPO] Opened Pinning Index with version [1.0], last write [2024-01-10 12:59:02.000] 2024-04-17 03:43:02.016 [CLI ] Leaf command succeeded: root:list

MilioD commented 2 months ago

I'm experiencing the same issue starting from upgrading to vim package version 9.1.0312. vim --version command correctly reports build number:

VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Apr 12 2024 22:53:34)
MS-Windows 64-bit console version
Included patches: 1-312
Compiled by appveyor@APPVEYOR-VM
PckgrBot commented 2 months ago

Apps and Features entry needs to be added to the manifest to resolve the issue

HenkPoley commented 5 days ago

Haven't seen this 'keeps re-upgrading' issue in the past two Vim updates. I suspect the Windows Vim installer now writes out the full version in the registry, instead of '9.1.0' or something.

Issue can probably be closed.