我试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]
当前安装的包
linux-generic
,linux-headers-generic
等正在升级中。该升级的一部分涉及安装新版本的内核。具有类似名称的软件包与
linux-image-5.15.0-30-generic
新版本的内核一起使用。