今天一直弹出如下错误提示:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
发现是已经安装了相关包或者安装的包已经损坏了。于是通过"sudo apt-get remove "+包名称(如果你不知道具体安装了什么的情况下,最好使用tab出来)
下图以gcc为例,我之前通过update系列命令安装了gcc。
再次安装。
安装gcc完成。