79405990

Date: 2025-02-02 02:45:16
Score: 2.5
Natty:
Report link

I recently had this issue and want to help people who may have similar issues in the future. I tried to use gnu-elpa-keyring-update, but it also failed because it pointed to an expired URL. To fix this,

  1. Go to the package website: https://elpa.gnu.org/packages/gnu-elpa-keyring-update.html, download the latest .tar file.

  2. Run tar -xvf gnu-elpa-keyring-update-2022.12.1.tar, or whatever the latest filename version is (this was the latest as of writing this answer) in the terminal where the current directory is where the file is located.

  3. Now that the files are extracted from the .tar, you'll want the update.el file. To load it in emacs use M-x load-file, navigate the the update.el file and hit enter.

  4. Now, with it pointing to the correct URL, running package-refresh-contents should work with no errors (or at least not the error from this question).

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have similar issue
  • Low reputation (1):
Posted by: Scott Hootman-Ng