apt-get Upgrade:為什麼 lxc-docker 被保留?

apt-get Upgrade:為什麼 lxc-docker 被保留?

為什麼 lxc-docker 被阻止?我還注意到我的 Web 應用程式在 Docker 上運行,速度相當慢。有什麼建議麼?

[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

這應該涵蓋阻礙升級的任何因素(除非手動保存的軟體包,我們在本例中排除了這些軟體包)。

相關內容