我正在尝试在 Ubuntu 16.10 上安装 Click 和其他工具来管理 Ubuntu 手机。具体来说,我希望安装软件包click
和phablet-tools
。当我尝试执行此操作时,我得到以下终端输出:
>sudo apt-get -y install python3-click-package
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:
python3-click-package : Depends: gir1.2-click-0.4 (= 0.4.43+16.04.20160203-0ubuntu2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我已经运行了以下命令但仍然看到问题:
sudo apt-get autoremove
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install -f
答案1
正如这里所说的16.04 点击未满足的依赖项执行命令。
sudo apt install python3-click-package=0.4.43+16.04.20160203-0ubuntu2 gir1.2-click-0.4=0.4.43+16.04.20160203-0ubuntu2 libclick-0.4-0=0.4.43+16.04.20160203-0ubuntu2