I am running Ubuntu desktop 16.04 I tried to get the kernel sources using the command
apt-get source linux-image-$(uname -r)
as recommended in the Ubuntu wiki. I got the error
E: You must put some source URIs in your sources.list
I searched the web and found advice on editing sources.list, but don't know what specifically I need to do to get the kernel sources. I am new to this; can someone help?
deb-src
line withmain
in it. – muru May 17 '16 at 21:51sudo apt-get update
after modifying that file? – muru May 18 '16 at 15:19