当出现类似这类错误: The following packages have unmet dependencies: python-dev : Depends: python (= 2.7.5-5ubuntu3) but 2.7.12-1~16.04 is to be installed Depends: libpython-dev (= 2.7.5-5ubuntu3) but it is not going to be installed Depends: python2.7-dev (>=…
root@ubuntu:~# apt-get install open-iscsiReading package lists... DoneBuilding dependency treeReading state information... Doneopen-iscsi is already the newest version (2.0.873+git0.3b4b4500-14ubuntu3.4).You might want to run 'apt-get -f install' to…
错误命令行 root@ubuntu:/etc/apt# apt install vim 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 usi…
安装vpn遇到以下问题: 显示flinux print util和openconnect存在依赖库的冲突 此时尝试安装新的tk.vpnc-scripts.libopenconnect5,尝试apt-get upgrade也失败,又不敢卸载冲突的库,因为它很可能是系统组件的一部分 按照错误提示的,执行apt-get -f install (注意install后不跟任何包名!) sudo apt-get -f install 错误解决…
虽然目前没太弄清这到底是怎么回事,但是暂时可以给出一个解决的方法, 如果在安装任何软件都会出现这个问题,那么尝试着输入sudo apt-get install -f试一下. 在该命令执行完成后,我这边再安装软件就不再提示有依赖问题了.…
在ubuntu14.04上用sudo apt-get install percona-xtrabackup安装xtrabackup时提示 zhj@my-SERVER:~$ sudo apt-get install percona-xtrabackup [sudo] password for zhj: Reading package lists... Done Building dependency tree Reading state information... Done You might…
安装pip3遇到:E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 具体如下: 尝试了:sudo apt-get -f install 不行,最后试了一下,发现安装所有软件都会出现这个问题. 解决方法:sudo apt-get --fix-broken install安装之后就可以安装其他软件了.…
转自:http://blog.sina.com.cn/s/blog_4980828b0100zicn.html 安装错误:“E: Unmet dependencies.”原因:非正常停止apt-get install * 错误提示:E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution) 解决方法:sudo apt-get --fix-broken install…
在错误后面运行以下代码,补全依赖项: sudo apt-get -f install…
在Ubuntu中安装软件的时候经常碰到E: Unable to correct problems, you have held broken packages.的错误,顾名思义是因为某些软件包冲突导致,幸运的话sudo apt-get update && sudo apt-get upgrade 可以解决,但这种情况属于可遇不可求,更多的适合这么做不济于事.这样一来如何彻底解决就成了一个问题,经过多次摸索之后,将可行的解决方法记录如下: 以安装libxml2-dev时错误为例,安装时提示如…