-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
I am trying to install Azure Cli by running this command, tried so many ways (Updated Python and Installed "libsodium" manually but nothing works.
Tried below commands:
• brew update && brew install azure-cli
• brew install libsodium
• mv ~/Downloads/libsodium-1.0.20.tar.gz $(brew --cache)/libsodium
• brew install libsodium --build-from-source
• brew doctor
• brew update
• brew upgrade
• az version
• brew update
• brew install azure-cli
• az version
• curl -sL https://aka.ms/install-azure-cli | bash
• curl -sL https://aka.ms/InstallAzureCLIDeb | bash
• brew update
• brew install azure-cli
- tar -xzf libsodium-1.0.20.tar.gz
- cd libsodium-1.0.20
- ./configure
- make
- make check
- sudo make install
brew install azure-cli
Error: azure-cli: Failed to download resource "libsodium"
Download failed: https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz
Related command
- tar -xzf libsodium-1.0.20.tar.gz
- cd libsodium-1.0.20
- ./configure
- make
- make check
- sudo make install
Errors
Download failed: https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz
Issue script & Debug output
==> Fetching dependencies for azure-cli: libsodium, libyaml, [email protected], libssh2, cmake, [email protected], lzip, expat, [email protected], z3, lz4, zstd, ninja, pcre2, swig, llvm and rust
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FromAPILoader): loading libsodium
==> Fetching libsodium
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/9e967ca98fb3f3bea864caacda83112f89e82c8f/Formula/lib/libsodium.rb
/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.22\ (Macintosh;\ Intel\ Mac\ OS\ X\ 11.7.10)\ curl/8.1.2 --header Accept-Language:\ en --retry 3 -V
/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.22\ (Macintosh;\ Intel\ Mac\ OS\ X\ 11.7.10)\ curl/8.1.2 --header Accept-Language:\ en --retry 3 --fail --location --silent --head https://raw.githubusercontent.com/Homebrew/homebrew-core/9e967ca98fb3f3bea864caacda83112f89e82c8f/Formula/lib/libsodium.rb
/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.22\ (Macintosh;\ Intel\ Mac\ OS\ X\ 11.7.10)\ curl/8.1.2 --header Accept-Language:\ en --retry 3 --fail --location --silent --head --request GET https://raw.githubusercontent.com/Homebrew/homebrew-core/9e967ca98fb3f3bea864caacda83112f89e82c8f/Formula/lib/libsodium.rb
Already downloaded: /Users/kondas/Library/Caches/Homebrew/downloads/532bba392e51460cd82e2ad2c6de37faa1ff8619adf9cd43b13e246ddc179220--libsodium.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FromPathLoader): loading /Users/kondas/Library/Caches/Homebrew/api-source/Homebrew/homebrew-core/9e967ca98fb3f3bea864caacda83112f89e82c8f/Formula/libsodium.rb
/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.22\ (Macintosh;\ Intel\ Mac\ OS\ X\ 11.7.10)\ curl/8.1.2 --header Accept-Language:\ en --retry 3 -V
/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.22\ (Macintosh;\ Intel\ Mac\ OS\ X\ 11.7.10)\ curl/8.1.2 --header Accept-Language:\ en --retry 3 --fail --location --silent --head https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz
==> Downloading https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz
/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.22\ (Macintosh;\ Intel\ Mac\ OS\ X\ 11.7.10)\ curl/8.1.2 --header Accept-Language:\ en --retry 3 --fail --location --silent --head https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz
/usr/bin/env /usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.4.22\ (Macintosh;\ Intel\ Mac\ OS\ X\ 11.7.10)\ curl/8.1.2 --header Accept-Language:\ en --fail --progress-bar --retry 3 --remote-time --output /Users/kondas/Library/Caches/Homebrew/downloads/42180c99fe7945bacc2cd79a0096df714ac3f4ca387735865a73493f8eeb150b--libsodium-1.0.20.tar.gz.incomplete --location https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz
curl: (35) LibreSSL/2.8.3: error:1400442E:SSL routines:CONNECT_CR_SRVR_HELLO:tlsv1 alert protocol version
Error: azure-cli: Failed to download resource "libsodium"
Download failed: https://download.libsodium.org/libsodium/releases/libsodium-1.0.20.tar.gz
Expected behavior
Azure CLI should be installed
Environment Summary
Sridhars-MBP:~ kondas$ az --version
-bash: az: command not found
Model Name: MacBook Pro
Model Identifier: MacBookPro11,1
Processor Name: Dual-Core Intel Core i7
Processor Speed: 3 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache (per Core): 256 KB
L3 Cache: 4 MB
Hyper-Threading Technology: Enabled
Memory: 16 GB
System Firmware Version: 478.0.0.0.0
SMC Version (system): 2.16f68
Additional context
No response