碰到了我之前安装在Ubuntu的依赖错误

我试着运行apt-get更新并以下面的方式安装php5-curl。

root@ubuntu:/home/thinkcloud# apt-get install php5-curl 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: swftools : Depends: libart-2.0-2 (>= 2.3.18) but it is not going to be installed Depends: libgif4 (>= 4.1.4) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). root@ubuntu:/home/thinkcloud# 

这swftools依赖性重复到我试过的任何安装。 我怎么能清除这个?

你总是可以简单地清除它。

apt-get purge swftoolsdpkg -P swftools应该这样做。 由于系统处于故障状态,您可能必须直接使用dpkg。