All Questions
Tagged with elpa or package-repositories
210 questions
137
votes
4
answers
21k
views
What are the practical differences between the various Emacs Package Repositories?
I notice that there are several different repositories that often contain the same software. Why would I want to prefer:
GNU ELPA
Marmalade
MELPA
over the others? Since any one repository does not ...
73
votes
10
answers
43k
views
How to proceed on package.el signature check failure
I just tried to install ascii-art-to-unicode from the gnu repository (http://elpa.gnu.org/) via list-packages. I get the following error:
package--check-signature: Failed to verify signature
...
38
votes
2
answers
13k
views
Do I still need GNU ELPA if I have MELPA?
This has always confused me, since people are saying that MELPA does have newer versions of packages, but it's not really clear, if GNU ELPA is just a subset of MELPA, or if I do need both?
The ...
36
votes
2
answers
7k
views
Is it possible to use both MELPA and MELPA-stable at the same time?
I use melpa-stable as an additional package repository, but one of the packages I like to use (icicles) isn't available on melpa-stable. Is there any way to configure package.el to normally use melpa-...
36
votes
5
answers
6k
views
Easiest way to downgrade a package installed via MELPA
Sometimes, package updates from MELPA can break some part of emacs and when that happens I'd like to be able to revert back to using an older version of the package.
Right now, I can do it in two ...
18
votes
3
answers
5k
views
Dired+ missing from MELPA
I am trying to install dired+ from MELPA but it seems that it no longer is listed.
I also checked here: https://melpa.org/
Is this normal?
18
votes
4
answers
2k
views
What are the use cases of alternative package managers vis-à-vis `package.el`?
Background
I use emacs daily, but mostly to get things done. I don't really like
customising it more than adding packages and I don't like
troubleshooting. I want emacs to fade into the background ...
17
votes
3
answers
12k
views
Failed to download 'gnu' archive
I tried to install emacs and in an attempt to install MELPA, tried:
(this is my init.el file)
(package-initialize)
(add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/"))
(add-to-...
17
votes
2
answers
1k
views
How can I set up an ELPA server?
A buddy and I are wanting to start writing emacs packages specific for use in our company. (Trust me, nothing we write will be of much interest to anyone outside -- it's integration with internal ...
17
votes
2
answers
10k
views
The TLS connection was non-properly terminated
When running package-list-packages I get the following errors:
Failed to download `gnu' archive.
gnutls.c: [0] (Emacs) fatal error: The TLS connection was non-properly terminated.
I am running Emacs ...
16
votes
3
answers
6k
views
TLS connection to marmalade-repo.org:443 is insecure after updating to Emacs 25
When I run M-x list-packages I get the following error with Marmalade after updating to Emacs 25.
Certificate information
Issued by: COMODO RSA Domain Validation Secure Server CA
Issued to: ...
14
votes
1
answer
2k
views
How do I fix "incomprehensible buffer" error when running list-packages?
When running list-packages in emacs on an up-to-date Debian Buster (10.6) I get the following error:
error in process sentinel: Error retrieving: https://stable.melpa.org/packages/archive-contents &...
11
votes
2
answers
6k
views
How to deal with this message : IMPORTANT: please install Org from GNU ELPA as Org ELPA will close before Org 9.6
This message occur when I open an org file.
I've put this in my init file :
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/...
11
votes
3
answers
3k
views
How to generate and activate autoloads for local packages?
It is clear that not all local/custom/personal packages should be officially released, and it would be silly to do so just to benefit from built-in package management support. I'm wondering how to ...
11
votes
3
answers
2k
views
How to setup a private package repository?
I've written several packages for GNU Emacs, but they are useless outside of my company's environment. I want to be able to share the packages with other developers from my company. I also want the ...
10
votes
2
answers
780
views
Technical considerations for package maintainers to not use the Emacs package manager?
I am noticing some notable package maintainers are choosing to not use the Emacs package management system (ESS?) or complaining about its limitations (Helm).
Quoting from Helm's README.md:
...
10
votes
2
answers
3k
views
Error retrieving: https://elpa.gnu.org/packages/archive-contents (error http 400)
I am on this version of GNU Emacs on a Windows 10 computer:
GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29
For the past many weeks, Emacs report this error accessing GNU Elpa when I run &...
10
votes
2
answers
1k
views
Install packages globallly
Is this something that can / should be done? For example, often I use emacs in my user account and sometimes root account. When using the package manager (i.e marmalade or something) do I have to ...
10
votes
2
answers
6k
views
How do I work out what the problem is with the emacs package system?
I am trying to set up emacs (on cygwin / Win10) to handle JSON.
I started with joshwnj/json-mode and was stoked to discover that emacs will now install its own dependencies from online repos. Fab ...
9
votes
4
answers
8k
views
How to install a specific version of package?
When I do M-x package-install RET magit it installs the latest version of magit which is 2.1.0.
I want to install magit 1.4.2. I don't want to do it manually by downloading and loading package.
...
9
votes
6
answers
5k
views
gpg fails to find key to elpa archive
I'm getting this error while trying download a package from ELPA:
Failed to verify signature archive-contents.sig:
No public key for 474F05837FBDEF9B created at 2018-11-28T14:10:03-0800 using DSA
...
9
votes
1
answer
1k
views
Error retrieving: https://elpa.gnu.org/packages/archive-contents
This is with the latest Emacs Version 27.2 (9.0) for Mac OS X:
error in process sentinel: Error retrieving: https://elpa.gnu.org/packages/archive-contents (error connection-failed "connect" :...
8
votes
1
answer
3k
views
Is there a package manager for emacs that can use git repositories directly?
Is there a way to manage packages in emacs where I can point to a git repository directly? (like vim-plug for eg).
8
votes
1
answer
4k
views
How to add org-babel-execute function for plantuml?
I installed "PlantUML Mode for Emacs" using Melpa successfully, and I am able to switch to Plantuml-mode. However, when I try to evaluate code with C-c C-c, inside of org-mode, I get the error:
org-...
7
votes
2
answers
437
views
How to view package Full Description (commentary section) inside Emacs
I'm looking for a way to visualize inside Emacs the Full Description of a
package as shown in Elpa index page.
For example the undo-tree package has a nice and comprehensive help
page/description ...
7
votes
1
answer
3k
views
How can I change the installation folder for Melpa packages?
I have just started using Melpa, and I installed the first package. The package though goes to the folder
~/Library/Preferences/Aquamacs Emacs/Pakcages/elpa/
but I would prefer if it went to my ....
6
votes
1
answer
689
views
list-packages hangs when contacting melpa
I'm running Emacs 26.3 on Linux Mint 20. I am using paradox, but this also happens when I use the vanilla Emacs packages interface.
When I call list-packages, the Paradox Menu section of the mode line ...
6
votes
1
answer
1k
views
How do I set use-package-always-pin?
Emacs noob here, I want to use melpa-stable whenever possible for my packages.
use-package has an option for this, use-package-always-pin.
By default package.el prefers melpa over melpa-stable due ...
5
votes
3
answers
10k
views
How to update Org to latest version using package repo's / git clone in Ubuntu
See the image below.
.
I want to update my org from Version: 2016071 to Version 20161003.
It does not give me an option to upgrade when I use the package-list-packages command.
An ...
5
votes
1
answer
1k
views
Is ELPA broken?
Emacs 26.1 as packaged in Debian buster.
After doing M-x package-list-packages I can select any package from the MELPA repo https://melpa.org/packages/ and then install it. But when I try to get any ...
5
votes
1
answer
707
views
Trying to install auctex via package-install
I am trying to install auctex via M-x package-install RET auctex.
Unfortunately after a brief splash of
Contacting host: elpa.gnu.org:443,
I end up with the message
https://elpa.gnu.org/packages/...
5
votes
3
answers
320
views
How to migrate snippets of scripts into my own packages?
While there are many docs on how to write packages, mirror your own package git repo's ... etc. This seems quite a heavy solution.
What would be a good approach to having some local packages which ...
5
votes
2
answers
4k
views
Emacs 27 MELPA connection failure on macOS
I have been trying to install packages ivy, counsel, and swiper on Emacs 27 prelude. Starting Emacs results in the following error:
Warning (initialization): An error occurred while loading ‘/Users/...
5
votes
2
answers
2k
views
"Failed to download ‘melpa’ archive" when I run package-refresh-contents
Have started seeing this error after I installed a new version of Emacs. My package code in init file is
(require 'package)
(setq package-archives '(("gnu" . "http://elpa.gnu.org/...
5
votes
1
answer
2k
views
How to use a theme installed with melpa?
I want to use this theme: https://github.com/jonnay/emagicians-starter-kit/blob/master/themes/org-beautify-theme.org
I installed it via list-package successfully.
I tried loading it via load-theme ...
4
votes
2
answers
889
views
Is .emacs.d portable across platforms?
I'm trying to use spacemacs (basically a thin layer with nice defaults around emacs) at work, but it wants to connect to elpa and melpa to download stuff - and is basically unusable without getting ...
4
votes
2
answers
767
views
Fresh install of emacs 24.5.1 and Prelude not working because melpa wont download on OS X 10.11.2
I have a fresh install of Emacs 24.5.1 on OS X 10.11.2 and when I install prelude (https://github.com/bbatsov/prelude) via the recommended auto-magic way (curl -L https://git.io/epre | sh) then open ...
4
votes
1
answer
1k
views
use-package ensure not working: package downloaded but gives warning and skips config [duplicate]
I have the following code in my init.el file:
(use-package org-plus-contrib
:ensure t
:config (progn (require 'ox-extra)
(ox-extras-activate '(ignore-headlines))))
The :ensure t ...
4
votes
2
answers
1k
views
Keep spacemacs from retrieving package archives at startup
I'm trying to figure out a way to speed up my spacemacs start time. The main offender at the moment is the refreshing of package archives at start. I was hoping that setting dotspacemacs-check-for-...
4
votes
3
answers
6k
views
How do I get MELPA working on my Windows 8 laptop
In my init file ~\AppData\Roaming\.emacs.d that I created using C-x C-f ~/.emacs.d/init.el RET
I tried:
(require 'package) ;; You might already have this line
(add-to-list 'package-archives
...
4
votes
3
answers
4k
views
Cannot run melpa package refresh due to gpg errors
Root task: trying to install R mode for emacs (ESS following - https://stackoverflow.com/questions/1422987/emacs-mode-for-r)
OS: Ubuntu 18.04
Problem: When I run M-x package-refresh-contents RET
I get ...
4
votes
1
answer
1k
views
`org-bullets` - No longer needed
For a while, I've been getting the message
Package menu: Operationfinished. 1 package no longer needed, type 'M-x package-autoremove' to remove them
The package is org-bullets, very spread package ...
4
votes
2
answers
847
views
Problems installing packages via elpa that require cl-lib-1.0
I'm having problems installing package from (m)elpa which require cl-lib-1.0.
My emacs version is 24.3, hence I have a builtin copy of cl-lib-1.0, however, the only version available via elpa is 0.5. ...
4
votes
1
answer
2k
views
How do I solve `Lisp error: (void-function -compose)` when using lsp-dart?
When I load a Dart file with GNU Emacs 27.1-1 for OS X I get the following little error novel.
Debugger entered--Lisp error: (void-function -compose)
(-compose #'lsp--client-path->uri-fn #'lsp--...
4
votes
1
answer
1k
views
My init.el gets stuck on trying to install "spinner", a sub-dependency of cider
I've installed emacs on a new machine (macos) brew cask install emacs. My init.el file gets stuck installing cider (clojure ide) because it requires "spinner". When I do: M-x package-refresh-contents, ...
4
votes
1
answer
183
views
Automatically move installed packages to site-lisp to benefit all user accounts
I have scripts to setup virtual machine images, where emacs packages are installed for the root account. Currently, I manually copy them to the appropriate site-lisp directory, i.e. one of those ...
4
votes
1
answer
3k
views
Getting error "Failed to download 'gnu' archive" on Emacs 26.3
I'm currently using Ubuntu 18.04, and trying out Emacs for the first time. However, whenever I run the command package-refresh-contents, I get the the follow error:
Failed to download 'gnu' archive
...
3
votes
1
answer
1k
views
What is the standard way to install packages for Emacs?
There are several methods to install and manage packages for Emacs:
package.el
el-get
use-package
What is the easiest way to install package? It seems package.el ships with the default Emacs ...
3
votes
2
answers
3k
views
How do I install company-mode via `ensure-packages-installed`?
I use a function, ensure-packages-installed to "bootstrap" packages in my .emacs file. This ensures that if the package isn't already install. The follow is at the top of my .emacs:
;
; Set up Emacs ...
3
votes
2
answers
330
views
How can I find the path of files in an (m)elpa package?
I wrote a minor mode for automatically detecting the language in which the user is typing. For this to work, I have to load some files containing language statistics. These files are in a ...