1

こんにちは、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.

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 バージョン 2.4

4

1 に答える 1

0

お返事が遅くなってしまいましたが、まだお返事がないので載せておきます。

この状況では、依存関係libapache2-mod-fcgidが満たされていません。この場合、次のようにインストールするapache2.2-common前にダウンロードしてインストールできます。libapache2-mod-fcgid

sudo apt-get install apache2.2-common

その後、インストールコマンドを試してください。

于 2016-01-06T20:36:07.097 に答える