首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法安装libapache2- mod -fcgid apache mod

无法安装libapache2- mod -fcgid apache mod
EN

Stack Overflow用户
提问于 2014-08-29 23:09:09
回答 1查看 3.3K关注 0票数 1

您好,我试图安装libapache2- mod -fcgid mod,但总是得到错误。

代码语言:javascript
复制
root@mail:~# sudo apt-get install libapache2-mod-fcgid
Reading package lists... Done
Building dependency tree
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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libapache2-mod-fcgid : Depends: apache2.2-common but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

没有fcgid mod我就不能启动apache服务器。

代码语言:javascript
复制
root@mail:~# service apache2 restart
 * Restarting web server apache2                                         [fail]
 * The apache2 configtest failed.
Output of config test was:
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/fcgid.load: Cannot load /usr/lib/apache2/modules/mod_fcgid.so into server: /usr/lib/apache2/modules/mod_fcgid.so: cannot open shared object file: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.

apache 2.4版

EN

回答 1

Stack Overflow用户

发布于 2016-01-07 04:36:07

我知道现在回复有点晚了,但是,因为还没有答案,所以我会给出一个答案。

在这种情况下,不满足来自libapache2-mod-fcgid的依赖项。在这种情况下,您可以在安装libapache2-mod-fcgid之前下载并安装apache2.2-common,如下所示:

代码语言:javascript
复制
sudo apt-get install apache2.2-common

然后尝试您的install命令。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/25571129

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档