![以下软件包具有未满足的依赖项:python-samba:依赖:samba-libs](https://linux22.com/image/1142482/%E4%BB%A5%E4%B8%8B%E8%BD%AF%E4%BB%B6%E5%8C%85%E5%85%B7%E6%9C%89%E6%9C%AA%E6%BB%A1%E8%B6%B3%E7%9A%84%E4%BE%9D%E8%B5%96%E9%A1%B9%EF%BC%9Apython-samba%EF%BC%9A%E4%BE%9D%E8%B5%96%EF%BC%9Asamba-libs.png)
G50:~$ sudo apt-get install software-center
sudo: unable to resolve host unknown-G50
Reading package lists... Done
Building dependency tree
Reading state information... Done
software-center is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
python-samba : Depends: samba-libs (= 2:4.3.11+dfsg-0ubuntu0.14.04.1) but 2:4.3.11+dfsg-0ubuntu0.14.04.2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
答案1
请阅读错误日志。它说尝试
apt-get -f install
添加sudo
以管理员身份运行。这将解决问题。