question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support active Debian/Ubuntu distributions from Wheezy up

See original GitHub issue

We install the azure cli on an Ubuntu 14.04 VM using apt-get in some of our automation scenarios and we started getting a new error yesterday. After running az login, we see this:

Please ensure you have network connection. Error detail: Can’t connect to HTTPS URL because the SSL module is not available.

For reference this is how we install the cli:

sudo apt-get update && sudo apt-get install -y libssl-dev libffi-dev python-dev
echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/azure-cli/ wheezy main" | sudo tee /etc/apt/sources.list.d/azure-cli.list
sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893
sudo apt-get install -y apt-transport-https
sudo apt-get -y update && sudo apt-get install -y azure-cli

Like I said, we do this in automation (aka it’s a clean VM every time) and we haven’t changed anything about how we install the CLI. I tried interactively installing with the https://aka.ms/InstallAzureCli command and did not reproduce this error.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:50 (23 by maintainers)

github_iconTop GitHub Comments

2reactions
derekbekoecommented, Feb 5, 2018

The fix is out. We have .debs for Ubuntu: trusty, xenial, artful & Debian: wheezy, jessie, stretch.

export AZ_REPO=$(lsb_release -cs)
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | sudo tee /etc/apt/sources.list.d/azure-cli.list

Then follow the rest of the instructions at https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-apt?view=azure-cli-latest#install

2reactions
troydaicommented, Jun 14, 2017

@EricJizbaMSFT I republished the package and tested on Ubuntu 14.04. It’s working now. Please make sure you clean the apt-get cache before reinstall the azure-cli. Thank you for reporting the issue and sorry for the inconvenience.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Releases - Ubuntu Wiki
Ubuntu 22.10. Kinetic Kudu · Release Notes · October 20, 2022. July 2023 ; Ubuntu 22.04.1 LTS. Jammy Jellyfish · Release Notes ·...
Read more >
Debian -- Distribution Archives
If you need to access one of the old distributions of Debian, you can find them at the Debian Archives, http://archive.debian.org/debian/.
Read more >
How long are Debian stable releases supported? like Debian ...
The security team tries to support a stable distribution for about one year after the next stable distribution has been released, except when ......
Read more >
How To Setup a Firewall with UFW on an Ubuntu and Debian ...
In this tutorial, you'll set up a firewall using UFW to secure an Ubuntu or Debian cloud server. You'll also learn how to...
Read more >
Debian-based distribution - DistroWatch.com
Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support. The Ubuntu community is built on the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found