So far I did the following:
- I've commented out
deb-src
lines in/etc/apt/sources.list
(related post). - Run
sudo apt-get update
.
Now I'm trying to obtain the current kernel sources as Ubuntu's wiki page:
$ sudo apt-get source linux-image-$(uname -r)
Reading package lists... Done
Picking 'linux-signed' as source package instead of 'linux-image-4.18.0-13-generic'
Skipping already downloaded file 'linux-signed_4.18.0-13.14.dsc'
Skipping already downloaded file 'linux-signed_4.18.0-13.14.tar.xz'
Need to get 0 B of source archives.
Skipping unpack of already unpacked source in linux-signed-4.18.0
$ sudo apt-get source linux-source
Reading package lists... Done
Picking 'linux-meta' as source package instead of 'linux-source'
NOTICE: 'linux-meta' packaging is maintained in the 'Git' version control system at:
git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-meta/+git/cosmic
Please use:
git clone git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux-meta/+git/cosmic
to retrieve the latest (possibly unreleased) updates to the package.
Skipping already downloaded file 'linux-meta_4.18.0.13.14.dsc'
Skipping already downloaded file 'linux-meta_4.18.0.13.14.tar.xz'
Need to get 0 B of source archives.
Skipping unpack of already unpacked source in linux-meta-4.18.0.13.14
$ ls /usr/src
linux-headers-4.18.0-12 linux-headers-4.18.0-12-generic linux-headers-4.18.0-13 linux-headers-4.18.0-13-generic
But it doesn't download anything.
Running apt-get clean package_name
command before source
, doesn't help either.
What I'm missing?