在 mint 上安装 emacs 24.4 错误

install emacs 24.4 error on mint

我关注了这个link。但是出现错误,如何解决?

$ sudo apt-get build-dep emacs24
[sudo] password for oracle: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to find a source package for emacs24

$ cat /etc/apt/sources.list
#deb cdrom:[Linux Mint 17 _Qiana_ - Release amd64 20140530]/ trusty contrib main non-free
  deb http://packages.linuxmint.com qiana main upstream import
           deb http://extra.linuxmint.com qiana main
           deb http://mirror.nexcess.net/ubuntu trusty main restricted universe multiverse
           deb http://mirror.nexcess.net/ubuntu trusty-updates main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ trusty partner

这是我为 Travis 制作的食谱 CI:

sudo add-apt-repository -y ppa:cassou/emacs
sudo apt-get update -qq
sudo apt-get install -qq emacs24

可能会有用。

打开软件源应用程序,然后单击"Enable source code repositories"

然后重试。