在ubuntu 14.04中安装libapache2-mod-fastcgi,软件包不可用


Installing libapache2-mod-fastcgi in ubuntu 14.04, package not available

我在安装libapache2-mod-fastcgi模块时遇到了麻烦,这是为了让我使用PHP-FPM与Apache。当我尝试使用这个命令

安装时
sudo apt-get install libapache2-mod-fastcgi

导致这个错误。

Package libapache2-mod-fastcgi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'libapache2-mod-fastcgi' has no installation candidate

我的来源。列表看起来像这样

deb http://archive.ubuntu.com/ubuntu trusty main restricted universe
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe
deb http://security.ubuntu.com/ubuntu trusty-security main restricted universe $
deb http://archive.canonical.com/ubuntu trusty partner
## modifications made here will not survive a re-bundle.
## a.) add 'apt_preserve_sources_list: true' to /etc/cloud/cloud.cfg
## b.) add sources in /etc/apt/sources.list.d
#
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
deb http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty main

## distribution.
deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates main
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## review or updates from the Ubuntu security team.
deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates universe

我已经尝试遵循这里列出的方向,但当我运行sudo apt-get update时,我只是得到错误,所以我删除了这些存储库,因为它没有区别,我仍然无法安装模块,它没有抓取任何东西

尝试在您的sources.list,然后apt-get updatesudo apt-get update中添加多元宇宙。