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 ??)
Sorry for the delayed reply.
Thanks for the workaround, however this solution presents a problem. If a project’s community (who is doing developing mostly on amd) wants to test on a specific version of an os then this solution excludes other arches from testing on travis. Unless there is a way to specify the os version per arch?
I understand that different arches may need to support different kernel versions but it must be a requirement to provide the matching kernel headers.
For ppc64le neither Bionic nor Focal has the correct kernel-headers/linux-headers package available. ppc64le Bionic on Travis uses Linux kernel 5.4.28 – which incidentaly is not the standard Ubuntu kernel – but the kernel-headers are missing inside the LXD container so Linux kernel driver builds are failing.