1 (edited by Aca 2014-10-18 16:50:21)

Topic: Installing troubles (php-apc install failed)

======== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Debian 7 Wheezy amd64
- Related log if you're reporting an issue:
====

Hello everyone!

I need your help, I was installing iRedMail on my VPS (3GB RAM, 2 cores, 150GB HDD)  hours ago and anything was setup correctly. But when I was finishing installation at "< Question > Use it for mail server setting? [y|N]" I hit Y and press enter, like every other installation witch need confirm... And after that, it showed me this:
The following packages have unmet dependencies:

php-apc : Depends: phpapi-20100525
E: Unable to correct problems, you have held broken packages.
< ERROR > Installation failed, please check the terminal output.


I tried to install php-apc manualy - apt-get install php-apc and it requires virtual package phpapi-20100525.

But installation of this phpapi failed every time, when I was trying to do it... It shows me this error:
Package phpapi-20100525 is a virtual package provided by:
  php5-fpm 5.4.4-14+deb7u14 [Not candidate version]
  php5-cli 5.4.4-14+deb7u14 [Not candidate version]
  php5-cgi 5.4.4-14+deb7u14 [Not candidate version]
  libphp5-embed 5.4.4-14+deb7u14 [Not candidate version]
  libapache2-mod-php5filter 5.4.4-14+deb7u14 [Not candidate version]
  libapache2-mod-php5 5.4.4-14+deb7u14 [Not candidate version]
  php5-fpm 5.4.4-14+deb7u11 [Not candidate version]
  php5-cli 5.4.4-14+deb7u11 [Not candidate version]
  php5-cgi 5.4.4-14+deb7u11 [Not candidate version]
  libphp5-embed 5.4.4-14+deb7u11 [Not candidate version]
  libapache2-mod-php5filter 5.4.4-14+deb7u11 [Not candidate version]
  libapache2-mod-php5 5.4.4-14+deb7u11 [Not candidate version]

E: Package 'phpapi-20100525' has no installation candidate


I installed all this packages manualy by every single command apt-get install for all this packages individually.. But I have on my VPS php 5.5.17 and this need php 5.4.4 but I don't want to downgrade php...

Can someone help me/tell me how to fix this problem?

Thanks for ALL answers! 
    Sincerely, Aca

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Installing troubles (php-apc install failed)

Do you have any third-party apt repositories enabled? Or just Debian official apt repositories?  Show me file content of /etc/apt/sources.list please.

3

Re: Installing troubles (php-apc install failed)

No problem, here is my sources.list:

# deb http://mirror.ox.ac.uk/debian wheezy main

deb http://mirror.ox.ac.uk/debian wheezy main
deb-src http://mirror.ox.ac.uk/debian wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
deb http://mirror.ox.ac.uk/debian wheezy-updates main
deb-src http://mirror.ox.ac.uk/debian wheezy-updates main

# php5.5
deb http://packages.dotdeb.org wheezy-php55 all
deb-src http://packages.dotdeb.org wheezy-php55 all

4

Re: Installing troubles (php-apc install failed)

iRedMail uses OFFICIAL debian apt repositories, please disable all third-party repos before installing iRedMail.

5 (edited by Aca 2014-10-20 01:57:14)

Re: Installing troubles (php-apc install failed)

If you are talking about unofficial debain apt repositories, what do you mean?
Do you mean this part of sources.list:

# php5.5
deb http://packages.dotdeb.org wheezy-php55 all
deb-src http://packages.dotdeb.org wheezy-php55 all

If I remember, I didn't use unofficial debian apt repos. I think...

6

Re: Installing troubles (php-apc install failed)

Aca wrote:

Do you mean this part of sources.list:

# php5.5
deb http://packages.dotdeb.org wheezy-php55 all
deb-src http://packages.dotdeb.org wheezy-php55 all

Yes. Please disable this repo and try again.

7

Re: Installing troubles (php-apc install failed)

Hello, I update sources.list (I added # and I made comments of php5.5 repo).
I started installation again, with new configuration and after that, when I wrote y to <Question>, iRedMail started to installing all required packages and it showed me this error: http://pastebin.com/Qfqp7aTM (Yeah, I moved my error log from putty to pastebin, because there (on forum) it makes new post really long. And we don't need long post.. (My idead..)

8

Re: Installing troubles (php-apc install failed)

You need to uninstall all prior installed php5 packages since the once you have installed is php version 5.5 and the version of php in Debian Wheezy is version 5.4.