Skip to main content
added 1 character in body; edited tags
Source Link
phils
  • 53.1k
  • 3
  • 84
  • 127
  • removing and re-installing Emacs,
  • changing the Emacs init file but none of that has worked.

but none of that has worked.

(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;(setq package-check-signature nil)
    
; Set up melpa package repository
(require 'package)
(setq package-enable-at-startup nil)
    
(package-initialize)
    
(add-to-list 'package-archives
             '("gnu", "https://elpa.gnu.org/packages/")
             '("melpa", "https://melpa.org/packages/"))
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;(setq package-check-signature nil)
    
; Set up melpa package repository
(require 'package)
(setq package-enable-at-startup nil)
    
(package-initialize)
    
(add-to-list 'package-archives
             '("gnu", "https://elpa.gnu.org/packages/")
             '("melpa", "https://melpa.org/packages/"))
  • removing and re-installing Emacs,
  • changing the Emacs init file but none of that has worked.
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;(setq package-check-signature nil)
    
; Set up melpa package repository
(require 'package)
(setq package-enable-at-startup nil)
    
(package-initialize)
    
(add-to-list 'package-archives
             '("gnu", "https://elpa.gnu.org/packages/")
             '("melpa", "https://melpa.org/packages/"))
  • removing and re-installing Emacs,
  • changing the Emacs init file

but none of that has worked.

(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;(setq package-check-signature nil)
    
; Set up melpa package repository
(require 'package)
(setq package-enable-at-startup nil)
    
(package-initialize)
    
(add-to-list 'package-archives
             '("gnu", "https://elpa.gnu.org/packages/")
             '("melpa", "https://melpa.org/packages/"))

I'm a Emacs newbie. I've gone through the guided tutorial and I got excited by what Emacs promises. I want to learn Emacs and use it as my primary development editor, and specifically at the moment for Clojure development with Cider. 

When I type M-x package-installM-x package-install and hit enter to try and install Cider my Emacs just closes unexpectedly. I've tried several suggestions I found on this site and other but no luck so far. 

Here's what I get on the terminal using --debug-init as a post I read suggested:

How can I fix this? I've tried a removing and re-installing Emacs, I've tried changing the Emacs init file but none of that has worked.:

  • removing and re-installing Emacs,
  • changing the Emacs init file but none of that has worked.

Do you have any suggestions? What can I do to fix this? 

As an aside note, I see a quick message Contacting host: melpa.org:443 before the crash happens so I changed my Emacs init file to see if it would fix the error, but no luck.

(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;(setq package-check-signature nil)

; Set up melpa package repository
(require 'package)
(setq package-enable-at-startup nil)

(package-initialize)

(add-to-list 'package-archives
         '("gnu", "https://elpa.gnu.org/packages/")
         '("melpa", "https://melpa.org/packages/"))
(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;(setq package-check-signature nil)
    
; Set up melpa package repository
(require 'package)
(setq package-enable-at-startup nil)
    
(package-initialize)
    
(add-to-list 'package-archives
             '("gnu", "https://elpa.gnu.org/packages/")
             '("melpa", "https://melpa.org/packages/"))

I'm a Emacs newbie. I've gone through the guided tutorial and I got excited by what Emacs promises. I want to learn Emacs and use it as my primary development editor, and specifically at the moment for Clojure development with Cider. When I type M-x package-install and hit enter to try and install Cider my Emacs just closes unexpectedly. I've tried several suggestions I found on this site and other but no luck so far. Here's what I get on the terminal using --debug-init as a post I read suggested:

How can I fix this? I've tried a removing and re-installing Emacs, I've tried changing the Emacs init file but none of that has worked. Do you have any suggestions? What can I do to fix this? As an aside note, I see a quick message Contacting host: melpa.org:443 before the crash happens so I changed my Emacs init file to see if it would fix the error, but no luck.

(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;(setq package-check-signature nil)

; Set up melpa package repository
(require 'package)
(setq package-enable-at-startup nil)

(package-initialize)

(add-to-list 'package-archives
         '("gnu", "https://elpa.gnu.org/packages/")
         '("melpa", "https://melpa.org/packages/"))

I'm a Emacs newbie. I've gone through the guided tutorial and I got excited by what Emacs promises. I want to learn Emacs and use it as my primary development editor, and specifically at the moment for Clojure development with Cider. 

When I type M-x package-install and hit enter to try and install Cider my Emacs just closes unexpectedly. I've tried several suggestions I found on this site and other but no luck so far. 

Here's what I get on the terminal using --debug-init as a post I read suggested:

How can I fix this? I've tried:

  • removing and re-installing Emacs,
  • changing the Emacs init file but none of that has worked.

Do you have any suggestions? What can I do to fix this? 

As an aside note, I see a quick message Contacting host: melpa.org:443 before the crash happens so I changed my Emacs init file to see if it would fix the error, but no luck.

(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;(setq package-check-signature nil)
    
; Set up melpa package repository
(require 'package)
(setq package-enable-at-startup nil)
    
(package-initialize)
    
(add-to-list 'package-archives
             '("gnu", "https://elpa.gnu.org/packages/")
             '("melpa", "https://melpa.org/packages/"))
Source Link
Ariel
  • 11
  • 2

Emacs segfaults after I run M-x package-install

I'm a Emacs newbie. I've gone through the guided tutorial and I got excited by what Emacs promises. I want to learn Emacs and use it as my primary development editor, and specifically at the moment for Clojure development with Cider. When I type M-x package-install and hit enter to try and install Cider my Emacs just closes unexpectedly. I've tried several suggestions I found on this site and other but no luck so far. Here's what I get on the terminal using --debug-init as a post I read suggested:

Backtrace:
/snap/emacs/296/usr/bin/emacs[0x58f0c7]
/snap/emacs/296/usr/bin/emacs[0x567cbc]
/snap/emacs/296/usr/bin/emacs[0x58e802]
/snap/emacs/296/usr/bin/emacs[0x58e7d3]
/snap/emacs/296/usr/bin/emacs[0x58e83d]
/snap/emacs/296/usr/bin/emacs[0x58e9f9]
/snap/core18/current/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890)[0x7fe670900890]
/snap/core18/current/lib64/ld-linux-x86-64.so.2(+0xcac8)[0x7fe677759ac8]
/snap/core18/current/lib64/ld-linux-x86-64.so.2(+0x150bd)[0x7fe6777620bd]
/snap/core18/current/lib/x86_64-linux-gnu/libc.so.6(_dl_catch_exception+0x6f)[0x7fe66fd642df]
/snap/core18/current/lib64/ld-linux-x86-64.so.2(+0x147ca)[0x7fe6777617ca]
/snap/core18/current/lib/x86_64-linux-gnu/libc.so.6(+0x1663ad)[0x7fe66fd633ad]
/snap/core18/current/lib/x86_64-linux-gnu/libc.so.6(_dl_catch_exception+0x6f)[0x7fe66fd642df]
/snap/core18/current/lib/x86_64-linux-gnu/libc.so.6(_dl_catch_error+0x2f)[0x7fe66fd6436f]
/snap/core18/current/lib/x86_64-linux-gnu/libc.so.6(__libc_dlopen_mode+0x89)[0x7fe66fd634d9]
/snap/core18/current/lib/x86_64-linux-gnu/libc.so.6(+0x148886)[0x7fe66fd45886]
/snap/core18/current/lib/x86_64-linux-gnu/libc.so.6(__nss_lookup_function+0x128)[0x7fe66fd46088]
/snap/core18/current/lib/x86_64-linux-gnu/libc.so.6(+0x105cf3)[0x7fe66fd02cf3]
/snap/core18/current/lib/x86_64-linux-gnu/libc.so.6(getaddrinfo+0x124)[0x7fe66fd04ce4]
/snap/emacs/296/usr/bin/emacs[0x671b31]
/snap/emacs/296/usr/bin/emacs[0x619809]
/snap/emacs/296/usr/bin/emacs[0x6194e5]
/snap/emacs/296/usr/bin/emacs[0x664a8f]
/snap/emacs/296/usr/bin/emacs[0x619fa0]
/snap/emacs/296/usr/bin/emacs[0x619529]
/snap/emacs/296/usr/bin/emacs[0x664a8f]
/snap/emacs/296/usr/bin/emacs[0x61a30a]
/snap/emacs/296/usr/bin/emacs[0x619529]
/snap/emacs/296/usr/bin/emacs[0x664a8f]
/snap/emacs/296/usr/bin/emacs[0x619fa0]
/snap/emacs/296/usr/bin/emacs[0x619529]
/snap/emacs/296/usr/bin/emacs[0x664a8f]
/snap/emacs/296/usr/bin/emacs[0x619fa0]
/snap/emacs/296/usr/bin/emacs[0x619529]
/snap/emacs/296/usr/bin/emacs[0x664a8f]
/snap/emacs/296/usr/bin/emacs[0x61a30a]
/snap/emacs/296/usr/bin/emacs[0x619529]
/snap/emacs/296/usr/bin/emacs[0x664a8f]
/snap/emacs/296/usr/bin/emacs[0x619fa0]
/snap/emacs/296/usr/bin/emacs[0x619529]
/snap/emacs/296/usr/bin/emacs[0x664a8f]

How can I fix this? I've tried a removing and re-installing Emacs, I've tried changing the Emacs init file but none of that has worked. Do you have any suggestions? What can I do to fix this? As an aside note, I see a quick message Contacting host: melpa.org:443 before the crash happens so I changed my Emacs init file to see if it would fix the error, but no luck.

(setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
;(setq package-check-signature nil)

; Set up melpa package repository
(require 'package)
(setq package-enable-at-startup nil)

(package-initialize)

(add-to-list 'package-archives
         '("gnu", "https://elpa.gnu.org/packages/")
         '("melpa", "https://melpa.org/packages/"))

Ideas and suggestions welcome and appreciated. Thank you.