薄荷上安装emacs 24.4错误

时间:2015-01-28 12:29:55

标签: linux emacs

我遵循了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

2 个答案:

答案 0 :(得分:11)

打开软件源应用程序,然后单击"启用源代码存储库"

然后再试一次。

答案 1 :(得分:2)

这是我的特拉维斯CI食谱:

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

可能有用。