When I run package-install-selected-packages I see the following message:

1 packages are not available (the rest already installed)

But it doesn't say which package was not available.

All the packages in package-selected-packages appear to have been installed, but apparently I requested something that was not available.

How can I find out what it was?

  • 2
    Manually? I guess you can just look in ~/.emacs.d/elpa/ and find out which of the packages you'd selected for installation is not present? I would also review *Messages* with C-h e, as there may be an explicit indication logged in there.
    – phils
    Nov 14, 2018 at 10:41
  • 1
    Probably worth filing a feature request to Emacs maintainers to make this message say which packages weren't available.
    – wvxvw
    Nov 16, 2018 at 8:26

1 Answer 1


I just copied and modified the relevant snippet from package-install-selected-packages:

(let* ((not-installed (seq-remove #'package-installed-p package-selected-packages))
       (unavailable (seq-filter (lambda (p) (not (assq p package-archive-contents)))

Pasted this into *scratch*, evaluated and got the missing packages.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.