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

winget list incorrect version after winget install #142724

Closed
cthlo opened this issue Mar 6, 2024 · 4 comments · Fixed by #142720
Closed

winget list incorrect version after winget install #142724

cthlo opened this issue Mar 6, 2024 · 4 comments · Fixed by #142720

Comments

@cthlo
Copy link
Member

cthlo commented Mar 6, 2024

Brief description of your issue

After installing Microsoft.ServiceFabricSDK version 7.0.1949, the version shown by winget list is 7.0.1949.9590.

Not exactly sure if it's a package issue or an issue with WinGet.

May be related:
When I winget configure with the following resource, it always thinks the package is not installed (even after I manually winget install):

# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
properties:
  resources:
    - resource: Microsoft.WinGet.DSC/WinGetPackage
      directives:
        description: Install Service Fabric SDK
        allowPrerelease: true
      settings:
        id: Microsoft.ServiceFabricSDK
        source: winget
        version: "7.0.1949"
        installMode: Default
  configurationVersion: "0.2.0"

Steps to reproduce

winget install -e --id Microsoft.ServiceFabricSDK --version 7.0.1949 --accept-package-agreements

Expected behavior

The version should be 7.0.1949.

Actual behavior

> winget list -e --id Microsoft.ServiceFabricSDK
Name                               Id                         Version       Source
-----------------------------------------------------------------------------------
Microsoft Azure Service Fabric SDK Microsoft.ServiceFabricSDK 7.0.1949.9590 winget

Environment

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

Windows: Windows.Desktop v10.0.22631.3155
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10582.0
@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 Mar 6, 2024

This comment was marked as off-topic.

@stephengillie
Copy link
Collaborator

@denelon denelon transferred this issue from microsoft/winget-cli Mar 6, 2024
Copy link
Contributor

github-actions bot commented Mar 6, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@cthlo cthlo closed this as completed Mar 6, 2024
@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 Mar 6, 2024
@cthlo
Copy link
Member Author

cthlo commented Mar 6, 2024

@cthlo cthlo closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants