由于未满足依赖关系,应用程序无法安装

由于未满足依赖关系,应用程序无法安装

我在 Linode 上运行 Apache。我最近转向了 Lighttpd 并删除了 Apache,现在每当我尝试安装任何应用程序时都会收到以下错误。

    ivineet:~# apt-get install subversion
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:
  libapache2-mod-php5: Depends: apache2-mpm-prefork (> 2.0.52) but it is not going to be installed or
                                apache2-mpm-itk but it is not going to be installed
  subversion: Depends: libsvn1 (= 1.6.12dfsg-6) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
ivineet:~#

答案1

根据输出提示,尝试执行apt-get -f install以解决依赖关系问题。修复后,再次安装 subversion 包应该就可以正常工作了。

相关内容