Kernel headers not available in ppc64 and arm64


From travis.yml

    update: true
      - linux-headers-$(uname -r)

Log message:

E: Unable to locate package linux-headers-5.3.0-19-generic
E: Couldn't find any package by glob 'linux-headers-5.3.0-19-generic'
E: Couldn't find any package by regex 'linux-headers-5.3.0-19-generic'

Works ok on amd64, broken on arm64 and ppc64le (repo missing ??)


1 Like

I’ve checked this. Stock Ubuntu repo for arm64 only has 4.x kernels and headers and stuff. But build machines use a 5.x kernel.

So whoever provides the build machines for Travis needs to provide a repo with corresponding packages for the nonstandard kernel(s) they use.


Rightly pointed out by @native-api , for the lxd back end based jobs

  • amd64 base image has 4.15.0-1028-gcp kernel

  • ppc64le , s390x ,arm64 base images have 5.0.0-23-generic kernel

Also seems kernel headers not available in “s390x” too - .

Update :
@native-api , @djlwilder
Looks like these kernel headers are present after all in ppc64le , s390x and arm64 travis builds , however only for bionic distribution and are not present in default xenial travis default distribution .
read here about being available in bionic -
and travis job example to validate them being available on s390x,ppc64le,arm64 -

1 Like