查看: 1625|回复: 0
收起左侧

[求助] 安装php5-fpm失败

2016-12-16 23:25:07 | 显示全部楼层 |阅读模式
各位大牛,      刚刚接触树莓派,很多地方不明白,现在碰到个棘手的问题,求解决:
安装PHP5-fpm的时候报错,更换apt-get源也依然不行,请大家帮帮小弟:
pi@raspberrypi:~$ sudo apt-get install php5-fpm
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:
libreadline6 : Depends: readline-common but it is not going to be installed
libssl1.0.0 : Depends: debconf (>= 0.5) but it is not going to be installed or
                        debconf-2.0
logrotate : Depends: cron or
                      anacron but it is not going to be installed or
                      cron-daemon
             Recommends: mailx
php5-fpm : Depends: php5-common (= 5.4.45-0+deb7u5) but it is not going to be installed
            Depends: ucf but it is not going to be installed
            Depends: tzdata but it is not going to be installed
            PreDepends: dpkg (>= 1.16.1~) but it is not going to be installed
sysv-rc : Depends: debconf (>= 0.5) but it is not going to be installed or
                    debconf-2.0
x11-common : Depends: debconf (>= 0.5) but it is not going to be installed or
                       debconf-2.0
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
其中/etc/apt/source.list内容如下:
pi@raspberrypi:~$ cat /etc/apt/sources.list
deb http://mirrors.aliyun.com/raspbian/raspbian/ wheezy main non-free contrib

#deb http://mirror.cqu.edu.cn/raspbian/raspbian/ wheezy main contrib non-free

#http://mirrors.cqu.edu.cn/Raspbian/raspbian/

#deb http://mirrors.cqu.edu.cn/Raspbian/raspbian/

#deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rp


环境为:树莓派3 + rasbian(2016-11-25)
apt-get update , upgrade 都尝试过,没效果


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

楼主其他主题

热点推荐

关注我们,了解更多

官方微信

服务时间:10:00-16:00

13714503811

公司地址:深圳市龙岗区南湾街道东门头路8号

Copyright © 2012-2020 Powered by 树莓派论坛 2019.4  粤ICP备15075382号-1
快速回复 返回列表 返回顶部