在Ubuntu 12.04 LTS

时间:2015-11-14 16:25:58

标签: ubuntu-12.04

我想在安装在Linode Cloud主机命令中的Ubuntu 12.04 LTS(最新64位(4.1.5-x86_64-linode61))中安装内核头文件来安装vagrant, 但我无法找到已安装的标题。没有信息输入:

root@localhost:~# dpkg -l | grep linux-headers
root@localhost:~# 

我也尝试过使用

root@localhost:~# sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-headers-4.1.5-x86_64-linode61
E: Couldn't find any package by regex 'linux-headers-4.1.5-x86_64-linode61'

1 个答案:

答案 0 :(得分:0)

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