https://docs.microsoft.com/en-us/cli/az ... pivots=apt
But since then, my attempt to upgrade is hitting this error.
Code: Select all
The repository 'https://packages.microsoft.com/repos/azure-cli ulyana Release' does not have a Release file
Code: Select all
The repository 'https://packages.microsoft.com/repos/azure-cli ulyana Release' does not have a Release file
Code: Select all
E: The repository 'https://packages.microsoft.com/repos/azure-cli ulyana Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.skype.com/deb stable InRelease: The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <se-um@microsoft.com>
Code: Select all
curl https://repo.skype.com/data/SKYPE-GPG-KEY | sudo apt-key add -
Code: Select all
root@clevo-workstation:~# apt-get update
Hit:1 https://nvidia.github.io/libnvidia-container/stable/ubuntu18.04/amd64 InRelease
Get:2 https://nvidia.github.io/nvidia-container-runtime/stable/ubuntu18.04/amd64 InRelease [1,481 B]
Hit:3 https://nvidia.github.io/nvidia-docker/ubuntu18.04/amd64 InRelease
Hit:4 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 https://repo.skype.com/deb stable InRelease
Ign:6 https://packages.microsoft.com/repos/azure-cli ulyana InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:8 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease
Hit:9 https://packages.microsoft.com/repos/ms-teams stable InRelease
Get:10 https://desktop-download.mendeley.com/download/apt stable InRelease [2,456 B]
Err:11 https://packages.microsoft.com/repos/azure-cli ulyana Release
404 Not Found [IP: 40.65.182.21 443]
Hit:12 https://download.docker.com/linux/ubuntu bionic InRelease
Ign:13 http://packages.linuxmint.com ulyana InRelease
Get:14 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Ign:15 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 InRelease
Hit:16 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 Release
Hit:17 http://ppa.launchpad.net/remmina-ppa-team/remmina-next/ubuntu focal InRelease
Hit:18 http://archive.canonical.com/ubuntu focal InRelease
Get:19 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:20 http://packages.linuxmint.com ulyana Release
Get:23 http://archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Hit:22 https://packagecloud.io/AtomEditor/atom/any any InRelease
Reading package lists... Done
E: The repository 'https://packages.microsoft.com/repos/azure-cli ulyana Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
The repository 'https://packages.microsoft.com/repos/azure-cli ulyana Release' does not have a Release file
https://packages.microsoft.com/repos/azure-cli focal
Thanks for the simple solution. Somehow I used to think Mint and Ubuntu are same under the Cinnamon GUI layer. But clearly I was wrong.
To be precise, it is the first command:Add the Azure CLI software repository:Code: Select all
AZ_REPO=$(lsb_release -cs) echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | sudo tee /etc/apt/sources.list.d/azure-cli.list
AZ_REPO=$(lsb_release -cs)
, because lsb_release -cs
returns your Mint nickname ulyana, though actually you need the Ubuntu nickname focal.AZ_REPO=$(lsb_release -cs)
to be AZ_REPO=focal
and carry on with the next command.Yes, indeed it is. The same issue will be found in many third party instructions on how to add their repo to your sources list files. The commands are tested against Ubuntu, where they work without issues. But no-one takes into consideration that there are distros like Mint, which are based on Ubuntu, where the lsb_release command may return the wrong nickname.Almost nobody gives explicit instructions for Mint. Is this an issue?