Azure / Azure/azure-cli

[Feature Request] Support `apt` installation on Kali Linux

Open
#19,369 1 comment 1 reaction 1 assignee Claimed by @jiasli View on GitHub
feature-request Packaging/Debian
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

[Kali Linux](https://hub.docker.com/r/kalilinux/kali) uses `apt` as package manager, but it doesn't use Debian or Ubuntu repo.

```
# cat /etc/os-release
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2021.2"
VERSION_ID="2021.2"
VERSION_CODENAME="kali-rolling"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"

# lsb_release -cs
kali-rolling

# lsb_release -is
Kali
```

The installation script https://aka.ms/InstallAzureCLIDeb doesn't work with Kali Linux:

https://github.com/Azure/azure-cli/blob/1fec5c4e721d2313e91c15a5ba542025759131d6/scripts/release/debian/deb_install.sh#L57-L71

When `apt install azure-cli` is run, it installs from Kali repo.

```
# apt show azure-cli
Package: azure-cli
Version: 2.18.0-2
Priority: optional
Section: python
Maintainer: Debian Python Team
Installed-Size: 15.4 kB
Depends: python3:any, python3-azure-cli (>= 2.18.0-2)
Homepage: https://github.com/Azure/azure-cli
Download-Size: 4596 B
APT-Sources: http://http.kali.org/kali kali-last-snapshot/main amd64 Packages
Description: Azure Command-Line Interface (CLI)
The Azure command-line interface (CLI) is Microsoft's cross-platform
command-line experience for managing Azure resources. The Azure CLI is designed
to be easy to learn and get started with, but powerful enough to be a great
tool for building custom automation to use Azure resources.
.
This package provides the az executable and bash completion.
```

This Azure CLI is not maintained by Microsoft and has various bugs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.