我想要做什么?
正如标题所示,我正在尝试安装 Line 6 Toneport UX1 软件。
问题是什么?
sudo apt-get install linux-headers
当我到达提示我进入 Terminal 的步骤时本文,我面临着以下消息......
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers is a virtual package provided by:
linux-headers-3.5.0-27-lowlatency 3.5.0-27.30
linux-headers-3.5.0-26-lowlatency 3.5.0-26.28
linux-headers-3.5.0-25-lowlatency 3.5.0-25.25
linux-headers-3.5.0-24-lowlatency 3.5.0-24.23
linux-headers-3.5.0-23-lowlatency 3.5.0-23.22
linux-headers-3.5.0-22-lowlatency 3.5.0-22.21
linux-headers-3.5.0-21-lowlatency 3.5.0-21.19
linux-headers-3.5.0-18-lowlatency 3.5.0-18.18
linux-headers-3.5.0-27-generic 3.5.0-27.46
linux-headers-3.5.0-27 3.5.0-27.46
linux-headers-3.5.0-26-generic 3.5.0-26.42
linux-headers-3.5.0-26 3.5.0-26.42
linux-headers-3.5.0-25-generic 3.5.0-25.39
linux-headers-3.5.0-25 3.5.0-25.39
linux-headers-3.5.0-24-generic 3.5.0-24.37
linux-headers-3.5.0-24 3.5.0-24.37
linux-headers-3.5.0-23-generic 3.5.0-23.35
linux-headers-3.5.0-23 3.5.0-23.35
linux-headers-3.5.0-22-generic 3.5.0-22.34
linux-headers-3.5.0-22 3.5.0-22.34
linux-headers-3.5.0-21-generic 3.5.0-21.32
linux-headers-3.5.0-21 3.5.0-21.32
linux-headers-3.5.0-19-generic 3.5.0-19.30
linux-headers-3.5.0-19 3.5.0-19.30
linux-headers-3.5.0-18-generic 3.5.0-18.29
linux-headers-3.5.0-18 3.5.0-18.29
linux-headers-3.5.0-17-lowlatency 3.5.0-17.18
linux-headers-3.5.0-17-generic 3.5.0-17.28
linux-headers-3.5.0-17 3.5.0-17.28
You should explicitly select one to install.
E: Package 'linux-headers' has no installation candidate
我做了什么?
我查看了 linux-header 列表(例如sudo apt-get install linux-headers-3.5.0-27-lowlatency 3.5.0-27.30
及以后)并收到如下消息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package x.x.x-x.x
E: Couldn't find any package by regex 'x.x.x-x.x'
尽管这篇文章可能已经很老了,但我认为也许最后一句话E: Package 'linux-headers' has no installation candidate
意味着它们可能已经被删除了。
我的规格
- Ubuntu 12.10
- 操作系统类型:64位
答案1
啊,我不敢相信我错过了这个……
uname -r
该命令将显示要安装的版本。此后一切都非常简单。