我尝试运行 apt-get update 并以以下方式安装 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 依赖项都会重复出现。我该如何清除它?
答案1
您可以随时简单地清除它。
要么这样做apt-get purge swftools
,要么dpkg -P swftools
就这样做。由于您的系统处于损坏状态,您可能需要直接使用 dpkg。