I want to install a theme library, the package is already installed but emacs does not recognize it. I have already installed the melpa packages and the gnu packages, as shown in the code below:
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) (setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") ("marmalade" . "http://marmalade-repo.org/packages/") ("melpa" . "http://melpa.milkbox.net/packages/"))) This started happening today, I already researched and didn't find solutions, just a post on stackoverflow which is where I got this code above, I'm new to emacs, I'm still learning how to use it so I have no idea how I can solve it.
The error message says: package-install RET doom-themes RET no match. What can I try to resolve this error?
setq, you clobber the old value of the variable with the new value, so the second line completely obliterates what the first line did. The code you got is probably wrong: where did you get it?package-archives: add to the existing value as shown in the instructions.