Describe the bug
Trying to install Azure CLI through a github action workflow/pipeline on a linux runner. Yesterday the install command was working as intended but now we are getting an error indicating the GPG signature used is invalid. Any assistance/ guidance is appreciated.
Related command
Run curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Errors
Hit:1 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease
Get:4 https://cli.github.com/packages stable InRelease [3917 B]
Hit:5 https://download.docker.com/linux/ubuntu focal InRelease
Hit:6 https://deb.nodesource.com/node_16.x focal InRelease
Hit:7 https://packages.microsoft.com/repos/azure-cli focal InRelease
Hit:8 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease
Hit:9 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:10 https://packages.cloud.google.com/apt cloud-sdk InRelease
Err:4 https://cli.github.com/packages stable InRelease
The following signatures were invalid: EXPKEYSIG 23F3D4EA75716059 GitHub CLI opensource+cli@github.com
Reading package lists...
W: GPG error: https://cli.github.com/packages stable InRelease: The following signatures were invalid: EXPKEYSIG 23F3D4EA75716059 GitHub CLI opensource+cli@github.com
E: The repository 'https://cli.github.com/packages stable InRelease' is not signed.
Issue script & Debug output
Issue with installing Azure CLI
Expected behavior
Azure CLI should get installed with no errors
Environment Summary
N/A
Additional context
No response
Describe the bug
Trying to install Azure CLI through a github action workflow/pipeline on a linux runner. Yesterday the install command was working as intended but now we are getting an error indicating the GPG signature used is invalid. Any assistance/ guidance is appreciated.
Related command
Run curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
Errors
Hit:1 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu focal-backports InRelease
Get:4 https://cli.github.com/packages stable InRelease [3917 B]
Hit:5 https://download.docker.com/linux/ubuntu focal InRelease
Hit:6 https://deb.nodesource.com/node_16.x focal InRelease
Hit:7 https://packages.microsoft.com/repos/azure-cli focal InRelease
Hit:8 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease
Hit:9 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:10 https://packages.cloud.google.com/apt cloud-sdk InRelease
Err:4 https://cli.github.com/packages stable InRelease
The following signatures were invalid: EXPKEYSIG 23F3D4EA75716059 GitHub CLI opensource+cli@github.com
Reading package lists...
W: GPG error: https://cli.github.com/packages stable InRelease: The following signatures were invalid: EXPKEYSIG 23F3D4EA75716059 GitHub CLI opensource+cli@github.com
E: The repository 'https://cli.github.com/packages stable InRelease' is not signed.
Issue script & Debug output
Issue with installing Azure CLI
Expected behavior
Azure CLI should get installed with no errors
Environment Summary
N/A
Additional context
No response