I'm attempting to install emacs 25.1 on my ubuntu 16.04 system from a PPA. When attempting to install the build dependencies I got the error
>sudo apt-get build-dep emacs24
Reading package lists... Done
E: You must put some 'source' URIs in your sources.list
So apt-get can't find the dependencies, right? I thought adding the PPA to my system would solve this but it doesn't. Also, uncommenting the deb and deb-src pairs (individually and everything at once) in /etc/apt/sources.list didn't help.
What does help is checking the source box in the software & updates utility, as suggested in this post: https://askubuntu.com/a/795694/524588 does work. What exactly is this doing, and how can I replicate it without the gui?
apt-add-repository
, and yes,-s
does that same thing, addsdeb-src
lines – Sergiy Kolodyazhnyy Oct 03 '16 at 20:06