git升级中的问题

git升级中的问题

当我在 ubuntu 10.04 中运行升级时,结果是

~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  git git-all git-arch git-cvs git-daemon-run git-email git-gui git-man git-svn gitk gitweb linux-generic linux-headers-generic linux-image-generic ubufox
0 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.

为什么有些软件包没有升级?

答案1

如果你使用

sudo apt-get dist-upgrade

这些包应该被强制更新。

dist-upgrade将安装所有待处理的更新及其新依赖项。如果出于某种原因,您不想这样做,则应改用apt-get install package-name dependency-package-name

相关内容