I recently installed VMware Workstation. During the installation I was advised I needed linux-headers-4.19.0-5. I run an apt install for “linux-headers-4.19.0-5-all” and everything was fine. However, the next time I booted my laptop (Librem 13 v4) LUKS was not excepting my passphrase. Having encountered something similar sometime ago (not with PureOS) I rebooted the laptop and used my previous Kernel, linux-image-4.19.0-2-amd64. After doing so all was well with regard to LUKS.
I still had a problem with VMware Workstation where it asked for linux-headers-4.19.0-5-amd64. I presume this was because, even though they exist on the laptop, I was running linux-image-4.19.0-2-amd64. To stop the LUKS issue reoccurring I removed the linux-image-4.19.0-5-amd64 (apt remove --purge linux-image-4.19.0-5-amd64). I intended to address the LUKS issue later.
Now, when I open VMware Workstation I’m advised “Kernel Headers 4.19.0-2-amd64” were not found. As I understand, the headers should reside in “/usr/src/”. However this location only has Linux Headers relating to 4.19.0-5. Why is there no 4.19.0-2 header files? I have looked for them in the PureOs repo, but they are not found. I only find 4.19.0-5 & 4.19.0-6. I know I can get them else where, but I’m rather hesitant to proceed without having more info.
As you will have gathered from my description above, I’m far from a Linux specialist, so any assistance would be most welcome. I think if I get the Kernel Headers for 4.19.0-2 sorted VMware Workstation will ask for 4.19.0-5, but I will move on to that later.