profile5 发表于 2016-12-16 23:25:07

安装php5-fpm失败

各位大牛,      刚刚接触万博网页版登陆页派,很多地方不明白,现在碰到个棘手的问题,求解决:
安装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 都尝试过,没效果


页: [1]
查看完整版本: 安装php5-fpm失败