当我使用 VBoxManage 创建虚拟机时,系统提示我需要安装 linux-headers-generic。因此我尝试sudo apt-get install linux-headers-standard
获取此消息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-standard
https://www.tecmint.com/install-kernel-headers-in-ubuntu-and-debian/提出了另一种方法来实现这一点:
sudo apt install linux-headers-$(uname -r)
不幸的是,这也不起作用。以下是我得到的结果:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-4.19.128-microsoft-standard
E: Couldn't find any package by glob 'linux-headers-4.19.128-microsoft-standard'
有任何想法吗?