Describe the issue
Start with a brief 1 or 2 sentence summary of issue.
I have tried to install doom multiple times and I get the same error after reinstalling emacs, removing all related files etc.
Envvar successfully generated
Installing plugins
Looking for packages to install...
123 packages will be installed:
+ ace-link (elpa)
+ ace-window (elpa)
+ all-the-icons (elpa)
+ amx (elpa)
+ anzu (elpa)
+ auto-yasnippet (elpa)
+ avy (elpa)
+ better-jumper (elpa)
+ buttercup (elpa)
+ centered-window (quelpa)
+ command-log-mode (elpa)
+ company (elpa)
+ company-dict (elpa)
+ company-prescient (elpa)
+ company-shell (elpa)
+ counsel (elpa)
+ counsel-dash (elpa)
+ counsel-projectile (elpa)
+ csv-mode (elpa)
+ dash-docs (elpa)
+ dhall-mode (elpa)
+ dired-k (elpa)
+ dired-rsync (elpa)
+ diredfl (elpa)
+ doom-modeline (elpa)
+ doom-snippets (quelpa)
+ doom-themes (elpa)
+ dotenv-mode (elpa)
+ dtrt-indent (elpa)
+ dumb-jump (elpa)
+ elisp-def (elpa)
+ elisp-demos (elpa)
+ esup (elpa)
+ evil (elpa)
+ evil-anzu (elpa)
+ evil-args (elpa)
+ evil-collection (elpa)
+ evil-commentary (elpa)
+ evil-easymotion (elpa)
+ evil-embrace (elpa)
+ evil-escape (elpa)
+ evil-exchange (elpa)
+ evil-goggles (elpa)
+ evil-indent-plus (elpa)
+ evil-magit (elpa)
+ evil-mc (elpa)
+ evil-multiedit (elpa)
+ evil-numbers (quelpa)
+ evil-org (elpa)
+ evil-snipe (elpa)
+ evil-surround (elpa)
+ evil-textobj-anyblock (elpa)
+ evil-vimish-fold (elpa)
+ evil-visualstar (elpa)
+ exato (elpa)
+ flycheck (elpa)
+ flycheck-cask (elpa)
+ flycheck-popup-tip (elpa)
+ forge (elpa)
+ general (elpa)
+ git-gutter-fringe (elpa)
+ git-link (elpa)
+ git-timemachine (elpa)
+ gitconfig-mode (elpa)
+ gitignore-mode (elpa)
+ gnu-elpa-keyring-update (elpa)
+ graphql-mode (elpa)
+ helpful (elpa)
+ hide-mode-line (elpa)
+ highlight-numbers (elpa)
+ highlight-quoted (elpa)
+ hl-todo (elpa)
+ htmlize (elpa)
+ hydra (elpa)
+ ivy (elpa)
+ ivy-hydra (elpa)
+ ivy-rich (elpa)
+ ivy-xref (elpa)
+ json-mode (elpa)
+ macrostep (elpa)
+ magit (elpa)
+ magit-gitflow (elpa)
+ magit-todos (elpa)
+ markdown-mode (elpa)
+ markdown-toc (elpa)
+ nav-flash (elpa)
+ ns-auto-titlebar (elpa)
+ ob-async (elpa)
+ ob-ipython (elpa)
+ org-bullets (quelpa)
+ org-download (elpa)
+ org-plus-contrib (elpa)
+ org-tree-slide (elpa)
+ org-yt (quelpa)
+ osx-clipboard (elpa)
+ overseer (elpa)
+ ox-clip (elpa)
+ ox-pandoc (elpa)
+ ox-reveal (elpa)
+ pcre2el (elpa)
+ persp-mode (elpa)
+ projectile (elpa)
+ protobuf-mode (elpa)
+ quickrun (elpa)
+ rainbow-delimiters (elpa)
+ restart-emacs (elpa)
+ rotate-text (quelpa)
+ smartparens (elpa)
+ solaire-mode (elpa)
+ swiper (elpa)
+ toc-org (elpa)
+ toml-mode (elpa)
+ treemacs (elpa)
+ treemacs-evil (elpa)
+ treemacs-magit (elpa)
+ treemacs-projectile (elpa)
+ undo-tree (elpa)
+ vi-tilde-fringe (elpa)
+ wgrep (elpa)
+ which-key (elpa)
+ ws-butler (elpa)
+ yaml-mode (elpa)
+ yasnippet (elpa)
Proceed? (y or n) y
Refreshing package archives
Contacting host: elpa.gnu.org:443
Failed to download βgnuβ archive.
Contacting host: melpa.org:443
Contacting host: orgmode.org:443
Package refresh done
Installing dotenv-mode
β DONE
Installing osx-clipboard
β DONE
Installing ns-auto-titlebar
β DONE
Installing all-the-icons
β DONE
Installing hide-mode-line
β DONE
Installing highlight-numbers
β DONE
Installing rainbow-delimiters
β DONE
Installing restart-emacs
β DONE
Installing better-jumper
β DONE
Installing command-log-mode
β DONE
Installing dtrt-indent
β DONE
Installing helpful
β DONE
Installing pcre2el
β DONE
Installing smartparens
β DONE
Installing undo-tree
FATAL ERROR: (error Package βundo-tree-β is unavailable)
Run again with the -d flag for details
Installing ws-butler
β DONE
Installing projectile
β DONE
Installing general
β DONE
Installing which-key
β DONE
Installing hydra
β DONE
Installing gnu-elpa-keyring-update
FATAL ERROR: (error Package βgnu-elpa-keyring-update-β is unavailable)
Run again with the -d flag for details
Installing esup
β DONE
Installing buttercup
β DONE
Installing company
β DONE
Installing company-dict
β DONE
Installing company-prescient
β DONE
Installing amx
β DONE
Installing ivy
β DONE
Installing counsel
β DONE
Installing counsel-projectile
β DONE
Installing swiper
β ALREADY INSTALLED
Installing ivy-hydra
β DONE
Installing ivy-rich
β DONE
Installing wgrep
β DONE
Installing doom-themes
β DONE
Installing solaire-mode
β DONE
Installing hl-todo
β DONE
Installing doom-modeline
β DONE
Installing anzu
β DONE
Installing evil-anzu
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing nav-flash
β DONE
Installing evil-goggles
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing treemacs
β DONE
Installing treemacs-evil
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing treemacs-projectile
β DONE
Installing treemacs-magit
Loading async...
β DONE
Installing git-gutter-fringe
β DONE
Installing vi-tilde-fringe
β DONE
Installing ace-window
β ALREADY INSTALLED
Installing persp-mode
β DONE
Installing evil
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing evil-args
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing evil-commentary
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing evil-easymotion
β DONE
Installing evil-embrace
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing evil-escape
β DONE
Installing evil-exchange
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing evil-indent-plus
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing evil-numbers
β DONE
Installing evil-textobj-anyblock
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing evil-snipe
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing evil-surround
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing evil-visualstar
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing exato
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing evil-collection
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing yasnippet
β DONE
Installing evil-vimish-fold
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing evil-multiedit
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing evil-mc
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing rotate-text
β DONE
Installing auto-yasnippet
β DONE
Installing doom-snippets
β DONE
Installing diredfl
β DONE
Installing dired-k
β DONE
Installing dired-rsync
β DONE
Installing git-link
β DONE
Installing git-timemachine
β DONE
Installing gitconfig-mode
β DONE
Installing gitignore-mode
β DONE
Installing quickrun
β DONE
Installing flycheck
β DONE
Installing flycheck-popup-tip
Loading async...
β DONE
Installing dumb-jump
β DONE
Installing ivy-xref
β DONE
Installing dash-docs
β DONE
Installing counsel-dash
β DONE
Installing magit
β ALREADY INSTALLED
Installing forge
β DONE
Installing magit-gitflow
β DONE
Installing magit-todos
β DONE
Installing evil-magit
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing graphql-mode
β DONE
Installing json-mode
β DONE
Installing toml-mode
β DONE
Installing yaml-mode
β DONE
Installing csv-mode
FATAL ERROR: (error Package βcsv-mode-β is unavailable)
Run again with the -d flag for details
Installing dhall-mode
β DONE
Installing protobuf-mode
β DONE
Installing highlight-quoted
β DONE
Installing macrostep
β DONE
Installing overseer
β DONE
Installing elisp-def
β DONE
Installing elisp-demos
β DONE
Installing flycheck-cask
β DONE
Installing markdown-mode
β ALREADY INSTALLED
Installing markdown-toc
β DONE
Installing org-plus-contrib
β DONE
Installing org-bullets
β DONE
Installing toc-org
β DONE
Installing evil-org
FATAL ERROR: (error Package βundo-tree-0.6.3β is unavailable)
Run again with the -d flag for details
Installing htmlize
β DONE
Installing ox-clip
β DONE
Installing org-yt
β DONE
Installing ob-async
β DONE
Installing org-download
β DONE
Installing ob-ipython
β DONE
Installing ox-pandoc
β DONE
Installing centered-window
β DONE
Installing org-tree-slide
β DONE
Installing ox-reveal
β DONE
Installing company-shell
β DONE
Installing avy
β ALREADY INSTALLED
Installing ace-link
β DONE
Finished!`
I think the main error is caused by this:
Refreshing package archives
Contacting host: elpa.gnu.org:443
Failed to download βgnuβ archive.
Steps to reproduce
I had the same problem and I think it's caused by commit 8b27d19e0bf036b242147b0e4a70cd337e10f2af 'Fix "err=[-50]" gnutls error' (which is the current HEAD). I worked around it by removing .emacs.d, cloning doom again and reverting to the previous commit before running quickstart.
This issue has been haunting me for the past week or so. It _appears_ to be related to this known bug in Emacs 26.x's TLS code: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3434 (which is fixed in 27).
And I had a workaround mentioned in that thread merged into Doom in https://github.com/hlissner/doom-emacs/commit/84d43643c9f7a135740df63a728cc43abb62a405, then reports of err=[-50] gnutls errors came in so I reverted it in https://github.com/hlissner/doom-emacs/commit/8b27d19e0bf036b242147b0e4a70cd337e10f2af, and here we are back at square one.
I don't know why GNU ELPA decided to act up now, after so long, but you can give the fix a try for yourself:
;; in ~/.doom.d/init.el
(defun disable-tls3 (orig-fn &rest args)
(let ((old-gnutls-algorithm-priority gnutls-algorithm-priority))
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
(unwind-protect
(apply orig-fn args)
(setq gnutls-algorithm-priority old-gnutls-algorithm-priority))))
(advice-add #'package-refresh-contents :around #'disable-tls3)
On a separate note: within the next day or two I will be publishing a massive update to Doom which integrates straight.el into Doom. It will cause some breakage; you'll have to reinstall all your packages, for one. However, it should sidestep all these issues, and all the issues we've ever had with package.el/quelpa/ELPA (and there've been quite a few).
Oh right, it occurred to me you can also turn on insecure mode: doom --insecure quickstart. It will avoid TLS altogether and download packages from their HTTP sources.
That seemed to work, thank you!
Most helpful comment
Oh right, it occurred to me you can also turn on insecure mode:
doom --insecure quickstart. It will avoid TLS altogether and download packages from their HTTP sources.