-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Command-ImportIssue related to WinGet ImportIssue related to WinGet ImportIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.
Description
Relevant area(s)
WinGet CLI
Relevant command(s)
winget import
Brief description of your issue
When I run winget import on a large json file, it doesn't install any packages and only checks for updates for packages already installed. When I put only the packages I don't have installed in a shorter json file, it works fine.
Steps to reproduce
PS C:\Users\kkkar> winget import import.json
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: 7zip.7zip
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Audacity.Audacity
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Docker.DockerDesktop
Found an existing package already installed. Trying to upgrade the installed package...
This package's version number cannot be determined. To upgrade it anyway, add the argument --include-unknown to your previous command.
Package is already installed: Buanzo.FFmpegforAudacity
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: REALiX.HWiNFO
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Microsoft.OneDrive
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Piriform.Recuva
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Zen-Team.Zen-Browser
Found an existing package already installed. Trying to upgrade the installed package...
This package's version number cannot be determined. To upgrade it anyway, add the argument --include-unknown to your previous command.
Package is already installed: ShiningLight.OpenSSL.Dev
Found an existing package already installed. Trying to upgrade the installed package...
This package's version number cannot be determined. To upgrade it anyway, add the argument --include-unknown to your previous command.
Package is already installed: BlenderFoundation.Blender
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: AmN.yasb
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Google.GoogleDrive
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: voidtools.Everything
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: LGUG2Z.whkd
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: LGUG2Z.komorebi
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: CodeSector.TeraCopy
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Google.Chrome.EXE
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: OBSProject.OBSStudio
Found an existing package already installed. Trying to upgrade the installed package...
The package cannot be upgraded using winget. Please use the method provided by the publisher for upgrading this package.
Search failed for: Parsec.Parsec
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Microsoft.VisualStudio.2022.Community
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: GIMP.GIMP.2
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Git.Git
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: MiKTeX.MiKTeX
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Microsoft.Edit
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Spotify.Spotify
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Obsidian.Obsidian
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: oschwartz10612.Poppler
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: twpayne.chezmoi
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Microsoft.VisualStudioCode
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Microsoft.PowerToys
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: CharlesMilette.TranslucentTB
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: Microsoft.WindowsTerminal
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.
Package is already installed: 9PFXXSHC64H3
PS C:\Users\kkkar> cat import.json
{
"$schema": "https://aka.ms/winget-packages.schema.2.0.json",
"CreationDate": "2025-12-09T16:46:47.094-00:00",
"Sources": [
{
"Packages": [
{
"PackageIdentifier": "Perplexity.Comet"
},
{
"PackageIdentifier": "DEVCOM.JetBrainsMonoNerdFont"
},
{
"PackageIdentifier": "7zip.7zip"
},
{
"PackageIdentifier": "Audacity.Audacity"
},
{
"PackageIdentifier": "Docker.DockerDesktop"
},
{
"PackageIdentifier": "Buanzo.FFmpegforAudacity"
},
{
"PackageIdentifier": "REALiX.HWiNFO"
},
{
"PackageIdentifier": "Microsoft.OneDrive"
},
{
"PackageIdentifier": "Piriform.Recuva"
},
{
"PackageIdentifier": "Zen-Team.Zen-Browser"
},
{
"PackageIdentifier": "ShiningLight.OpenSSL.Dev"
},
{
"PackageIdentifier": "BlenderFoundation.Blender"
},
{
"PackageIdentifier": "AmN.yasb"
},
{
"PackageIdentifier": "Google.GoogleDrive"
},
{
"PackageIdentifier": "voidtools.Everything"
},
{
"PackageIdentifier": "LGUG2Z.whkd"
},
{
"PackageIdentifier": "LGUG2Z.komorebi"
},
{
"PackageIdentifier": "CodeSector.TeraCopy"
},
{
"PackageIdentifier": "Google.Chrome.EXE"
},
{
"PackageIdentifier": "OBSProject.OBSStudio"
},
{
"PackageIdentifier": "Parsec.Parsec"
},
{
"PackageIdentifier": "Microsoft.VisualStudio.2022.Community"
},
{
"PackageIdentifier": "GIMP.GIMP.2"
},
{
"PackageIdentifier": "Git.Git"
},
{
"PackageIdentifier": "MiKTeX.MiKTeX"
},
{
"PackageIdentifier": "Microsoft.Edit"
},
{
"PackageIdentifier": "Spotify.Spotify"
},
{
"PackageIdentifier": "Obsidian.Obsidian"
},
{
"PackageIdentifier": "oschwartz10612.Poppler"
},
{
"PackageIdentifier": "twpayne.chezmoi"
},
{
"PackageIdentifier": "Microsoft.VisualStudioCode"
},
{
"PackageIdentifier": "Microsoft.PowerToys"
},
{
"PackageIdentifier": "CharlesMilette.TranslucentTB"
},
{
"PackageIdentifier": "Microsoft.WindowsTerminal"
},
{
"PackageIdentifier": "Tailscale.Tailscale"
},
{
"PackageIdentifier": "gerardog.gsudo"
},
{
"PackageIdentifier": "Zoom.Zoom"
},
{
"PackageIdentifier": "Amazon.Kindle"
},
{
"PackageIdentifier": "ImputNet.Helium"
},
{
"PackageIdentifier": "Spicetify.Spicetify"
},
{
"PackageIdentifier": "Anysphere.Cursor"
},
{
"PackageIdentifier": "tesseract-ocr.tesseract"
},
{
"PackageIdentifier": "TheDocumentFoundation.LibreOffice"
},
{
"PackageIdentifier": "ElementLabs.LMStudio"
},
{
"PackageIdentifier": "Microsoft.PowerShell"
},
{
"PackageIdentifier": "jdx.mise"
}
],
"SourceDetails": {
"Argument": "https://cdn.winget.microsoft.com/cache",
"Identifier": "Microsoft.Winget.Source_8wekyb3d8bbwe",
"Name": "winget",
"Type": "Microsoft.PreIndexed.Package"
}
},
{
"Packages": [
{
"PackageIdentifier": "9PFXXSHC64H3"
}
],
"SourceDetails": {
"Argument": "https://storeedgefd.dsx.mp.microsoft.com/v9.0",
"Identifier": "StoreEdgeFD",
"Name": "msstore",
"Type": "Microsoft.Rest"
}
}
],
"WinGetVersion": "1.12.350"
}
PS C:\Users\kkkar> winget import import-short.json
The packages found in this import have the following dependencies:
- Packages
Microsoft.VCRedist.2015+.x64
(1/14) Found Comet [Perplexity.Comet] Version 142.1.7444.29693
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://www.perplexity.ai/rest/browser/download?platform=win_x64&channel=stable
| Cancelling operation
PS C:\Users\kkkar> cat import-short.json
{
"$schema": "https://aka.ms/winget-packages.schema.2.0.json",
"CreationDate": "2025-12-09T16:46:47.094-00:00",
"Sources": [
{
"Packages": [
{
"PackageIdentifier": "Perplexity.Comet"
},
{
"PackageIdentifier": "DEVCOM.JetBrainsMonoNerdFont"
},
{
"PackageIdentifier": "Tailscale.Tailscale"
},
{
"PackageIdentifier": "gerardog.gsudo"
},
{
"PackageIdentifier": "Zoom.Zoom"
},
{
"PackageIdentifier": "Amazon.Kindle"
},
{
"PackageIdentifier": "ImputNet.Helium"
},
{
"PackageIdentifier": "Spicetify.Spicetify"
},
{
"PackageIdentifier": "Anysphere.Cursor"
},
{
"PackageIdentifier": "tesseract-ocr.tesseract"
},
{
"PackageIdentifier": "TheDocumentFoundation.LibreOffice"
},
{
"PackageIdentifier": "ElementLabs.LMStudio"
},
{
"PackageIdentifier": "Microsoft.PowerShell"
},
{
"PackageIdentifier": "jdx.mise"
}
],
"SourceDetails": {
"Argument": "https://cdn.winget.microsoft.com/cache",
"Identifier": "Microsoft.Winget.Source_8wekyb3d8bbwe",
"Name": "winget",
"Type": "Microsoft.PreIndexed.Package"
}
},
],
"WinGetVersion": "1.12.350"
}
Expected behavior
Winget installs all the packages mentioned in the file without any issues.
Actual behavior
Winget doesn't install some packages, like Perplexity.Comet or DEVCOM.JetBrainsMonoNerdFont
Environment
Windows Package Manager v1.12.350
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22621.4317
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.27.350.0
Winget Directories
--------------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOut…
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\setting…
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 DisabledMetadata
Metadata
Assignees
Labels
Command-ImportIssue related to WinGet ImportIssue related to WinGet ImportIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.