Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt update yields GPG error because Github CLI's apt key expired #80

Open
2 tasks
hello-binit opened this issue Sep 19, 2024 · 0 comments
Open
2 tasks

Comments

@hello-binit
Copy link
Contributor

hello-binit commented Sep 19, 2024

See cli/cli#9569 for details / the fix. The errors will look like:

$ sudo apt update
[...]
Err:3 https://cli.github.com/packages stable InRelease                                                                               
  The following signatures were invalid: EXPKEYSIG 23F3D4EA75716059 GitHub CLI <[email protected]>
Fetched 264 kB in 2s (129 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://cli.github.com/packages stable InRelease: The following signatures were invalid: EXPKEYSIG 23F3D4EA75716059 GitHub CLI <[email protected]>
W: Failed to fetch https://cli.github.com/packages/dists/stable/InRelease  The following signatures were invalid: EXPKEYSIG 23F3D4EA75716059 GitHub CLI <[email protected]>
W: Some index files failed to download. They have been ignored, or old ones used instead.

TODO:

  • Document the error / reference the fix above in the troubleshooting section.
  • Post on the forum to let users know. Here's the forum post from last time this happened (OpenRobotics' ROS Apt key had expired).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@hello-binit and others