Debugger entered--Lisp error: (error "Location https//elpa.gnu.org/packages/ is not a url nor an absolute file name")
  signal(error ("Location https//elpa.gnu.org/packages/ is not a url nor an absolute file name"))
  package--with-response-buffer-1("https//elpa.gnu.org/packages/" #f(compiled-function () #<bytecode 0x15f5309650fab0c5>) :file "archive-contents" :async nil :error-func$
  package--download-one-archive(("elpa" . "https//elpa.gnu.org/packages/") "archive-contents" nil)
  call-interactively(package-refresh-contents record nil)
  command-execute(package-refresh-contents record)
  execute-extended-command(nil "package-refresh-contents" "package-re")
  funcall-interactively(execute-extended-command nil "package-refresh-contents" "package-re")
  call-interactively(execute-extended-command nil nil)
  • 2
    You need a ":" after https I guess
    – Rusi
    Commented Apr 23, 2022 at 0:50

1 Answer 1


Here is the answer. It was a typo on my part: https// should have been https://, which was pointed out by some wise people on reddit ...


  • 2
    This doesn't answer the question. This is a link-only answer.
    – Drew
    Commented Apr 23, 2022 at 3:40
  • Welcome to Emacs.SE! Please post the relevant information directly in your answer so that it is self-contained. Links can disappear and even become security hazards.
    – Dan
    Commented Apr 24, 2022 at 10:39
  • Thanks whoever edited the answer and put the explanation above the link. I think @Fran Commented Apr 26, 2022 at 6:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.