UNable to locate package linux-headers

I don’t know if this is the correct place to ask this, but while trying to install snapd i got an error message, so I looked through some other questions asked on here and it said to install kernel-modules because sometimes the dnf would instead download kernel-debug-modules
I used sudo apt install linux-headers-$(uname -r)

to do so and it I got another error message which said this:

E: Unable to locate package linux-headers-4.19.87-07826-g55ab70aff690
E: Couldn’t find any package by glob ‘linux-headers-4.19.87-07826-g55ab70aff690’
E: Couldn’t find any package by regex ‘linux-headers-4.19.87-07826-g55ab70aff690’

does anyone know how to fix this?

Which distribution are you using? I ask because you’re mixing two different package managers in your problem statement, dnf and apt, which are from two completely different styles of distribution (deb-based and rpm-based) so it is not clear which you’re using…

I am not very good with this type of thing and I’m just trying stuff our right now. I think I have debian, and I’m on an asus chromebook, I don’t know if that is what you’re looking for.