每当我尝试安装任何软件时,都会出现以下错误。
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gcc-4.8 : Depends: cpp-4.8 (= 4.8.5-4ubuntu2) but it is not going to be installed
Depends: gcc-4.8-base (= 4.8.5-4ubuntu2) but it is not going to be installed
Depends: binutils (>= 2.25.90.20160101) but 2.15.92.0.2-14 is to be installed
Depends: libgcc-4.8-dev (>= 4.8.5-4ubuntu2) but it is not going to be installed
Depends: libcloog-isl4 (>= 0.17) but it is not going to be installed
gcc-5 : Depends: binutils (>= 2.26.1) but 2.15.92.0.2-14 is to be installed
libc6-dev : Breaks: binutils (< 2.20.1-1) but 2.15.92.0.2-14 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
答案1
我已通过重新安装该软件包解决了该问题binutils
。
现在它运行正常。