我一直尝试使用 apt-get 将我的 gcc 版本更新到 gcc-5 及以上版本,但我一直遇到此错误消息:
The following packages have unmet dependencies:
gcc-6 : Depends: binutils (>= 2.26.1) but 2.26-8ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
但是,当我尝试更新 binutils 时,系统提示我已使用最新版本。
sudo apt-get install binutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
binutils is already the newest version (2.26-8ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
有人能帮我解决这个问题吗?