Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Package Issue]: pnpm.pnpm #174141

Open
2 tasks done
Fisiu opened this issue Sep 18, 2024 · 3 comments
Open
2 tasks done

[Package Issue]: pnpm.pnpm #174141

Fisiu opened this issue Sep 18, 2024 · 3 comments
Labels
Help-Wanted This is a good candidate work item from the community. Issue-Bug It either shouldn't be doing this or needs an investigation. Package-Update This package needs to be updated

Comments

@Fisiu
Copy link

Fisiu commented Sep 18, 2024

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

Other

Brief description of your issue

Can't upgrade pnpm to newer version even if newer version is available.

Name                                     Id                               Version              Available            Source
--------------------------------------------------------------------------------------------------------------------------
pnpm                                     pnpm.pnpm                        9.9.0                9.10.0               winget

Steps to reproduce

Install older version, and try to upgrade to new.

Actual behavior

$ winget upgrade --id pnpm.pnpm
No installed package found matching input criteria.

Expected behavior

Package pnpm should be upgrade to newer available version.

Environment

winget --info
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.4894
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0


### Screenshots and Logs

_No response_
@Fisiu Fisiu added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Sep 18, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Sep 18, 2024
@stephengillie
Copy link
Collaborator

Hi @Fisiu,

Was the previous version of pnpm added to the file system by the package manager, or in another way such as manually downloaded and copied? While portable packages like this don't have an installer, and can't have the installer type mismatch issue, any history might be useful.

Can you upload logs from an attempt to upgrade pnpm.pnpm? Logs are usually found at this location, and winget --info can confirm: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Sep 18, 2024
@Fisiu
Copy link
Author

Fisiu commented Sep 19, 2024

Hi @stephengillie

I uninstalled pnpm to recreate this issue. I installed pnpm-9.9.0 using winget install --id pnpm.pnpm --version 9.9.0:

2024-09-19 10:46:42.026 [CORE] WinGet, version [1.8.1911], activity [{97B4EE36-CF32-4C43-A9D7-77CA5F7967A4}]
2024-09-19 10:46:42.027 [CORE] OS: Windows.Desktop v10.0.19045.4894
2024-09-19 10:46:42.027 [CORE] Command line Args: "C:\Users\USERNAME\AppData\Local\Microsoft\WindowsApps\winget.exe" install --id pnpm.pnpm --version 9.9.0
2024-09-19 10:46:42.027 [CORE] Package: Microsoft.DesktopAppInstaller v1.23.1911.0
2024-09-19 10:46:42.027 [CORE] IsCOMCall:0; Caller: winget-cli
2024-09-19 10:46:42.064 [CLI ] WinGet invoked with arguments: 'install' '--id' 'pnpm.pnpm' '--version' '9.9.0'
2024-09-19 10:46:42.064 [CLI ] Found subcommand: install
2024-09-19 10:46:42.064 [CLI ] Leaf command to execute: root:install
2024-09-19 10:46:42.067 [CLI ] Executing command: install
2024-09-19 10:46:42.070 [REPO] Default source requested, multiple sources available, adding all to source references.
2024-09-19 10:46:42.070 [REPO] Adding to source references msstore
2024-09-19 10:46:42.070 [CORE] Default proxy is not set
2024-09-19 10:46:42.070 [REPO] REST HTTP Client helper does not use proxy
2024-09-19 10:46:42.070 [REPO] Adding to source references winget
2024-09-19 10:46:42.071 [CLI ] Created authentication arguments. Mode: silentPreferred, Account: 
2024-09-19 10:46:42.103 [CORE] Examining extension: PFN = Microsoft.Winget.Platform.Source_8wekyb3d8bbwe, ID = IndexDB
2024-09-19 10:46:42.109 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-09-19 10:46:42.109 [CORE] Found matching extension.
2024-09-19 10:46:42.117 [REPO] Multiple sources available, creating aggregated source.
2024-09-19 10:46:42.117 [REPO] Adding to aggregated source: msstore
2024-09-19 10:46:42.117 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-09-19 10:46:42.907 [REPO] Response status: 200
2024-09-19 10:46:42.908 [REPO] Authentication node not found. Assuming authentication type none.
2024-09-19 10:46:42.908 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-09-19 10:46:43.069 [REPO] Response status: 200
2024-09-19 10:46:43.070 [REPO] Authentication node not found. Assuming authentication type none.
2024-09-19 10:46:43.070 [REPO] Adding to aggregated source: winget
2024-09-19 10:46:43.081 [CORE] Examining extension: PFN = Microsoft.Winget.Platform.Source_8wekyb3d8bbwe, ID = IndexDB
2024-09-19 10:46:43.088 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-09-19 10:46:43.088 [CORE] Found matching extension.
2024-09-19 10:46:43.162 [REPO] Opening database for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2024.919.900.22_neutral__8wekyb3d8bbwe\Public\index.db'
2024-09-19 10:46:43.164 [REPO] Opened SQLite Index with version [2.0], last write [2024-09-19 09:58:10.000]
2024-09-19 10:46:43.481 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-09-19 10:46:43.486 [REPO] Reading MSI UpgradeCodes
2024-09-19 10:46:43.669 [REPO] Reading MSI UpgradeCodes
2024-09-19 10:46:44.414 [REPO] Opening database for ReadWrite at 'C:\Users\USERNAME\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2024-09-19 10:46:44.416 [REPO] Opened SQLite Index with version [1.6], last write [2024-07-09 13:51:07.000]
2024-09-19 10:46:44.504 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/pnpm.pnpm?Market=US
2024-09-19 10:46:44.662 [REPO] Response status: 200
2024-09-19 10:46:44.686 [REPO] Opening database for ReadWrite at 'C:\Users\USERNAME\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-09-19 10:46:44.687 [REPO] Opened SQLite Index with version [1.6], last write [2024-09-19 10:45:23.000]
2024-09-19 10:46:45.375 [CLI ] Found one app. App id: pnpm.pnpm App name: pnpm
2024-09-19 10:46:45.400 [REPO] Attempting to open pinning database: C:\Users\USERNAME\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
2024-09-19 10:46:45.400 [REPO] ... opening existing pinning database
2024-09-19 10:46:45.400 [REPO] Opening database for Read at 'C:\Users\USERNAME\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db'
2024-09-19 10:46:45.401 [REPO] Opened Pinning Index with version [1.0], last write [2023-08-28 13:49:09.000]
2024-09-19 10:46:45.401 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/manifests/p/pnpm/pnpm/9.9.0/be00
2024-09-19 10:46:46.497 [CORE] Download hash: 4e3f27fca14c36ae305841024345560399e636547f53a10798d92093fb96dfd5
2024-09-19 10:46:46.497 [CORE] Download completed.
2024-09-19 10:46:46.502 [CLI ] Manifest fields: Name [pnpm], Version [9.9.0]
2024-09-19 10:46:46.667 [CLI ] Generated temp download path: C:\Users\USERNAME\AppData\Local\Temp\2\WinGet\pnpm.pnpm.9.9.0\b06564097f3424fc6b7fb21b341b408fa77fca508400aadc5c9ecdeb90eee288
2024-09-19 10:46:46.668 [CORE] Downloading to path: C:\Users\USERNAME\AppData\Local\Temp\2\WinGet\pnpm.pnpm.9.9.0\b06564097f3424fc6b7fb21b341b408fa77fca508400aadc5c9ecdeb90eee288
2024-09-19 10:46:46.668 [CORE] DeliveryOptimization downloading from url: https://github.com/pnpm/pnpm/releases/download/v9.9.0/pnpm-win-x64.exe
2024-09-19 10:46:46.690 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerCommonCore\DODownloader.cpp(30)\WindowsPackageManager.dll!00007FFAFEB7A125: (caller: 00007FFAFEB73422) Exception(1) tid(7bb4) 80D03002 
2024-09-19 10:46:46.691 [CORE] Started applying motw to C:\Users\USERNAME\AppData\Local\Temp\2\WinGet\pnpm.pnpm.9.9.0\b06564097f3424fc6b7fb21b341b408fa77fca508400aadc5c9ecdeb90eee288 with zone: 3
2024-09-19 10:46:46.697 [CORE] Finished applying motw
2024-09-19 10:46:46.697 [CORE] WinINet downloading from url: https://github.com/pnpm/pnpm/releases/download/v9.9.0/pnpm-win-x64.exe
2024-09-19 10:46:55.320 [CORE] Download hash: b06564097f3424fc6b7fb21b341b408fa77fca508400aadc5c9ecdeb90eee288
2024-09-19 10:46:55.320 [CORE] Download completed.
2024-09-19 10:46:55.328 [CLI ] Installer hash verified
2024-09-19 10:46:55.328 [CORE] Started applying motw to C:\Users\USERNAME\AppData\Local\Temp\2\WinGet\pnpm.pnpm.9.9.0\b06564097f3424fc6b7fb21b341b408fa77fca508400aadc5c9ecdeb90eee288 with zone: 2
2024-09-19 10:46:55.330 [CORE] Finished applying motw
2024-09-19 10:46:56.030 [CLI ] Successfully renamed downloaded installer. Path: C:\Users\USERNAME\AppData\Local\Temp\2\WinGet\pnpm.pnpm.9.9.0\pnpm-win-x64.exe
2024-09-19 10:46:56.415 [CORE] Created target install directory: C:\Users\USERNAME\AppData\Local\Microsoft\WinGet\Packages\pnpm.pnpm_Microsoft.Winget.Source_8wekyb3d8bbwe
2024-09-19 10:46:56.415 [CORE] Moving portable exe to: C:\Users\USERNAME\AppData\Local\Microsoft\WinGet\Packages\pnpm.pnpm_Microsoft.Winget.Source_8wekyb3d8bbwe\pnpm.exe
2024-09-19 10:46:56.418 [CORE] Failed to create symlink at: C:\Users\USERNAME\AppData\Local\Microsoft\WinGet\Links\pnpm.exe
2024-09-19 10:46:56.420 [CORE] Appending portable target directory to PATH registry: C:\Users\USERNAME\AppData\Local\Microsoft\WinGet\Packages\pnpm.pnpm_Microsoft.Winget.Source_8wekyb3d8bbwe
2024-09-19 10:46:56.446 [REPO] Opening database for ReadWrite at 'C:\Users\USERNAME\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-09-19 10:46:56.447 [REPO] Opened SQLite Index with version [1.6], last write [2024-09-19 10:45:23.000]
2024-09-19 10:46:56.523 [CLI ] Removing installer: C:\Users\USERNAME\AppData\Local\Temp\2\WinGet\pnpm.pnpm.9.9.0\pnpm-win-x64.exe
2024-09-19 10:46:56.524 [CLI ] Leaf command succeeded: root:install

Then I wanted to upgrade with winget upgrade --id pnpm.pnpm:

2024-09-19 10:47:13.754 [CORE] WinGet, version [1.8.1911], activity [{9EF01D1B-B5F5-4CCA-A1E2-8310D22D321F}]
2024-09-19 10:47:13.755 [CORE] OS: Windows.Desktop v10.0.19045.4894
2024-09-19 10:47:13.755 [CORE] Command line Args: "C:\Users\USERNAME\AppData\Local\Microsoft\WindowsApps\winget.exe" upgrade --id pnpm.pnpm
2024-09-19 10:47:13.755 [CORE] Package: Microsoft.DesktopAppInstaller v1.23.1911.0
2024-09-19 10:47:13.755 [CORE] IsCOMCall:0; Caller: winget-cli
2024-09-19 10:47:13.778 [CLI ] WinGet invoked with arguments: 'upgrade' '--id' 'pnpm.pnpm'
2024-09-19 10:47:13.778 [CLI ] Found subcommand: upgrade
2024-09-19 10:47:13.778 [CLI ] Leaf command to execute: root:upgrade
2024-09-19 10:47:13.780 [CLI ] Executing command: upgrade
2024-09-19 10:47:13.782 [REPO] Default source requested, multiple sources available, adding all to source references.
2024-09-19 10:47:13.782 [REPO] Adding to source references msstore
2024-09-19 10:47:13.782 [CORE] Default proxy is not set
2024-09-19 10:47:13.782 [REPO] REST HTTP Client helper does not use proxy
2024-09-19 10:47:13.782 [REPO] Adding to source references winget
2024-09-19 10:47:13.782 [CLI ] Created authentication arguments. Mode: silentPreferred, Account: 
2024-09-19 10:47:13.803 [CORE] Examining extension: PFN = Microsoft.Winget.Platform.Source_8wekyb3d8bbwe, ID = IndexDB
2024-09-19 10:47:13.806 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-09-19 10:47:13.807 [CORE] Found matching extension.
2024-09-19 10:47:13.812 [REPO] Multiple sources available, creating aggregated source.
2024-09-19 10:47:13.812 [REPO] Adding to aggregated source: msstore
2024-09-19 10:47:13.812 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-09-19 10:47:14.445 [REPO] Response status: 200
2024-09-19 10:47:14.445 [REPO] Authentication node not found. Assuming authentication type none.
2024-09-19 10:47:14.445 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-09-19 10:47:14.556 [REPO] Response status: 200
2024-09-19 10:47:14.556 [REPO] Authentication node not found. Assuming authentication type none.
2024-09-19 10:47:14.556 [REPO] Adding to aggregated source: winget
2024-09-19 10:47:14.564 [CORE] Examining extension: PFN = Microsoft.Winget.Platform.Source_8wekyb3d8bbwe, ID = IndexDB
2024-09-19 10:47:14.569 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-09-19 10:47:14.569 [CORE] Found matching extension.
2024-09-19 10:47:14.644 [REPO] Opening database for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2024.919.900.22_neutral__8wekyb3d8bbwe\Public\index.db'
2024-09-19 10:47:14.646 [REPO] Opened SQLite Index with version [2.0], last write [2024-09-19 09:58:10.000]
2024-09-19 10:47:14.926 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-09-19 10:47:14.932 [REPO] Reading MSI UpgradeCodes
2024-09-19 10:47:15.128 [REPO] Reading MSI UpgradeCodes
2024-09-19 10:47:15.842 [REPO] Opening database for ReadWrite at 'C:\Users\USERNAME\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2024-09-19 10:47:15.844 [REPO] Opened SQLite Index with version [1.6], last write [2024-07-09 13:51:07.000]
2024-09-19 10:47:15.919 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/packageManifests/pnpm.pnpm?Market=US
2024-09-19 10:47:16.054 [REPO] Response status: 200
2024-09-19 10:47:16.071 [REPO] Opening database for ReadWrite at 'C:\Users\USERNAME\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-09-19 10:47:16.072 [REPO] Opened SQLite Index with version [1.6], last write [2024-09-19 10:45:23.000]
2024-09-19 10:47:16.583 [CLI ] No app found matching input criteria
2024-09-19 10:47:16.599 [CLI ] Terminating context: 0x8a150014 at C:\__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\WorkflowBase.cpp:3e5

@stephengillie stephengillie added Help-Wanted This is a good candidate work item from the community. Package-Update This package needs to be updated labels Sep 19, 2024
@stephengillie
Copy link
Collaborator

I'm not sure, but I'm guessing that there might be an issue with the 9.10.0 manifest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help-Wanted This is a good candidate work item from the community. Issue-Bug It either shouldn't be doing this or needs an investigation. Package-Update This package needs to be updated
Projects
None yet
Development

No branches or pull requests

2 participants