解决kernel headers报错

 

Make sure you have updated version

sudo apt-get update

Search for kernel version (optional)

apt-cache search linux-headers-$(uname -r)

Install linux-header package

sudo apt-get install linux-headers-$(uname -r)

 

如果报错,需要卸载无用的

sudo apt-get autoremove

你可能感兴趣的:(kernel)