Help installing Linux headers

Hi

I’m trying to install Linux headers, but it seems to have an issue:

khadas@Khadas:~/$ sudo apt install linux-headers-$(uname -a) --fix-missing
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘linux-modules-4.9.190’ for regex ‘4.9.190’
Note, selecting ‘linux-image-amlogic-4.9’ instead of ‘linux-modules-4.9.190’
E: Unable to locate package linux-headers-Linux
E: Unable to locate package Khadas
E: Unable to locate package #1
E: Unable to locate package SMP
E: Unable to locate package PREEMPT
E: Unable to locate package Mon
E: Unable to locate package Sep
E: Unable to locate package 23
E: Unable to locate package 11:40:16
E: Unable to locate package CST
E: Unable to locate package 2019
E: Unable to locate package aarch64
E: Unable to locate package aarch64
E: Unable to locate package aarch64
E: Unable to locate package GNU

Am i missing something?

vim3 pro with Ubuntu server 18.04 image

The command is not correct, you should us uname -r instead of uname -a.

By the way, the linux headers is already preinstalled, why you need to install again? Maybe some headers are missing ? or else?

Thanks.

I want to reinstall because I’m not sure the headers are correct.
when trying to compile something with Linux headers I’m getting the following error:

./include/uapi/linux/types.h:4:10: fatal error: asm/types.h: No such file or directory
 #include <asm/types.h>

there isn’t any folder called “asm” only “asm-generic” in:
/usr/src/linux-headers-4.9.190/include/uapi/

moreover ‘-r’ give the same error when trying to reinstall:

sudo apt install linux-headers-$(uname -r) --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.9.190
E: Couldn't find any package by glob 'linux-headers-4.9.190'
E: Couldn't find any package by regex 'linux-headers-4.9.190'