我已经运行Ubuntu 12.04和Apache 2.2一段时间了,现在使用apache2-mpm-itk来为每个虚拟主机指定一个用户。
我已经将我的VPS升级到Apache 2.4.7附带的Ubuntu 14.04。 我刚刚试图安装apache2-mpm-itk,但我得到一些依赖性错误。
# apt-get install apache2-mpm-itk Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libapache2-mpm-itk The following NEW packages will be installed: apache2-mpm-itk libapache2-mpm-itk 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 11.2 kB of archives. After this operation, 94.2 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://mirrors.digitalocean.com/ubuntu/ trusty/universe libapache2-mpm-itk amd64 2.4.6-01-1 [9,718 B] Get:2 http://mirrors.digitalocean.com/ubuntu/ trusty/universe apache2-mpm-itk am d64 2.4.7-1ubuntu4 [1,458 B] Fetched 11.2 kB in 0s (298 kB/s) Selecting previously unselected package libapache2-mpm-itk. (Reading database ... 59657 files and directories currently installed.) Preparing to unpack .../libapache2-mpm-itk_2.4.6-01-1_amd64.deb ... Unpacking libapache2-mpm-itk (2.4.6-01-1) ... Selecting previously unselected package apache2-mpm-itk. Preparing to unpack .../apache2-mpm-itk_2.4.7-1ubuntu4_amd64.deb ... Unpacking apache2-mpm-itk (2.4.7-1ubuntu4) ... Setting up libapache2-mpm-itk (2.4.6-01-1) ... dpkg: error processing package libapache2-mpm-itk (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of apache2-mpm-itk: apache2-mpm-itk depends on libapache2-mpm-itk; however: Package libapache2-mpm-itk is not configured yet. dpkg: error processing package apache2-mpm-itk (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup erro r from a previous failure. Errors were encountered while processing: libapache2-mpm-itk apache2-mpm-itk E: Sub-process /usr/bin/dpkg returned an error code (1)
这是Ubuntu的全新安装,所以我不知道什么没有apport报告写入,因为错误信息表明它从以前的失败后续错误意味着我没有安装任何其他东西。
可以请帮我吗?
谢谢!
Ubuntu 14.04和Apache + mpm-itk似乎有一些问题。 尝试
a2dismod mpm_event apt-get -f install
看看你以前中断的安装如何继续干净。