gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 18:46:55 24 4
gpt4 key购买 nike

我在安装 libapache2-mod-fastcgi 模块时遇到问题,这是我在 Apache 中使用 PHP-FPM 所必需的。当我尝试使用此命令安装时

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

我的 sources.list 看起来像这样
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 .它应该可以解决问题。

关于php - 在 ubuntu 14.04 中安装 libapache2-mod-fastcgi,包不可用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31531772/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com