hello i trying to install libapache2-mod-fcgid mod but have always get error.
你好,我试图安装libapache2-mod-fcgid mod,但总是出错。
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.
and without fcgid mod i cannot launch apache server
没有fcgid mod,我不能启动apache服务器。
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 version 2.4
apache 2.4版本
1 个解决方案
#1
0
I know it is a bit late for a response but, since there is no answer yet, I'll put one.
我知道现在回复有点晚,但是,既然还没有答案,我就写一个。
In this situation, the dependencies from libapache2-mod-fcgid
are not met. In this case, you could download and install apache2.2-common
prior the installation of libapache2-mod-fcgid
like this:
在这种情况下,不会满足libapache2-mod-fcgid的依赖关系。在这种情况下,您可以在安装libapache2-mod-fcgid之前下载并安装apache2.2-common:
sudo apt-get install apache2.2-common
and then try your install command afterward.
然后在之后尝试安装命令。
#1
0
I know it is a bit late for a response but, since there is no answer yet, I'll put one.
我知道现在回复有点晚,但是,既然还没有答案,我就写一个。
In this situation, the dependencies from libapache2-mod-fcgid
are not met. In this case, you could download and install apache2.2-common
prior the installation of libapache2-mod-fcgid
like this:
在这种情况下,不会满足libapache2-mod-fcgid的依赖关系。在这种情况下,您可以在安装libapache2-mod-fcgid之前下载并安装apache2.2-common:
sudo apt-get install apache2.2-common
and then try your install command afterward.
然后在之后尝试安装命令。