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

Customer feedback | Linux install script | lsb_release doesn't return the correct base distribution version #29473

Open
dbradish-microsoft opened this issue Jul 25, 2024 · 3 comments
Assignees
Labels
Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Similar-Issue
Milestone

Comments

@dbradish-microsoft
Copy link
Contributor

dbradish-microsoft commented Jul 25, 2024

Describe the bug

This customer feedback is being copied from Learn Customer Feedback. Please associate this GitHub issue with the azDO work item or current PR that is updating our Linux install script

Type of issue
Outdated install script

Article link: https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=script

Related comments:
azure-dcos-cli PR 4355

Customer verbatims:

Date Locale Verbatim
2024-06-23 en-us The "lsb_release doesn't return the correct base distribution version" and "No package for release" troubleshooting steps specify an incorrect environment variable. In the scripts on this page and at https://aka.ms/InstallAzureCLIDeb, the environment variable is AZ_DIST, not AZ_REPO.
2024-05-14 en-us $(lsb_release -cs) doesn't give you the currently you the currently installed Azure CLI distribution. Tested in an Ubuntu container.
2023-08-04 pt-br O commando abaixoAZ_REPO=$(lsb_release -cs) em linux Jammy wsl, retorna jammy : command not found

Related command

Linux install script

Errors

n/a

Issue script & Debug output

n/a

Expected behavior

n/a

Environment Summary

n/a

Additional context

No response

@dbradish-microsoft dbradish-microsoft added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Jul 25, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Jul 25, 2024

Thank you for opening this issue, we will look into it.

Copy link

Here are some similar issues that might help you. Please check if they can solve your problem.

@yonzhan yonzhan added this to the Backlog milestone Jul 25, 2024
@yonzhan yonzhan added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that and removed bug This issue requires a change to an existing behavior in the product in order to be resolved. labels Jul 25, 2024
@bebound
Copy link
Contributor

bebound commented Jul 26, 2024

It seems to be a user fault. Both the install script and the install guide are functional.

I don't see a reason why lsb_release -cs fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Similar-Issue
Projects
None yet
Development

No branches or pull requests

3 participants