树莓派论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 1826|回复: 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 都尝试过,没效果


回复

使用道具 举报

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

本版积分规则

小黑屋|手机版|Archiver|树莓派论坛 ( 粤ICP备15075382号-1  

GMT+8, 2024-11-25 14:20 , Processed in 1.109375 second(s), 25 queries , Gzip On.

Powered by Shumeipai.net! X3.2

© 2001-2015 树莓派论坛安全联盟

快速回复 返回顶部 返回列表