canonical / ubuntu-cloud-docs

Public Docs for Ubuntu in the Clouds
19 stars 46 forks source link

Update install-azure-cli.rst #258

Closed YanisaHS closed 3 months ago

YanisaHS commented 4 months ago

Suggesting to change it to match what's on Microsoft's guide.

I got "E: Unable to locate package api-transport-https" from your instructions.

k-dimple commented 4 months ago

Hey @YanisaHS, thanks for trying out the instructions and the PR!

The order of the packages listed in an apt-get install command shouldn't usually matter. I just tried the command on my local machine and on a cloud VM, and it works fine. Did you happen to lose connectivity while running the command? Or maybe run the update command between your two trials (the one giving an error and the one from microsoft's guide)?

Anyway, there's no harm in changing the command to match the one in Microsoft's guide. It might help avoid such confusions for the user. @gjolly wdyt?

YanisaHS commented 4 months ago

Hey @k-dimple! I didn't think it should matter either, but I wasn't sure why it would error. I'll send you my terminal output. Maybe it was a connection issue or something else? Feel free to reject the PR if you want :smiley: I figured it'd be easier to send it this way (rather than an issue) if you decided to change it

k-dimple commented 3 months ago

Since there was no obvious reason for the error at your end, and it'll anyway be better to reduce the confusion and match Microsoft's guide, I am going to merge it. Thanks for bringing this up, @YanisaHS!