1

I'm trying to download the kernel source of my Ubuntu 16.04. Although I added the key FBFD0D3E ([email protected]), apt/gpg thinks it's not there:

apt-get source linux-image-$(uname -r)
Reading package lists... Done
Picking 'linux-signed-hwe' as source package instead of 'linux-image-4.15.0-42-generic'
Need to get 12.1 kB of source archives.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main linux-signed-hwe 4.15.0-42.45~16.04.1 (dsc) [1'824 B]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main linux-signed-hwe 4.15.0-42.45~16.04.1 (tar) [10.2 kB]
Fetched 12.1 kB in 0s (169 kB/s)            
gpgv: Signature made Mon 19 Nov 2018 13:56:49 CET using RSA key ID FBFD0D3E
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./linux-signed-hwe_4.15.0-42.45~16.04.1.dsc
dpkg-source: info: extracting linux-signed-hwe in linux-signed-hwe-4.15.0
dpkg-source: info: unpacking linux-signed-hwe_4.15.0-42.45~16.04.1.tar.xz

Afterwards, no kernel source is downloaded, only some more or less empty dirs with some config data. apt key list:

apt-key list
/etc/apt/trusted.gpg
--------------------
pub   1024D/437D05B5 2004-09-12
uid                  Ubuntu Archive Automatic Signing Key <[email protected]>
sub   2048g/79164387 2004-09-12

pub   4096R/C0B21F32 2012-05-11
uid                  Ubuntu Archive Automatic Signing Key (2012) <[email protected]>

pub   4096R/EFE21092 2012-05-11
uid                  Ubuntu CD Image Automatic Signing Key (2012) <[email protected]>

pub   1024D/FBB75451 2004-12-30
uid                  Ubuntu CD Image Automatic Signing Key <[email protected]>

pub   2048R/FBFD0D3E 2016-12-12
uid                  Thadeu Lima de Souza Cascardo <[email protected]>
sub   2048R/C69B8715 2016-12-12

So for me it seems that the key is imported, but for some reason not recognized by apt. Does anyone have a solution for this?

Ubuntu version:

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial

uname -a
Linux XXXXXX 4.15.0-42-generic #45~16.04.1-Ubuntu SMP Mon Nov 19 13:02:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

DISTRIB_DESCRIPTION="Ubuntu 16.04.5 LTS"

2
  • 2
    Possible duplicate of "Unknown sequence editconfigs" when trying to build a kernel
    – muru
    Dec 10, 2018 at 11:43
  • The key error is a red herring, the source package got extracted just fine (you can run fakeroot debian/rules binary in the created directory to get debs for the kernel, for example), But if you want the source of the kernel, see dupe.
    – muru
    Dec 10, 2018 at 11:44

0

You must log in to answer this question.

Browse other questions tagged .