评论太长了

评论太长了

我正在尝试安装 4.13.0-26 的内核头,但它们似乎不可用(需要它们来安装 VMware Worksation 14)。

$ uname -r

4.13.0-26-generic

$ sudo apt-get install linux-headers-4.13.0-26-generic

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package linux-headers-4.13.0-26-generic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'linux-headers-4.13.0-26-generic' has no installation candidate

$ sudo apt-get install linux-headers-generic

Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-headers-generic is already the newest version (4.13.0.25.26).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

答案1

评论太长了

我的测试太长,无法在评论中写完,所以请原谅我打破传统,在答案中发布结果。稍后提醒我,我会删除此答案。

当前内核版本

$ uname -r
4.14.13-041413-generic

查找内核头 4.13.0-26

$ apt list linux-headers-4.13.0-26-generic
Listing... Done
linux-headers-4.13.0-26-generic/xenial-updates,xenial-security 4.13.0-26.29~16.04.2 amd64

安装内核头 4.13.0-26

$ sudo apt install linux-headers-4.13.0-26-generic
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-gcp-tools-4.10.0-1008 linux-gcp-tools-4.10.0-1009 linux-headers-4.10.0-38
  linux-headers-4.10.0-38-generic linux-headers-4.10.0-40
  linux-headers-4.10.0-40-generic linux-headers-4.4.0-101
  linux-headers-4.4.0-101-generic linux-headers-4.4.0-103
  linux-headers-4.4.0-103-generic linux-headers-4.4.0-98 linux-headers-4.4.0-98-generic
  linux-image-4.10.0-38-generic linux-image-4.10.0-40-generic
  linux-image-4.4.0-101-generic linux-image-4.4.0-103-generic
  linux-image-4.4.0-98-generic linux-image-extra-4.10.0-38-generic
  linux-image-extra-4.10.0-40-generic linux-image-extra-4.4.0-101-generic
  linux-image-extra-4.4.0-103-generic linux-image-extra-4.4.0-98-generic
  linux-signed-image-4.10.0-38-generic linux-signed-image-4.10.0-40-generic
  linux-tools-4.10.0-1008-gcp linux-tools-4.10.0-1009-gcp
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  linux-headers-4.13.0-26
The following NEW packages will be installed:
  linux-headers-4.13.0-26 linux-headers-4.13.0-26-generic
0 upgraded, 2 newly installed, 0 to remove and 34 not upgraded.
Need to get 11.4 MB of archives.
After this operation, 83.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

概括

在我的系统上,安装 4.13.0-26 Linux 头文件似乎没有问题。然而,已经报告了许多问题Ubuntu LTS 内核版本 4.13.0-26

相关内容