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]: Amazon.SAM-CLI #127319

Closed
2 tasks done
sehra opened this issue Nov 19, 2023 · 5 comments
Closed
2 tasks done

[Package Issue]: Amazon.SAM-CLI #127319

sehra opened this issue Nov 19, 2023 · 5 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Milestone

Comments

@sehra
Copy link

sehra commented Nov 19, 2023

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

Always downloads and attempts to install latest version. Likely that the v at start of v1.98.0 is breaking.

Steps to reproduce

  1. winget install Amazon.SAM-CLI
  2. winget upgrade

Actual behavior

Installed version always reported as "> v1.98.0", attempting to upgrade to same version.

Expected behavior

Installed version should be recognized.

Environment

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

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

No response

@sehra sehra added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Nov 19, 2023
@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 Nov 19, 2023
@stephengillie stephengillie removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Nov 20, 2023
@stephengillie
Copy link
Collaborator

@snebjorn
Copy link

snebjorn commented Feb 9, 2024

The Amazon.SAM-CLI package is broken and have been for a while now.

$ winget upgrade
Name                                             Id                            Version          Available        Source
-----------------------------------------------------------------------------------------------------------------------
AWS SAM Command Line Interface                   Amazon.SAM-CLI                > v1.98.0        1.105.0          winget

$ sam --version
SAM CLI, version 1.108.0

As of writing the actual available version is 1.109.0. Not sure if the package authors abandoned it.

Using a version range (> v1.98.0) as the installed version is rather pointless information. It conveys little more information than a "Is it installed: yes / no" flag.

Bottom line:
Amazon.SAM-CLI is unusable at the moment. Please send help 🛩️

@mdanish-kh
Copy link
Contributor

@snebjorn @sehra This should be resolved now through the above linked PRs? Could you kindly confirm?

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback This needs a response from the author. label Feb 9, 2024
@snebjorn
Copy link

snebjorn commented Feb 12, 2024

@mdanish-kh it appears to work now. Thank you! ❤️

I updated manually to 1.109.0 so can't tell if it 100% works. But winget upgrade doesn't list Amazon.SAM-CLI so I think it works.

@sehra
Copy link
Author

sehra commented Feb 12, 2024

@snebjorn @sehra This should be resolved now through the above linked PRs? Could you kindly confirm?

Working as expected now.

@sehra sehra closed this as completed Feb 12, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention This work item needs to be reviewed by a member of the core team. and removed Needs-Author-Feedback This needs a response from the author. Needs-Attention This work item needs to be reviewed by a member of the core team. labels Feb 12, 2024
@denelon denelon added this to the 1.7 Packages milestone Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

5 participants