Update deb_install.sh to use /etc/apt/keyrings
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
## Issue
The apt-key command is [deprecated](https://itsfoss.com/apt-key-deprecated/) with Ubuntu 22.04 (except for deletes).
The `/usr/share/keyrings` directory is the recommended location for package signing keys now, rather than `/etc/apt/keyrings`.
The [deb_install.sh script](https://github.com/Azure/azure-cli/blob/dev/scripts/release/debian/deb_install.sh) used by [option 1](https://learn.microsoft.com/cli/azure/install-azure-cli-linux?pivots=apt#option-1-install-with-one-command) would benefit from changing to these newer standards. The [manual commands](https://learn.microsoft.com/cli/azure/install-azure-cli-linux?pivots=apt) are slightly better as they include the `signed-by` location, but again, should that location now be `/usr/share/keyring`?
Contributor guide
Assessment
This issue has not been assessed yet.