apt-get upgrade:为什么 lxc-docker 被保留?

apt-get upgrade:为什么 lxc-docker 被保留?

为什么 lxc-docker 被限制了?我还注意到,在 Docker 上运行的 Web 应用程序非常慢。有什么建议吗?

[lucas@production]/home/lucas$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  linux-image-3.16.0-28-generic
Use 'apt-get autoremove' to remove it.
The following packages have been kept back:
  lxc-docker
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
[lucas@production]/home/lucas$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  linux-image-3.16.0-28-generic
Use 'apt-get autoremove' to remove it.
The following packages have been kept back:
  lxc-docker
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

请注意,我已经运行了sudo apt-get dist-upgrade,但这并不能解决这个问题。因此,我认为我的问题不是这个问题

答案1

您可以进行lxc-docker以下特定升级:

sudo apt-get install lxc-docker

这应该可以覆盖任何阻碍升级的因素(除非手动持有的包,在这种情况下我们将其排除在外)。

相关内容