执行此操作时apt-get upgrade
,有时会收到一条消息,指出“以下软件包已保留”。例如:
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
linux-headers-server linux-image-server linux-server
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
这到底是什么意思?显然,这些软件包已被保留并且没有安装,但是为什么呢?
接下来的问题是:如何升级这些保留的软件包?