如何降级smbclient

我正在尝试降级smbclient,因为不再使用backuppc。 我已按照本文中的说明如何降级Ubuntu上的软件包? 但它似乎没有用。

我跑了

sudo apt-cache showpkg smbclient sudo apt-get install smbclient=2:4.1.6+dfsg-1ubuntu2 

但这没有任何作用。 smbclient版本仍然是版本4.3.9-Ubuntu。

我试过清除smbclient然后重新安装。 这导致未满足的依赖性。

 vagrant@vagrant-ubuntu-trusty-64:~$ sudo apt-get install smbclient=2:4.1.6+dfsg-1ubuntu2 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: smbclient : Depends: samba-common (= 2:4.1.6+dfsg-1ubuntu2) but 2:4.3.9+dfsg-0ubuntu0.14.04.1 is to be installed Depends: samba-libs (= 2:4.1.6+dfsg-1ubuntu2) but 2:4.3.9+dfsg-0ubuntu0.14.04.1 is to be installed E: Unable to correct problems, you have held broken packages. vagrant@vagrant-ubuntu-trusty-64:~$ sudo apt-get install smbclient=2:4.1.6+dfsg-1ubuntu2 samba-common=2:4.1.6+dfsg-1ubuntu2 samba-libs=2:4.1.6+dfsg-1ubuntu2 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: smbclient : Depends: samba-libs (= 2:4.1.6+dfsg-1ubuntu2) but 2:4.3.9+dfsg-0ubuntu0.14.04.1 is to be installed E: Unable to correct problems, you have held broken packages. vagrant@vagrant-ubuntu-trusty-64:~$ 

有关如何使其工作的任何想法?

 sudo aptitude install smbclient=2:4.1.6+dfsg-1ubuntu2 

典型! 经过几个小时的搜索,我在发布问题后2分钟找到答案。 Aptitude负责依赖。 我没有意识到apt-get不会这样做。