Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've added the cassou ppa, but when I try to install emacs24 or emacs-snapshot, apt-get can't seem to find the right packages:

$ sudo add-apt-repository ppa:cassou/emacs
$ sudo apt-get update
$ sudo apt-get install emacs24 emacs24-el emacs24-common-non-dfsg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package emacs24
E: Unable to locate package emacs24-el
E: Unable to locate package emacs24-common-non-dfsg
$ sudo apt-get install emacs-snapshot
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package emacs-snapshot is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'emacs-snapshot' has no installation candidate
share|improve this question
now try sudo apt-get -f install this may fix it – SimplySimon Aug 19 '13 at 15:48
Try making sure via apt-cache search emacs – edwin Aug 19 '13 at 16:14
The instructions in the cassou ppa don't make sense to me. Your command is the same as in the ppa, but I was also unable to locate the missing packages from your terminal error message in the cassou ppa package list. I suggest that you report a possible bug to: – karel Aug 19 '13 at 16:50
The current version of Emacs in Ubuntu 12.04 is Emacs 23.3.1 not quite what you wanted, but it works OK. – karel Aug 19 '13 at 16:58
@karel Emacs 24 is very different from 23. Lots of plugins depend on 24, for example. – apennebaker Aug 19 '13 at 17:32

I'm able to successfully install emacs24 in Vagrant, so hopefully sudo apt-get install emacs24 works now.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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