Apt automove 和问题

Apt automove 和问题

执行后sudo apt autoremove一切似乎都正常,除了这个错误:

Error! Your kernel headers for kernel 4.10.0-20-generic cannot be found.
Please install the linux-headers-4.10.0-20-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located

我该如何解决(如何安装上述软件包)?

(Ubuntu 17.04 64位,带有最新内核)

答案1

跑步sudo apt install linux-headers-4.10.0-20-generic

相关内容