Skip to content

downgrade azure-cli version failed #24719

Description

@MayXuQQ

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

dnf list --showduplicates azure-cli
az version
Describe the bug

after degraded , check with az version still is 2.42.0

To Reproduce

  1. dnf list --showduplicates azure-cli
    MongoDB Repository 1.3 kB/s | 391 B 00:00
    Errors during downloading metadata for repository 'mongodb-org-4.4':
  • Status code: 404 for https://repo.mongodb.org/yum/redhat/35/mongodb-org/4.4/x86_64/repodata/repomd.xml (IP: 18.160.18.87)
    Error: Failed to download metadata for repo 'mongodb-org-4.4': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    MongoDB Repository 1.3 kB/s | 391 B 00:00
    Errors during downloading metadata for repository 'mongodb-org-6.0':
  • Status code: 404 for https://repo.mongodb.org/yum/redhat/35/mongodb-org/6.0/x86_64/repodata/repomd.xml (IP: 18.160.18.28)
    Error: Failed to download metadata for repo 'mongodb-org-6.0': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    Ignoring repositories: mongodb-org-4.4, mongodb-org-6.0
    Last metadata expiration check: 0:27:09 ago on Wed 23 Nov 2022 07:55:16 AM UTC.
    Installed Packages
    azure-cli.x86_64 2.34.0-1.el7 azure-cli
    Available Packages
    ......
  1. $ sudo dnf install azure-cli-2.34.0-1.el7
    MongoDB Repository 1.1 kB/s | 391 B 00:00
    Errors during downloading metadata for repository 'mongodb-org-4.4':
  • Status code: 404 for https://repo.mongodb.org/yum/redhat/35/mongodb-org/4.4/x86_64/repodata/repomd.xml (IP: 18.160.18.87)
    Error: Failed to download metadata for repo 'mongodb-org-4.4': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    MongoDB Repository 1.3 kB/s | 391 B 00:00
    Errors during downloading metadata for repository 'mongodb-org-6.0':
  • Status code: 404 for https://repo.mongodb.org/yum/redhat/35/mongodb-org/6.0/x86_64/repodata/repomd.xml (IP: 18.160.18.61)
    Error: Failed to download metadata for repo 'mongodb-org-6.0': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
    Ignoring repositories: mongodb-org-4.4, mongodb-org-6.0
    Last metadata expiration check: 0:38:09 ago on Wed 23 Nov 2022 07:57:27 AM UTC.
    Package azure-cli-2.34.0-1.el7.x86_64 is already installed.
    Dependencies resolved.
    Nothing to do.
  1. az version
    {
    "azure-cli": "2.42.0",
    "azure-cli-core": "2.42.0",
    "azure-cli-telemetry": "1.0.8",
    "extensions": {}
    }

Expected behavior

$ az version
{
"azure-cli": "2.34.1",
"azure-cli-core": "2.34.1",
"azure-cli-telemetry": "1.0.6",
"extensions": {}
}

Environment summary

$ uname -a
Linux preserve-maxu1 5.15.16-200.fc35.x86_64 #1 SMP Thu Jan 20 15:38:18 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Additional context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamInstallationOKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.customer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions