This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-16
Channels
- # announcements (2)
- # aws (2)
- # babashka (29)
- # beginners (69)
- # calva (6)
- # chlorine-clover (2)
- # cider (1)
- # cljs-dev (4)
- # clojure (44)
- # clojure-israel (1)
- # clojure-spec (3)
- # clojure-uk (31)
- # clojured (2)
- # clojurescript (6)
- # code-reviews (22)
- # core-typed (133)
- # cryogen (6)
- # cursive (7)
- # datomic (25)
- # emacs (19)
- # fulcro (69)
- # graalvm (1)
- # graphql (7)
- # lumo (1)
- # off-topic (92)
- # parinfer (2)
- # pedestal (6)
- # reagent (5)
- # remote-jobs (1)
- # shadow-cljs (11)
- # tools-deps (20)
- # tree-sitter (1)
- # vim (4)
- # vscode (6)
I’m having trouble getting Emacs to fetch packages. During startup, I get this:
Contacting host:
Failed to download 'gnu' archive.
Package refresh done
Failed to download 'melpa' archive.
When starting the Emacs the --debug-init
option, I get this:
Debugger entered--Lisp error: (file-error "make client process failed" "Permission denied" :name "" :buffer #<killed buffer> :host "" :service 443 :nowait nil :tls-parameters nil)
signal(file-error ("make client process failed" "Permission denied" :name "" :buffer #<killed buffer> :host "" :service 443 :nowait nil :tls-parameters nil))
package--download-one-archive(("gnu" . " ") "archive-contents" nil)
package--download-and-read-archives(nil)
package-refresh-contents()
(if (prelude-packages-installed-p) nil (message "%s" "Emacs Prelude is now refreshing its package database...") (package-refresh-contents) (message "%s" " done.") (prelude-require-packages prelude-packages))
prelude-install-packages()
eval-buffer(#<buffer *load*-376635> nil "/Users/tuomo.virolainen/.emacs.d/core/prelude-packages.el" nil t) ; Reading at buffer position 3589
load-with-code-conversion("/Users/tuomo.virolainen/.emacs.d/core/prelude-packages.el" "/Users/tuomo.virolainen/.emacs.d/core/prelude-packages.el" nil t)
require(prelude-packages)
eval-buffer(#<buffer *load*> nil "/Users/tuomo.virolainen/.emacs.d/init.el" nil t) ; Reading at buffer position 4655
load-with-code-conversion("/Users/tuomo.virolainen/.emacs.d/init.el" "/Users/tuomo.virolainen/.emacs.d/init.el" t t)
load("/Users/tuomo.virolainen/.emacs.d/init" t t)
#f(compiled-function () #<bytecode 0x400d1a6d>)()
command-line()
normal-top-level()
Any ideas where the issue might lie?are you able to connect to http://elpa.gnu.org using a web browser?
specifically using https://elpa.gnu.org ?
i hesitate to suggest using http over https, but does anything change if you use http instead of https for the urls for packages?
i take it that this is not a fresh installation or ugprade of emacs -- and that things worked not that long ago
This is a fresh installation on a new machine. But a strange thing is that I already managed to get it working once, but after running into other issues I did a reinstall and now there’s this. Now I’ve tried installing different versions from different sources and different settings packages (like Prelude and Spacemacs, and a fresh init.el too) but nothing seems to help.
long shot: saw this recently: https://emacs.stackexchange.com/a/33083
It seems that those install options are deprecated. But it might be related to my problem. I tried compiling Emacs from source, and the configure script gave the following error:
configure: error: The following required libraries were not found:
gnutls
Maybe some development libraries/packages are missing?
If you don't want to link with them give
--with-gnutls=no
as options to configure
hmm...i haven't used macos recently so i'm not sure what the recommendations are these days regarding emacs, but may be the following could help? https://emacsformacosx.com/
Thanks, but doesn’t work either 😞 But I tried installing something called emacs-plus and that seems to work!
@tvirolai there is an issue in Emacs 25 with certificates which maybe the cause. If you are not using Emacs 26.3 or higher, I suggest getting a newer version.