[Packaging] Add Ubuntu 21.04 Hirsute Hippo support #19367
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fix #19313, #18703, #18493, #19235, #18714, #18420, #18356, #17713, #16875, #18542
Old Azure CLI
hirsute
from Ubuntu universe repo is installedIf a user manually add Azure CLI software repository from Microsoft Linux repo following https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt#option-2-step-by-step-installation-instructions,
/etc/apt/sources.list.d/azure-cli.list
will containAs https://packages.microsoft.com/repos/azure-cli/dists/ doesn't have
hirsure
,apt update
will failThen when
apt install azure-cli
is run, Azure CLI from Ubuntu universe repo (https://packages.ubuntu.com/hirsute/azure-cli) will be installed.⚠ The Azure CLI from Ubuntu universe repo is not maintained by Microsoft.
This Azure CLI from Ubuntu universe repo is very old and contains bugs.
Official Azure CLI
focal
from Microsoft Linux repo doesn't work onhirsute
Besides, even if the user installs with https://aka.ms/InstallAzureCLIDeb which automatically falls back to
focal
(#19313 (comment)), thefocal
package doesn't work correctly onhirsute
(#18703).Change
This PR builds a
deb
packaging forhirstute
.