P
P
Pavel2014-04-20 22:04:25
PHP
Pavel, 2014-04-20 22:04:25

Trouble installing nginx+php-fpm?

Added repositories:
deb nginx.org/packages/debian wheezy nginx
deb-src nginx.org/packages/debian wheezy nginx
deb packages.dotdeb.org wheezy all
deb-src packages.dotdeb.org wheezy all
Also added keys :) I'm trying
to install :
apt-get install nginx php5-fpm php5-apc memcached php5-memcached php5-cli php5-common php5-intl php5-sqlite php5-cgi php5-gd mysql-server php5-curl php5-mysql
I get this:
mysql-server : Depends: mysql-server-5.6 but it is not going to be installed
nginx : Depends: libpcre3 (>= 8.10) but 8.02-1.1 is to be installed
Depends:
libdb5.1 but it is not installable
Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
Depends: libxml2 (>= 2.8.0) but 2.7.8.dfsg-2+squeeze8 is to be installed
php5-cli : Depends: libdb5.1 but it is not installable
Depends: libssl1.0.0 (>= 1.0.0) but it is not installable
Depends: libxml2 (>= 2.8.0) but 2.7.8.dfsg-2+squeeze8 is to be installed
Depends: libedit2 (>= 2.11-20080614-4) but 2.11-20080614-2 is to be installed
php5 -common : Depends: psmisc (>= 22.15-1~) but 22.11-1 is to be installed
php5-fpm : Depends: libdb5.1 but it is not installable
Depends : libssl1.0.0 (>= 1.0.0) but it is not installable
Depends: libxml2 (>= 2.8.0) but 2.7.8.dfsg-2+squeeze8 is to be installed
= 8c) but it is not going to be installed
php5-intl : Depends: libicu48 (>= 4.8-1) but it is not installable
php5-memcached : Depends: libmemcached11 but it is not going to be installed
Depends: libmemcachedutil2 but it is not going to be installed
Depends: libsasl2-2 (>= 2.1.24) but 2.1.23.dfsg1-7 is to be installed
php5-mysql : Depends: libmysqlclient18 (>= 5.5.24+dfsg-1) but it is not going to be installed
php5-sqlite : Depends: libsqlite3-0 (>= 3.7.4) but 3.7.3-1 is to be installed
E: Broken packages
How to solve?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
callback, 2014-04-20
@Ingg

Update (or install) dependency packages first

N
Nikita Gusakov, 2014-04-20
@hell0w0rd

And what's the problem with putting python-software-properties?

sudo apt-get install -y python-software-properties
sudo apt-add-repository -y ppa:ondrej/php5
sudo apt-add-repository -y ppa:nginx/stable
sudo apt-add-repository -y ppa:ondrej/mysql-5.6
sudo apt-get update
sudo apt-get install php5-fpm php5-cli php5-mysql mysql-server nginx

N
Nazar Mokrinsky, 2014-04-21
@nazarpc

What version of Debian do you have, exactly wheezy?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question