什么是aptitude“升级”在apt-get成功时在这里失败?

更新:添加why-not输出build议( why输出也)。

 # aptitude why-not libwbclient0 Unable to find a reason to remove libwbclient0.` `why` gives this reasoning. # aptitude why libwbclient0 i nagios-plugins-standard Recommends smbclient p smbclient Depends samba-libs (= 2:4.3.11+dfsg-0ubuntu0.14.04.11) p samba-libs Depends libwbclient0 (>= 2:4.0.3+dfsg1) 

为什么aptitude upgrade无法在apt-get upgrade愿意执行的情况下实际升级软件包? 据我所知,这两个命令在function上应该是一样的,但显然他们不同意。 任何人都可以解释如何find问题在这里,为什么它适用于一个命令,但不是另一个?

能力倾向

 # aptitude upgrade No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Need to get 0 B of archives. After unpacking 0 B will be used. 

apt-get的

 # apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: libwbclient0 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 30.0 kB of archives. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n]