scimax
scimax copied to clipboard
Errors when installing on Ubuntu 18.04
I tried both running scimax.sh file and simply cloning git file. In both cases I am not being able to download 'org', 'gnu' and 'melpa' archives. I get the following message:
Importing package-keyring.gpg...done
Contacting host: orgmode.org:443
gnutls.el: (err=[-50] The request is invalid.) boot: (:priority NORMAL:-VERS-TLS1.3 :hostname orgmode.org :loglevel 0 :min-prime-bits 256 :trustfiles (/etc/ssl/certs/ca-certificates.crt) :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil)
Failed to download ‘org’ archive.
gnutls.el: (err=[-50] The request is invalid.) boot: (:priority NORMAL:-VERS-TLS1.3 :hostname elpa.gnu.org :loglevel 0 :min-prime-bits 256 :trustfiles (/etc/ssl/certs/ca-certificates.crt) :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil)
Failed to download ‘gnu’ archive.
Contacting host: melpa.org:443
gnutls.el: (err=[-50] The request is invalid.) boot: (:priority NORMAL:-VERS-TLS1.3 :hostname melpa.org :loglevel 0 :min-prime-bits 256 :trustfiles (/etc/ssl/certs/ca-certificates.crt) :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil)
Package refresh done
Failed to download ‘melpa’ archive.
Importing package-keyring.gpg...done
gnutls.el: (err=[-50] The request is invalid.) boot: (:priority NORMAL:-VERS-TLS1.3 :hostname orgmode.org :loglevel 0 :min-prime-bits 256 :trustfiles (/etc/ssl/certs/ca-certificates.crt) :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil)
Failed to download ‘org’ archive.
gnutls.el: (err=[-50] The request is invalid.) boot: (:priority NORMAL:-VERS-TLS1.3 :hostname elpa.gnu.org :loglevel 0 :min-prime-bits 256 :trustfiles (/etc/ssl/certs/ca-certificates.crt) :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil)
Failed to download ‘gnu’ archive.
Contacting host: melpa.org:443
gnutls.el: (err=[-50] The request is invalid.) boot: (:priority NORMAL:-VERS-TLS1.3 :hostname melpa.org :loglevel 0 :min-prime-bits 256 :trustfiles (/etc/ssl/certs/ca-certificates.crt) :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil)
Package refresh done
Failed to download ‘melpa’ archive.
Setting ‘package-selected-packages’ temporarily since "emacs -q" would overwrite customizations [2 times]
package-compute-transaction: Package ‘diminish-’ is unavailable
mwheel-scroll: Beginning of buffer [4 times]
This probably has to do with the code near https://github.com/jkitchin/scimax/blob/master/bootstrap.el#L15.
There doesn't seem to be a great way to handle all these issues across versions and platforms. I am not sure what the right combination of settings for you will be.
Thank you. I will try to install a newer Emacs
version or correct it with a patch.
I managed to minimize the problem starting the init.el
file with:
(setq gc-cons-threshold 80000000)
(package-initialize)
(require 'package)
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(add-to-list 'package-archives '("org" . "https://orgmode.org/elpa/"))
(use-package org
:ensure org-plus-contrib)
And I get only the following errors:
Error (use-package): Failed to install helm-bibtex: Package ‘bibtex-completion-1.0.0’ is unavailable
Error (use-package): Cannot load helm-bibtex
Error (use-package): org-ref/:catch: Cannot open load file: No such file or directory, parsebib
Error (use-package): org-ref-arxiv/:catch: Cannot open load file: No such file or directory, parsebib
Error (use-package): scimax-org/:init: Cannot open load file: No such file or directory, parsebib
Error (use-package): scimax-journal/:catch: Cannot open load file: No such file or directory, parsebib
These are all probably still related to security issues I guess that either prevent you from connecting to a package repo, or an issue like a corrupted package is not installed. You might try manually running M-x package-install
to add parsebib and helm-bibtex.
I managed to install parsebib
but helm-bibtex
and ivy-bibtex
appears as incompatible in the packages list and can not be installed using M-x package-install
.
Now the error messages are:
Error (use-package): Failed to install helm-bibtex: Package ‘bibtex-completion-1.0.0’ is unavailable
Error (use-package): helm-bibtex/:catch: Symbol’s value as variable is void: <!DOCTYPE
Error (use-package): org-ref/:catch: Symbol’s value as variable is void: <!DOCTYPE
Error (use-package): scimax-org/:init: Symbol’s value as variable is void: <!DOCTYPE
Error (use-package): scimax-journal/:catch: Symbol’s value as variable is void: <!DOCTYPE
Those errors suggest you got an html file for some file somewhere instead of a .el file. <!DOCTYPE in particular is the give away. Maybe grep for that in your elpa/scimax dir and delete those files.
I managed to install parsebib
but helm-bibtex
and ivy-bibtex
appears as incompatible in the packages list and can not be installed using M-x package-install
.
Now the error messages are:
Error (use-package): Failed to install helm-bibtex: Package ‘bibtex-completion-1.0.0’ is unavailable
Error (use-package): helm-bibtex/:catch: Symbol’s value as variable is void: <!DOCTYPE
Error (use-package): org-ref/:catch: Symbol’s value as variable is void: <!DOCTYPE
Error (use-package): scimax-org/:init: Symbol’s value as variable is void: <!DOCTYPE
Error (use-package): scimax-journal/:catch: Symbol’s value as variable is void: <!DOCTYPE
Now I deleted helm-bibtex.el
and other el
file that I copied to the scimax
folder in an effort to install helm-bibtex
. Now the message error is simpler:
Error (use-package): Failed to install helm-bibtex: Package ‘bibtex-completion-1.0.0’ is unavailable
Error (use-package): Cannot load helm-bibtex
Error (use-package): org-ref/:catch: Cannot open load file: No such file or directory, helm-bibtex
Error (use-package): scimax-org/:init: Cannot open load file: No such file or directory, helm-bibtex
Error (use-package): scimax-journal/:catch: Cannot open load file: No such file or directory, helm-bibtex
I see the same error for installing ivy-bibtex. This may be a problem that goes away tomorrow, if the package repo is just not right at the moment, or it is an issue with ivy/helm-bibtex.
fyi, this issue seems to have disappeared today, and I was able to install ivy-bibtex.
Thank you for the info and for your support. I could finally install helm-bibtex
with success.