Skip to main content
68 votes
Accepted

How to proceed on package.el signature check failure

Set package-check-signature to nil, e.g., M-: (setq package-check-signature nil) RET. Download the package gnu-elpa-keyring-update and run the function with the same name, e.g., M-x package-install ...
joe_maya's user avatar
  • 836
20 votes

Failed to download 'gnu' archive

Add the following before package-initialize: (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") This is apparently a bug in Emacs 26.2 for MacOS. I found this solution in this reddit thread.
gguy's user avatar
  • 301
17 votes

How to proceed on package.el signature check failure

If you try to install the package gnu-elpa-keyring-update (which seems to have the purpose of updating the keys used by the package manager), you will see in its description that you can do: gpg --...
Johan's user avatar
  • 335
16 votes

How to deal with this message : IMPORTANT: please install Org from GNU ELPA as Org ELPA will close before Org 9.6

In my experience there are 4 step you may need to take to avoid this annoying message: Remove the org package source in your emacs config. Just remove the line (add-to-list ' package-archives '("...
Tsingyi's user avatar
  • 261
14 votes

Error retrieving: https://elpa.gnu.org/packages/archive-contents (error http 400)

try this out : (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") reference: https://www.reddit.com/r/emacs/comments/cdei4p/failed_to_download_gnu_archive_bad_request/etw48ux/?utm_source=...
ablian's user avatar
  • 241
14 votes
Accepted

How do I fix "incomprehensible buffer" error when running list-packages?

I had the same problem. Solved it by adding the following to init.el (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
strongwillow's user avatar
12 votes
Accepted

Easiest way to downgrade a package installed via MELPA

When you update your packages through the M-x list-packages interface, after the successful installation of the package, you'll get asked if you want to remove the old package. Don't delete them so ...
p_wiersig's user avatar
  • 1,081
12 votes

Easiest way to downgrade a package installed via MELPA

The "nuclear option", as it were, would be to ditch package.el entirely and instead use the package manager that I wrote, straight.el. The advantage would be that straight.el installs packages by ...
Resigned June 2023's user avatar
12 votes
Accepted

Dired+ missing from MELPA

It is true that MELPA no longer pulls libraries from EmacsWiki. Please obtain Dired+ and other libraries by me from EmacsWiki: dired+.el. All of my pages on EmacsWiki are locked (they require a site ...
Drew's user avatar
  • 78k
11 votes
Accepted

Is there a package manager for emacs that can use git repositories directly?

There are several: Starting with Emacs 29 there is the built-in package-vc-install (Fetching Package Sources (GNU Emacs Manual)) Quelpa Quelpa allows for fetching packages from arbitrary sources and ...
Hubisan's user avatar
  • 1,745
10 votes
Accepted

How to add org-babel-execute function for plantuml?

Wrap the list of languages you want to use with org-babel inside the with-eval-after-load block (with-eval-after-load 'org (org-babel-do-load-languages 'org-babel-load-languages '((ruby . t) (...
בנימן הגלילי's user avatar
10 votes
Accepted

How to view package Full Description (commentary section) inside Emacs

M-x finder-commentary RET <library-name> RET extracts that section and presents it in a separate buffer for reading. There is also M-x finder-by-keyword for discovering libraries this way.
wasamasa's user avatar
  • 22.2k
9 votes

TLS connection to marmalade-repo.org:443 is insecure after updating to Emacs 25

The server configuration on marmalade.org is broken: It does not serve the intermediate certificate it is using. This has been pointed out in half a dozen of issues now at https://github.com/...
cabo's user avatar
  • 191
8 votes

How to update Org to latest version using package repo's / git clone in Ubuntu

Add: (require 'package) (setq package-archives '(("melpa" . "https://melpa.org/packages/") ("gnu" . "https://elpa.gnu.org/packages/") ("org" . "http://orgmode.org/elpa/"))) (...
Alex's user avatar
  • 1,048
8 votes

Dired+ missing from MELPA

Is this normal? Yes, MELPA recently updated its policy and no longer includes packages hosted on EmacsWiki, quoting security reasons: https://github.com/melpa/melpa/pull/5008. See also Drew's answer. ...
Basil's user avatar
  • 12.5k
8 votes
Accepted

Error retrieving: https://elpa.gnu.org/packages/archive-contents

For me, a fix is: (when (equal emacs-version "27.2") (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")) I found this at Error retrieving: https://elpa.gnu.org/packages/...
Simon K's user avatar
  • 246
7 votes

How to install a specific version of package?

You can use el-get to install any specific revision of any package, from a git repo. (el-get-bundle git-timemachine :checkout "3.0") This will clone git-timemachine from github and checkout tag 3....
lorefnon's user avatar
  • 171
7 votes

What are the use cases of alternative package managers vis-à-vis `package.el`?

I have written a new package manager for Emacs, straight.el, which attempts to improve on all existing package management solutions. There is an extensive section in the straight.el documentation ...
Resigned June 2023's user avatar
7 votes

TLS connection to marmalade-repo.org:443 is insecure after updating to Emacs 25

Now in 2021, the error message still is the same but the certificate in question is even expired. Moreover, fetching the package list from marmelade is unacceptably slow, and eventually results in an ...
Torsten Bronger's user avatar
7 votes

How to generate and activate autoloads for local packages?

The correct solution (IMO) is to use a package manager which has explicit support for this use case. This would be straight.el, which I wrote for this purpose. You can read verbose documentation, ...
Resigned June 2023's user avatar
7 votes

How do I work out what the problem is with the emacs package system?

It appears that (custom-set-variables '(gnutls-algorithm-priority "normal:-vers-tls1.3")) fixes the problem. Cf. https://stackoverflow.com/a/60638601/850781
sds's user avatar
  • 6,124
7 votes
Accepted

use-package ensure not working: package downloaded but gives warning and skips config

The symbol you must give use-package is not the name of the package, but the name of a feature provided by the package. org-plus-contrib provides the org feature. You should use (use-package org :...
Omar's user avatar
  • 4,842
7 votes
Accepted

Trying to install auctex via package-install

Elpa seems to be having issues again. (Reddit discussion.) Maybe try adding (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") to your config as mentioned here.
nega's user avatar
  • 3,276
7 votes
Accepted

Is ELPA broken?

It might be this bug: https://debbugs.gnu.org/34341. It's fixed in Emacs 26.3+ and the workaround is: (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") Source
gulpnerd's user avatar
6 votes
Accepted

gpg fails to find key to elpa archive

I encountered this issue. I solved it using the following steps in order: Installing Gpg4win Make sure that the folder c:/Progra~2/GnuPG/bin is on your path before any other installed versions of the ...
preetpalS's user avatar
6 votes
Accepted

How to deal with this message : IMPORTANT: please install Org from GNU ELPA as Org ELPA will close before Org 9.6

you need to remove all "org-plus-contrib" references in your init file and replace them by "org-contrib".
Vincent's user avatar
  • 84
5 votes
Accepted

How do I install company-mode via `ensure-packages-installed`?

You need to use company instead of company-mode.
Saddle Point's user avatar
5 votes
Accepted

How do I get MELPA working on my Windows 8 laptop

this video gave me the clue to solve my problem: M-x customize-group RET package RET Expand "Package Archives" then INS Fill in: Archive Name: melpa and URL or directory name: http://melpa.org/...
quazoosl's user avatar
  • 101
5 votes
Accepted

Is .emacs.d portable across platforms?

Yes, if they're running the same version of Emacs. The byte compilation format is portable across platforms (it depends neither on the processor architecture nor on the operating system). It's also ...
Gilles 'SO- stop being evil''s user avatar
5 votes

How to proceed on package.el signature check failure

The answers here are a bit dated. This issue seems to have been fixed as of emacs 26.3.
Arvind Parthasarathy's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible