eu estou correndo
apt-get source linux-image-4.15.0-60-generic
e pegue
Picking 'linux-signed-hwe' as source package instead of 'linux-image-4.15.0-60-generic'
E eu não recebo o código-fonte real. Por que isso acontece e como obtenho a fonte real?
pilot6@Pilot6:~$ apt-cache showsrc linux-signed-hwe
Package: linux-signed-hwe
Format: 3.0 (native)
Binary: linux-image-4.15.0-60-generic, linux-image-4.15.0-60-lowlatency, kernel-signed-image-4.15.0-60-generic-di, linux-image-4.15.0-60-generic-dbgsym, linux-image-4.15.0-60-lowlatency-dbgsym
Architecture: amd64 ppc64el
Version: 4.15.0-60.67~16.04.1
Priority: optional
Section: utils
Maintainer: Canonical Kernel Team <[email protected]>
Standards-Version: 3.9.4
Build-Depends: debhelper (>= 9), lsb-release, python3, python3-apt, sbsigntool [amd64], linux-headers-4.15.0-60-generic (>= 4.15.0-60.67~16.04.1)
Directory: pool/main/l/linux-signed-hwe
Package-List:
kernel-signed-image-4.15.0-60-generic-di udeb debian-installer extra arch=amd64,ppc64el
linux-image-4.15.0-60-generic deb kernel optional arch=amd64,ppc64el
linux-image-4.15.0-60-generic-dbgsym deb devel optional arch=amd64,ppc64el
linux-image-4.15.0-60-lowlatency deb kernel optional arch=amd64
linux-image-4.15.0-60-lowlatency-dbgsym deb devel optional arch=amd64
Files:
d17babc710762248deb90096e5ac6ce8 1829 linux-signed-hwe_4.15.0-60.67~16.04.1.dsc
21c183f3c7033bc442f3153cb5b15161 10728 linux-signed-hwe_4.15.0-60.67~16.04.1.tar.xz
Checksums-Sha1:
84f7c9f9de4635d50dd9f18e4bcfd269169b6eaf 1829 linux-signed-hwe_4.15.0-60.67~16.04.1.dsc
1bde8d27dedba104b8d9c193e39b3fb642d62004 10728 linux-signed-hwe_4.15.0-60.67~16.04.1.tar.xz
Checksums-Sha256:
61bb3466b3d4f9fbab4894997ee539a0ccfe3ff0990478b1825a17a59851eabb 1829 linux-signed-hwe_4.15.0-60.67~16.04.1.dsc
5ea5107afd5ae63430a5211c666362293d32ae75a5840cfb0e5549e5ce0326ad 10728 linux-signed-hwe_4.15.0-60.67~16.04.1.tar.xz
pilot6@Pilot6:~$ apt-cache showsrc linux-image-4.15.0-60-generic
Package: linux-signed-hwe
Format: 3.0 (native)
Binary: linux-image-4.15.0-60-generic, linux-image-4.15.0-60-lowlatency, kernel-signed-image-4.15.0-60-generic-di, linux-image-4.15.0-60-generic-dbgsym, linux-image-4.15.0-60-lowlatency-dbgsym
Architecture: amd64 ppc64el
Version: 4.15.0-60.67~16.04.1
Priority: optional
Section: utils
Maintainer: Canonical Kernel Team <[email protected]>
Standards-Version: 3.9.4
Build-Depends: debhelper (>= 9), lsb-release, python3, python3-apt, sbsigntool [amd64], linux-headers-4.15.0-60-generic (>= 4.15.0-60.67~16.04.1)
Directory: pool/main/l/linux-signed-hwe
Package-List:
kernel-signed-image-4.15.0-60-generic-di udeb debian-installer extra arch=amd64,ppc64el
linux-image-4.15.0-60-generic deb kernel optional arch=amd64,ppc64el
linux-image-4.15.0-60-generic-dbgsym deb devel optional arch=amd64,ppc64el
linux-image-4.15.0-60-lowlatency deb kernel optional arch=amd64
linux-image-4.15.0-60-lowlatency-dbgsym deb devel optional arch=amd64
Files:
d17babc710762248deb90096e5ac6ce8 1829 linux-signed-hwe_4.15.0-60.67~16.04.1.dsc
21c183f3c7033bc442f3153cb5b15161 10728 linux-signed-hwe_4.15.0-60.67~16.04.1.tar.xz
Checksums-Sha1:
84f7c9f9de4635d50dd9f18e4bcfd269169b6eaf 1829 linux-signed-hwe_4.15.0-60.67~16.04.1.dsc
1bde8d27dedba104b8d9c193e39b3fb642d62004 10728 linux-signed-hwe_4.15.0-60.67~16.04.1.tar.xz
Checksums-Sha256:
61bb3466b3d4f9fbab4894997ee539a0ccfe3ff0990478b1825a17a59851eabb 1829 linux-signed-hwe_4.15.0-60.67~16.04.1.dsc
5ea5107afd5ae63430a5211c666362293d32ae75a5840cfb0e5549e5ce0326ad 10728 linux-signed-hwe_4.15.0-60.67~16.04.1.tar.xz
pilot6@Pilot6:~$ grep deb /etc/apt/sources.list
deb http://ru.archive.ubuntu.com/ubuntu/ xenial main restricted
deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial main restricted
deb http://ru.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb http://ru.archive.ubuntu.com/ubuntu/ xenial universe
deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial universe
deb http://ru.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://ru.archive.ubuntu.com/ubuntu/ xenial multiverse
deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://ru.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://ru.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://ru.archive.ubuntu.com/ubuntu/ xenial-security main restricted
deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-security main restricted
deb http://ru.archive.ubuntu.com/ubuntu/ xenial-security universe
deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-security universe
deb http://ru.archive.ubuntu.com/ubuntu/ xenial-security multiverse
deb-src http://ru.archive.ubuntu.com/ubuntu/ xenial-security multiverse
deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner
Encontrei a solução. Antes da
fontes baixadas do kernel atual. Mas como o kernel foi assinado pela Canonical, ele parou conforme mencionado na pergunta.
Agora baixamos a fonte do kernel por
Fonte
Nota: Para poder baixar fontes de pacotes por
apt
, você precisa habilitar fontes no aplicativo "Software e atualizações". É desativado por padrão.