I'm using Ubuntu desktop (Linux version 3.11.0-15-generic (buildd@allspice)). I tried to get linux source code by command:
sudo apt-get source linux-image-3.11.0-15-generic
Then I saw this error:
home@ubuntu:~$ sudo apt-get source linux-image-3.11.0-15-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: You must put some 'source' URIs in your sources.list
I can't find the suitable URI link to add in /etc/apt/sources.list
.
/etc/apt/sources.list
have an additional "source" entry. e.g.deb http://extras.ubuntu.com/ubuntu saucy main
is on one line, followed bydeb-src http://extras.ubuntu.com/ubuntu saucy main
. I think the latter is required to download sources.