1

I've just copied my .emacs file into a new freshly installed Ubuntu 16.04 and Emacs installed through apt. Anyway magit is the only package that it wasn't able to install. It says:

Error (use-package): Failed to install magit: Package `emacs-25.1' is unavailable

My Emacs version is 24.5.1 and my git version is 2.7.4. I also tried to run M-x package-refresh-contents and manually install magit using package-install. But the error is still the same.

se7entyse7en
  • 4,310
  • 7
  • 33
  • 50

1 Answers1

4

Magit dropped support for Emacs 24. Either:

  • upgrade Emacs
  • use melpa-stable for magit ("pinning")
  • install an older version of magit manually
jpkotta
  • 9,237
  • 3
  • 29
  • 34