-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Support active Debian/Ubuntu distributions from Wheezy up #3720
Comments
@EricJizbaMSFT what's the version of the azure-cli did you get? |
|
Thank you @EricJizbaMSFT, I'm looking into this. |
On my Ubuntu 14.04 VM where I ran the interactive install script (aka where the issue did not repro), I noticed the python version looks different. Not sure if that matters:
|
I'm on a Mint 18, and it works. I'll provision a Ubuntu 14 VM and give it a try. |
I can repro on Ubuntu 14.04 |
It seems to be an issue specific to Ubuntu 14.04. I'm rebuilding the package on Ubuntu 14.04. |
I just republish a deb package to our repository. It will take a few minutes to take effect. |
@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 |
Yep working for me now - thank you! |
I have the exact same issue on debian stretch.
|
The same issue with Debian Stretch
|
@qwazer and @benalbrecht thanks for reporting. Debian Stretch is very new, we haven't tested on it yet. We have an issue tracking this #3863. Please follow that issue. |
I am on stretch as well and can't seem to get it to work. I get the same error:
|
I get this error too on the official Jenkins Docker image. Azure CLI installed with apt-get described in the docs.
|
same error with PureOS |
same error on PureOS |
Can confirm that this is still a problem when using a custom Docker image based on Ubuntu 14.04. Fails when installed with apt-get. Succeeds when installed via curl. |
Related #4360 |
If anyone has steps to reproduce this, it would be useful:
I tried the following and was able to log in fine. |
i'm having this issue with latest ubuntu shell for windows. basically i can't set login:
|
@derekbekoe Is |
@sptramer We already document it for the apt-get install. I'm not aware of it being required elsewhere. |
You're correct,it's just that the order is different. I'm not sure that it matters in this case, depending on how apt performs key transfer. |
looks like the apt-get install version comes with python3 the note on the apt-get install page,
also looks like this process hangs in the background using 100% CPU of 1 core
|
For all running into issues please provide the following for us to investigate:
|
I am having the issue in Debian (Azure Image!), yes. Here is the info you asked for: $ az --version acr (2.0.18) Python location '/opt/az/bin/python3' Python (Linux) 3.6.1 (default, Jan 5 2018, 21:18:08) Legal docs and information: aka.ms/AzureCliLegal $ cat /etc/issue $ openssl version -v |
Both 2.0.24 and 2.0.25 are failing on Debian 4.9.65-3+deb9u2 (2018-01-04) x86_64. azure-cli (2.0.24):
azure-cli (2.0.25):
|
@eric-wu please provide the output of. |
Notes from a working version (Ubuntu 14.04 Docker):
Ubuntu:14.04 Docker image
Install Method
$ apt-get update
$ apt-get install apt-transport-https
$ echo "deb https://packages.microsoft.com/repos/azure-cli/ wheezy main" | tee /etc/apt/sources.list.d/azure-cli.list
$ apt-key adv --keyserver packages.microsoft.com --recv-keys 52E16F86FEE04B979B07E28DB02C46DF417A0893
$ apt-get update
$ apt-get install azure-cli
AZ Versionroot@eb3bbc8830bb:/# az --version azure-cli (2.0.25) acr (2.0.19) Python location '/opt/az/bin/python3' Python (Linux) 3.6.1 (default, Jan 12 2018, 17:31:35) Legal docs and information: aka.ms/AzureCliLegal Open SSL Versionroot@eb3bbc8830bb:/# openssl version -v OpenSSL 1.0.1f 6 Jan 2014 Release Inforoot@eb3bbc8830bb:/# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty Python Versionroot@eb3bbc8830bb:~# /opt/az/bin/python3 --version Python 3.6.1 |
For those using azure-cli in Debian, a working alternative is to
|
I recommend that the Microsoft team try the following: (1) Create a Debian VM on Azure (using the public image) This should repro. (3) Setup gated checkin so that this doesn't happen again |
Here is a temporary .deb for Debian stretch:
For the next CLI release, we plan to publish for Debian 7 (wheezy), 8 (jessie), 9 (stretch) and Ubuntu trusty, xenial and artful. |
Having same issue on Mac OS X. azure-cli (2.0.23) Installed using brew. |
@iremmats If you |
It works again by itself. Have not installed anything.
…On Tue, Jan 30, 2018 at 8:55 PM, Stephen Tramer ***@***.***> wrote:
@iremmats <https://github.com/iremmats> If you brew install openssl do
you see the same problem? This should install openssl 1.0.2.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3720 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AERQdoUtR3H5AU9swtWWGYJ17UBeDBqFks5tP3PMgaJpZM4N6NR2>
.
|
Cool so when will the fix go out? |
The fix is out.
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 |
Thanks! |
I use
All of which seems to be very unsupported. |
BTW, I did start using the snap and as soon as I did it was outdated in the |
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:For reference this is how we install the 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.The text was updated successfully, but these errors were encountered: