linux-image-3.11.0-15-generic的URI
我正在使用Ubuntu桌面(Linux版本3.11.0-15-通用(buildd @ allspice))。 我试图通过命令获取linux源代码:
sudo apt-get source linux-image-3.11.0-15-generic
然后我看到了这个错误:
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
我在/etc/apt/sources.list
找不到合适的URI链接。
使用
sudo software-properties-gtk
在“Ubuntu Software”选项卡上启用“源代码”复选框。 然后跑
sudo apt-get update
获取源列表。