ubuntu 16.04
1 2 3 4 5 6 7 8 9 10 | sudo apt-get upgrade Reading package lists… Done Building dependency tree Reading state information… Done The following packages have been kept back: ginn hplip hplip-data libgrip0 libhpmud0 libsane-hpaio libunity-2d-private0 libunity-core-5.0-5 linux-generic linux-headers-generic linux-image-generic printer-driver-hpcups printer-driver-hpijs unity unity-2d-common unity-2d-panel unity-2d-shell unity-2d-spread unity-common unity-services 0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded. |
是因为有部份packages的安装版比release版新而出现”The following packages have been kept back”这个问题,解决方法是使用
1 | apt-get -u dist-upgrade |
统一更新到发布的版本。这条命令会强制更新软件包到最新版本,并自动解决缺少的依赖包。