Issue
I need help to install emacs on my Debian 7.2 system. I have looked at many other forms and cannot get emacs to install.
I have tried running "sudo apt-get install emacs", "sudo apt-get install emacs23", any other way to type emacs.
I have also tried which returns a couple 404 errors.
sudo apt-get update
W: Failed to fetch http://ppa.launchpad.net/cassou/emacs/ubuntu/dists/wheezy/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
jon@debian:~$ apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://emacs.naquadah.org/ stable/ Packages
release o=jd,a=stable,n=stable,l=jd,c=
origin emacs.naquadah.org
500 http://security.ubuntu.com/ubuntu/ precise-security/main Translation-en
500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
release v=12.04,o=Ubuntu,a=precise-security,n=precise,l=Ubuntu,c=main
origin security.ubuntu.com
Pinned packages:
jon@debian:~$ apt-cache policy emacs
emacs:
Installed: (none)
Candidate: 23.3+1-1ubuntu9.1
Version table:
23.3+1-1ubuntu9.1 0
500 http://security.ubuntu.com/ubuntu/ precise-security/main i386 Packages
What commands do I need to run or what files should I remove or modify?
Solution
I would try to add an entry in my sources.list file (https://wiki.debian.org/SourcesList). This tells apt-get where to get it's package list from.
Answered By - user3103692 Answer Checked By - Pedro (WPSolving Volunteer)