Ubuntu 22.04。升级会安装新的 linux-headers 等。它们是必要的吗?

Ubuntu 22.04。升级会安装新的 linux-headers 等。它们是必要的吗?

我试了一下sudo apt update,它说有些东西需要升级,所以我试了一下upgrade,输出如下。它说将安装以下新软件包,并将使用额外的 560MB。如果它们是“新的”而不是“升级的”,那么为什么它要安装新软件包,而我只是想更新系统?

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-5.15.0-30 linux-headers-5.15.0-30-generic
  linux-image-5.15.0-30-generic linux-modules-5.15.0-30-generic
  linux-modules-extra-5.15.0-30-generic
The following packages will be upgraded:
  apport libldap-2.5-0 libldap-common libpcre3 libssl3 libxml2 linux-firmware
  linux-generic linux-headers-generic linux-image-generic needrestart openssl
  python3-apport python3-problem-report python3-software-properties
  software-properties-common
16 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 351 MB/352 MB of archives.
After this operation, 559 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

答案1

当前安装的软件包linux-genericlinux-headers-generic等正在升级。

升级的一部分涉及安装新版本的内核。名称为 的软件包linux-image-5.15.0-30-generic与新版本的内核一起提供。

相关内容