microsoft / microsoft/winget-pkgs
[Package Issue]: JetBrains.IntelliJIDEA.Ultimate
Nobody has claimed this yet.
- 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
Installation issue.
Brief description of your issue
winget tries to upgrade the package JetBrains.IntelliJIDEA.Ultimate 2023.1.4 with the same version any time you run upgrade.
Steps to reproduce
The initial installation of version 2023.1.4 runs successfully. This is what the "installed" list looks like after setup:
PS C:\Windows\System32> winget list --source winget
Name Id Version Available
----------------------------------------------------------------------------------------------------------------------------------------
IntelliJ IDEA 2023.1.4 JetBrains.IntelliJIDEA.Ultimate > 2023.1 2023.1.4
But when you run "winget upgrade" afterwards, the same version is found again as an upgrade. It is then tried to run the upgrade, which fails.
Actual behavior
winget tries to upgrade with the same package that is already installed. (This may be because the listed version is wrong)
The upgrade then fails, as the installer finds the existing installation, and exits the installation.
Expected behavior
winget should not try to upgrade the package with the same version already installed.
Environment
PS C:\Windows\System32> winget --info
Windows Package Manager v1.5.1572
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19045.3208
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.20.1572.0
Screenshots and Logs
n/a
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 by reproducing the issue with winget list --source winget and winget upgrade for JetBrains.IntelliJIDEA.Ultimate on the reported environment. Compare the installed and available versions, then inspect the package manifest associated with that ID. Done means winget no longer offers an upgrade when both versions are 2023.1.4.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100