安装Python-tk时一直报以下错误:
The following packages have unmet dependencies: libreoffice : Depends: libreoffice-base but it is not going to be installed Depends: libreoffice-core (= 1:5.3.3~rc2-0ubuntu0.16.04.1~lo0) but 1:5.1.6~rc2-0ubuntu1~xenial1 is to be installed
执行以下命令修复一下:
sudo apt-get -f install
更新命令(如果不能修复,再更新下):
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
再安装:
sudo apt-get install python-tk