New answers tagged

0

You need to upgrade your emacs to at least Emacs 25.1. I'm not sure if each Ubuntu LTS provides updated stable packages beyond the point they released the distro, emacs26 now, but if not you can either compile it yourself or look for a suitable ppa as Kevin Kelley's


0

I get: % gpg --homedir ~/.emacs.d/elpa/gnupg --receive-keys 066DAFCB81E42C40 gpg: key 066DAFCB81E42C40: new key but contains no user ID - skipped gpg: Total number processed: 1 gpg: w/o user IDs: 1


0

I think the cleanest solution is to tell package.el that you have already lsp-mode mode. You can do it in two different ways: If you have installed lsp-mode in a format/layout that package.el can understand (most importantly it contains both <pkg>-autoloads.els and <pkg>-pkg.el), then just make sure that it is in one of the directories ...


0

I had this exact problem. I was trying to use a local version of lsp-mode but packages which depended on it were installing lsp-mode from melpa. @chenbin's solution would successfully filter out lsp-mode from the package list (i.e. when you M-x list-packages) but it would still be installed when installing any packages for which it was a dependency. I'm ...


0

You are trying to require a package which has not been installed yet. Run M-x package-install and then specify doom-modeline This will install the package so that when you next start emacs, the error should no longer occur.


0

You don't need to (require 'package) and you shouldn't need to (require 'doom-modeline) either. But, depending on your version of Emacs, you need to initialize the package library with (package-initialize) before you can use the packages you installed. So my crystal ball tells me you should replace the first two lines of your init.el with (package-...


Top 50 recent answers are included