emacsemacs24emacs-helm

helm installation: Package emacs '24.4' unavailable


While installing helm in emacs, I have come across the error

Package emacs '24.4' unavailable

I am a noob to emacs and I have seen similar questions on stack, but the solution offered there doesn't not solve the problem.

Type M-x locate-library RET package to find where Emacs is getting its package.el from. The path it shows should end with lisp/emacs-lisp/package.elc. If it doesn't, try getting rid of the indicated file (or changing the load path so Emacs doesn't find it).

Can somebody help?

Below is my init.el file (configuration file)

;; https://blog.aaronbieber.com/2015/05/24/from-vim-to-emacs-in-
fourteen-days.html 

(require 'package)

(add-to-list 'package-archives '("org" . "http://orgmode.org/elpa/"))
(add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(add-to-list 'package-archives '("melpa-stable" .  "http://stable.melpa.org/packages/"))

(setq package-enable-at-startup nil)
(package-initialize)

My emacs version is 24.3.1 fresh install. I have loaded the init file a few times. I am on ubuntu 14.04


Solution

  • You're trying to install something which requires that you are running Emacs 24.4 or later.

    Hence you getting the error

    Package emacs '24.4' unavailable

    because

    My emacs version is 24.3.1

    You'll need to upgrade to a newer version of Emacs if you want to install that package.