Comment 32 for bug 1828166

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2019-07-17 11:24 EDT-------
(In reply to comment #45)
> How can I get the source code of the kernel tree iand the perf tool?
>
> I have tried this command and it did not get the sources:
>
> root@s8360046:~# uname -r
> 4.15.0-55-generic
> root@s8360046:~# apt-get source linux-image-$(uname -r)
> Reading package lists... Done
> E: You must put some 'source' URIs in your sources.list
> root@s8360046:~#
>
> Thanks for your help

Check the file /etc/apt/sources.list on your system, and look for lines beginning with 'deb-src'
that are commented out. Uncomment them, and try again.